[issue1796] mercurial-1.3.1 fails to compile with -ansi on linux-gcc34
Sebastien Binet
mercurial-bugs at selenic.com
Fri Aug 14 09:05:37 UTC 2009
New submission from Sebastien Binet <binet at cern.ch>:
hi,
mercurial 1.3.1 fails to compile w/ -ansi on linux-gcc34.
the following patch addresses this issue:
diff -urN orig-mercurial-1.3.1/mercurial/osutil.c
mercurial-1.3.1/mercurial/osutil.c
--- orig-mercurial-1.3.1/mercurial/osutil.c 2009-07-23
19:58:06.000000000 +0200
+++ mercurial-1.3.1/mercurial/osutil.c 2009-08-14 10:49:48.000000000 +0200
@@ -23,7 +23,7 @@
# include <unistd.h>
#endif
-// some platforms lack the PATH_MAX definition (eg. GNU/Hurd)
+/* some platforms lack the PATH_MAX definition (eg. GNU/Hurd) */
#ifndef PATH_MAX
#define PATH_MAX 4096
#endif
cheers,
sebastien.
----------
files: mercurial-1.3.1-ansi.patch
messages: 10329
nosy: binet
priority: bug
status: unread
title: mercurial-1.3.1 fails to compile with -ansi on linux-gcc34
____________________________________________________
Mercurial issue tracker <mercurial-bugs at selenic.com>
<http://mercurial.selenic.com/bts/issue1796>
____________________________________________________
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mercurial-1.3.1-ansi.patch
Type: text/x-patch
Size: 468 bytes
Desc: not available
Url : http://selenic.com/pipermail/mercurial-devel/attachments/20090814/fc3e6e01/attachment.bin
More information about the Mercurial-devel
mailing list