projects
/
gnulib.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tests for module 'logbl'.
[gnulib.git]
/
lib
/
chdir-long.h
diff --git
a/lib/chdir-long.h
b/lib/chdir-long.h
index
a0a4432
..
51db5a8
100644
(file)
--- a/
lib/chdir-long.h
+++ b/
lib/chdir-long.h
@@
-1,5
+1,5
@@
/* provide a chdir function that tries not to fail due to ENAMETOOLONG
/* provide a chdir function that tries not to fail due to ENAMETOOLONG
- Copyright (C) 2004-2005, 2009-201
0
Free Software Foundation, Inc.
+ Copyright (C) 2004-2005, 2009-201
2
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
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
@@
-19,11
+19,7
@@
#include <unistd.h>
#include <limits.h>
#include <unistd.h>
#include <limits.h>
-#ifndef PATH_MAX
-# ifdef MAXPATHLEN
-# define PATH_MAX MAXPATHLEN
-# endif
-#endif
+#include "pathmax.h"
/* On systems without PATH_MAX, presume that chdir accepts
arbitrarily long directory names. */
/* On systems without PATH_MAX, presume that chdir accepts
arbitrarily long directory names. */