projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Make it possible to use a locally augmented gnulib.
[gnulib.git]
/
m4
/
getcwd-path-max.m4
diff --git
a/m4/getcwd-path-max.m4
b/m4/getcwd-path-max.m4
index
4bc8ab7
..
3d0af87
100644
(file)
--- a/
m4/getcwd-path-max.m4
+++ b/
m4/getcwd-path-max.m4
@@
-1,4
+1,4
@@
-#serial 1
1
+#serial 1
2
# Check for several getcwd bugs with long file names.
# If so, arrange to compile the wrapper function.
# Check for several getcwd bugs with long file names.
# If so, arrange to compile the wrapper function.
@@
-157,8
+157,8
@@
main ()
{
size_t i;
{
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)
for (i = 0; i <= n_chdirs; i++)
{
if (chdir ("..") < 0)