projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
document :source command for GHCi, point to Haskell wiki
[ghc-hetmet.git]
/
utils
/
lndir
/
lndir.c
diff --git
a/utils/lndir/lndir.c
b/utils/lndir/lndir.c
index
6cc240a
..
22f1e30
100644
(file)
--- a/
utils/lndir/lndir.c
+++ b/
utils/lndir/lndir.c
@@
-176,7
+176,7
@@
int copyfile(const char *oldpath, const char *newpath) {
char buf[BUFSIZE];
#ifdef SYMLINKS
char buf[BUFSIZE];
#ifdef SYMLINKS
- if (copy) {
+ if (copy == 0) {
return symlink(oldpath, newpath);
} else {
#endif
return symlink(oldpath, newpath);
} else {
#endif