darcs

Patch 1682 fix Darcs.Util.Index on Win32

Title fix Darcs.Util.Index on Win32
Superseder Nosy List
Related Issues
Status accepted Assigned To
Milestone 2.14.0

Created on 2018-04-02.15:01:26 by ganesh, last changed 2018-04-03.20:46:54 by gh.

Files
File name Status Uploaded Type Edit Remove
fix-build-of-darcs_util_index-on-win32.dpatch ganesh, 2018-04-02.15:01:26 application/octet-stream
fix-build-on-linux-_-it-was-broken-by-the-previous-windows-warnings-fixes.dpatch ganesh, 2018-04-02.18:55:38 application/octet-stream
See mailing list archives for discussion on individual patches.
Messages
msg20097 (view) Author: gh Date: 2018-04-02.17:23:03
Under Linux:

[ 62 of 224] Compiling Darcs.Util.Index ( src/Darcs/Util/Index.hs,
dist/build/Darcs/Util/Index.o )

src/Darcs/Util/Index.hs:557:36: error:
    • Variable not in scope: fileID :: a0 -> FileID
    • Perhaps you meant one of these:
        ‘F.fileID’ (imported from System.Posix.Files),
        ‘_fileIDs’ (line 308), ‘iFileID’ (line 184)
    |
557 |                       then (Just . fileID) <$>
getSymbolicLinkStatus fp
    |                                    ^^^^^^

src/Darcs/Util/Index.hs:557:48: error:
    • Variable not in scope: getSymbolicLinkStatus :: FilePath -> IO a0
    • Perhaps you meant ‘F.getSymbolicLinkStatus’ (imported from
System.Posix.Files)
    |
557 |                       then (Just . fileID) <$>
getSymbolicLinkStatus fp
    |                                                ^^^^^^^^^^^^^^^^^^^^^
msg20098 (view) Author: ganesh Date: 2018-04-02.18:43:09
Aargh, sorry. Forgot to re-check that, will fix now.
msg20105 (view) Author: gh Date: 2018-04-03.20:46:54
Build has been fixed under Linux, I'm accepting both patches.
History
Date User Action Args
2018-04-02 15:01:26ganeshcreate
2018-04-02 17:23:04ghsetmessages: + msg20097
2018-04-02 18:43:09ganeshsetmessages: + msg20098
2018-04-02 18:55:38ganeshsetfiles: + fix-build-on-linux-_-it-was-broken-by-the-previous-windows-warnings-fixes.dpatch
2018-04-03 20:46:54ghsetstatus: needs-review -> accepted
messages: + msg20105