projects
/
ghc-hetmet.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Print warnings after doMkDependHS
[ghc-hetmet.git]
/
utils
/
lndir
/
lndir.c
diff --git
a/utils/lndir/lndir.c
b/utils/lndir/lndir.c
index
6cc240a
..
bfce2b5
100644
(file)
--- a/
utils/lndir/lndir.c
+++ b/
utils/lndir/lndir.c
@@
-43,6
+43,8
@@
in this Software without prior written authorization from the X Consortium.
% lndir ../X
*/
+#define NeedVarargsPrototypes 1
+
#include "lndir-Xos.h"
#include <stdlib.h>
#include <stdio.h>
@@
-176,7
+178,7
@@
int copyfile(const char *oldpath, const char *newpath) {
char buf[BUFSIZE];
#ifdef SYMLINKS
- if (copy) {
+ if (copy == 0) {
return symlink(oldpath, newpath);
} else {
#endif