Commit Graph
22888 Commits
Author SHA1 Message Date
Jim Meyering de39e47a40 (libfetish_a_SOURCES): Reflect name changes: chdir.[ch] -> chdir-long.[ch] 2004-11-30 14:47:08 +00:00
Jim Meyering e7acb8d8dd Include chdir-long.h rather than chdir.h.
(restore_cwd): Use chdir_long, not chdir.
2004-11-30 14:46:25 +00:00
Jim Meyering 34a8030d36 *** empty log message *** 2004-11-30 14:46:09 +00:00
Jim Meyering 8f3175736e [!defined PATH_MAX]: Define chdir_long to chdir on systems like the Hurd. 2004-11-30 14:45:28 +00:00
Jim Meyering 86c716db61 Renamed from chdir.h. 2004-11-30 14:35:46 +00:00
Jim Meyering 036728c2e8 Renamed from chdir.c. 2004-11-30 14:35:33 +00:00
Jim Meyering 2a807da972 *** empty log message *** 2004-11-30 14:24:55 +00:00
Jim Meyering d70691fc4b (O_DIRECTORY): Define, if necessary.
(memchrcspn): Tiny wrapper around memchr.
(rpl_chdir): Use memchrcspn rather than strcspn.
2004-11-30 14:24:40 +00:00
Jim Meyering f76c6fa030 *** empty log message *** 2004-11-28 22:43:11 +00:00
Jim Meyering 98be5b6685 (rpl_openat): Also accept optional mode parameter.
Adjust prototype
2004-11-28 22:42:08 +00:00
Jim Meyering 26b53ffffe (rpl_openat): Also accept optional mode parameter. 2004-11-28 22:41:57 +00:00
Jim Meyering fd6af25d9a Don't let error uses in #if-0'd code trigger `make distcheck' failure. 2004-11-28 22:24:38 +00:00
Jim Meyering c272386d5d (main): Appease the gods. 2004-11-28 21:29:16 +00:00
Jim Meyering 2fadd0587d . 2004-11-28 21:26:17 +00:00
Jim Meyering 62b271974b *** empty log message *** 2004-11-28 21:26:06 +00:00
Jim Meyering ee222ef744 Add lib/openat.c. 2004-11-28 21:26:02 +00:00
Jim Meyering b69fc7b949 *** empty log message *** 2004-11-28 21:13:59 +00:00
Jim Meyering bb4833e756 *** empty log message *** 2004-11-28 21:03:13 +00:00
Jim Meyering f039b8f8bf Include "chdir.h", so that if save_cwd/getcwd
saves a name longer than PATH_MAX, restore_cwd's chdir can use it.
2004-11-28 21:03:08 +00:00
Jim Meyering b174e49170 . 2004-11-28 21:01:03 +00:00
Jim Meyering 1fe6097208 *** empty log message *** 2004-11-28 20:55:38 +00:00
Jim Meyering 45eac4b408 *** empty log message *** 2004-11-28 20:55:05 +00:00
Jim Meyering 72dcf681bc (gl_MACROS): Require gl_FUNC_CHDIR. 2004-11-28 20:54:54 +00:00
Jim Meyering a67e741070 . 2004-11-28 20:52:04 +00:00
Jim Meyering 77eb2b6b8a *** empty log message *** 2004-11-28 20:51:57 +00:00
Jim Meyering d91b876d72 (libfetish_a_SOURCES): Add chdir.h and openat.h. 2004-11-28 20:51:46 +00:00
Jim Meyering fa871415f9 *** empty log message *** 2004-11-28 20:51:05 +00:00
Jim Meyering 79e2f2c1f9 *** empty log message *** 2004-11-28 20:50:26 +00:00
Jim Meyering 30df68dfe2 This is a robust version of chdir, in that it can handle directory
names longer than PATH_MAX.
2004-11-28 20:49:14 +00:00
Jim Meyering c373cdcf61 add another FIXME, to make it obvious 2004-11-28 20:49:04 +00:00
Jim Meyering 72287ac271 This is a robust version of chdir, in that it can handle directory
names longer than PATH_MAX.
2004-11-28 20:48:29 +00:00
Paul Eggert 1c42e10a79 * coreutils.texi (du invocation): Minor cleanups. 2004-11-27 09:37:42 +00:00
Paul Eggert 57fbaa8a74 (du invocation): Use if=/dev/null rather
than :|.  Problem reported by Dan Jacobson.
Use "seek=2GiB" rather than the wordier "seek=`echo '2^31'|bc`".
Say "KiB" not the (inaccurate) "kilobytes".
Similarly for "GiB" and "gigabytes".
2004-11-27 09:37:22 +00:00
Paul Eggert 6942c45d50 Regenerate. 2004-11-26 08:11:52 +00:00
Paul Eggert 06123d8639 Fix problem reported by Scott S. Tinsley for HP-UX 11.11 using
HP's ANSI C compiler.
2004-11-26 07:41:22 +00:00
Paul Eggert 03a690ddca Fix problems reported by Scott S. Tinsley for HP-UX 11.11 using
HP's ANSI C compiler.
2004-11-26 07:40:56 +00:00
Paul Eggert da741f89bd (MIN) [defined MIN]: Don't define, since it's already defined. 2004-11-26 07:40:41 +00:00
Paul Eggert cc08c826e9 (statvfs) [HAVE_SYS_STATVFS_H]: Remove decl.
Declaring int functions causes warnings on some modern systems and
shouldn't be needed to compile on ancient ones.
2004-11-26 07:40:23 +00:00
Paul Eggert d45902c31b (link, symlink): Remove decls. 2004-11-26 07:39:57 +00:00
Paul Eggert cef32c7c86 (stat): Remove decl. 2004-11-26 07:39:32 +00:00
Paul Eggert 2a3e586dee (stat, lstat, rename): Remove decls. 2004-11-26 07:39:14 +00:00
Paul Eggert 9c8b155e38 filesystems -> file systems 2004-11-26 07:27:45 +00:00
Jim Meyering 38bcbe928b remove SPACEs before TABs 2004-11-25 22:17:55 +00:00
Paul Eggert a7fab534e4 Recent getcwd fixes. 2004-11-25 20:05:15 +00:00
Paul Eggert 178c469a29 Recent getcwd fixes. 2004-11-25 20:04:39 +00:00
Paul Eggert bae2ff5ac8 (gl_XGETCWD): Replace with gl_FUNC_GETCWD, since
that's all we need now.
2004-11-25 20:02:20 +00:00
Paul Eggert 549aae50d2 (gl_PREREQ): Add gl_FUNC_MEMPCPY. 2004-11-25 20:01:08 +00:00
Paul Eggert 52e6017887 (gl_MACROS): Don't require GL_FUNC_GETCWD_PATH_MAX. 2004-11-25 19:29:36 +00:00
Paul Eggert fb95865e11 (gl_FUNC_GETCWD_NULL): Renamed from
AC_FUNC_GETCWD_NULL.  All used changed.  Change cache variable
name accordingly.
(gl_FUNC_GETCWD, gl_PREREQ_GETCWD): New macros.  Revamp to
accommodate new getcwd.c.
2004-11-25 19:28:28 +00:00
Paul Eggert 22c4a7e5c2 (gl_FUNC_GETCWD_PATH_MAX): Renamed from
GL_FUNC_GETCWD_PATH_MAX for consistency.  All uses changed.
Use the _ONCE methods, for efficiency.
Check for fcntl.h.  In test program, include <errno.h>
and <fcntl.h> if available.  Remove old K&R cruft from
test program.  Check for common errors in GNU/Linux,
OpenBSD, and Solaris.  Just set gl_cv_func_getcwd_path_max;
don't do AC_LIBOBJ, as that's getcwd.m4's job.
2004-11-25 19:26:50 +00:00