diff options
author | Claudio Fontana <sick_soul@users.sourceforge.net> | 2006-07-21 23:40:02 +0000 |
---|---|---|
committer | Claudio Fontana <sick_soul@users.sourceforge.net> | 2006-07-21 23:40:02 +0000 |
commit | 9a72ecd6dc36eab0497dc428d10a6ad1dd87a19a (patch) | |
tree | a528fd617cda36f619bc076429b0995bcda12e2c /m4/getcwd-path-max.m4 | |
parent | ee29ecd605b329c38ab4c6c6c89d6288693495de (diff) | |
download | idutils-9a72ecd6dc36eab0497dc428d10a6ad1dd87a19a.tar.gz idutils-9a72ecd6dc36eab0497dc428d10a6ad1dd87a19a.tar.bz2 idutils-9a72ecd6dc36eab0497dc428d10a6ad1dd87a19a.zip |
* upgraded gnulib
Diffstat (limited to 'm4/getcwd-path-max.m4')
-rw-r--r-- | m4/getcwd-path-max.m4 | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/m4/getcwd-path-max.m4 b/m4/getcwd-path-max.m4 index 5a6c43a..3d0af87 100644 --- a/m4/getcwd-path-max.m4 +++ b/m4/getcwd-path-max.m4 @@ -1,4 +1,4 @@ -#serial 10 +#serial 12 # Check for several getcwd bugs with long file names. # If so, arrange to compile the wrapper function. @@ -6,7 +6,7 @@ # I've heard that this is due to a Linux kernel bug, and that it has # been fixed between 2.4.21-pre3 and 2.4.21-pre4. */ -# Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc. +# Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. # This file is free software; the Free Software Foundation # gives unlimited permission to copy and/or distribute it, # with or without modifications, as long as this notice is preserved. @@ -61,7 +61,7 @@ AC_DEFUN([gl_FUNC_GETCWD_PATH_MAX], #define BUF_SLOP 20 int -main (void) +main () { #ifndef PATH_MAX /* The Hurd doesn't define this, so getcwd can't exhibit the bug -- @@ -157,8 +157,8 @@ main (void) { size_t i; - /* Unlink first, in case the chdir failed. */ - unlink (DIR_NAME); + /* Try rmdir first, in case the chdir failed. */ + rmdir (DIR_NAME); for (i = 0; i <= n_chdirs; i++) { if (chdir ("..") < 0) |