]> git.ipfire.org Git - thirdparty/gettext.git/commitdiff
Update after gnulib changed.
authorBruno Haible <bruno@clisp.org>
Sun, 7 Aug 2011 13:30:44 +0000 (15:30 +0200)
committerBruno Haible <bruno@clisp.org>
Sun, 7 Aug 2011 13:30:44 +0000 (15:30 +0200)
gnulib-local/ChangeLog
gnulib-local/lib/xgetcwd.c

index fef9430481a5c7fcd9d5902c200370211f210a74..5ce26ec4e65ff682ec5c6c251d154a64fdacb78f 100644 (file)
@@ -1,3 +1,8 @@
+2011-08-04  Bruno Haible  <bruno@clisp.org>
+
+       Update after gnulib changed.
+       * lib/xgetcwd.c (PATH_MAX): Provide a fallback value.
+
 2011-07-12  Bruno Haible  <bruno@clisp.org>
 
        Update after gnulib changed.
index 0b1016c55d29bc3591d7c1d9b15b35d615373bff..b2b8f0b6047c7e9bb5a5625baa612eec502ce12c 100644 (file)
@@ -1,5 +1,5 @@
 /* xgetcwd.c -- return current directory with unlimited length
-   Copyright (C) 1992, 1996, 2000, 2003, 2005-2006 Free Software Foundation, Inc.
+   Copyright (C) 1992, 1996, 2000, 2003, 2005-2006, 2011 Free Software Foundation, Inc.
 
    This program is free software: you can redistribute it and/or modify
    it under the terms of the GNU General Public License as published by
 
 #include "pathmax.h"
 
+/* In this file, PATH_MAX is the size of an initial memory allocation.  */
+#ifndef PATH_MAX
+# define PATH_MAX 8192
+#endif
+
 #if HAVE_GETCWD
 # ifdef VMS
    /* We want the directory in Unix syntax, not in VMS syntax.  */