Jim Meyering [Mon, 19 Apr 2004 18:58:24 +0000 (18:58 +0000)]
.
Jim Meyering [Mon, 19 Apr 2004 17:31:46 +0000 (17:31 +0000)]
*** empty log message ***
Jim Meyering [Mon, 19 Apr 2004 15:12:38 +0000 (15:12 +0000)]
*** empty log message ***
Jim Meyering [Mon, 19 Apr 2004 15:12:31 +0000 (15:12 +0000)]
Make pwd work even if the resulting name is so long that getcwd fails.
(path_free, path_init, path_prepend): New functions.
(nth_parent, find_dir_entry, robust_getcwd): New functions.
(main): First try getcwd, then, upon failure, robust_getcwd.
Jim Meyering [Mon, 19 Apr 2004 14:18:17 +0000 (14:18 +0000)]
(sc_trailing_blank): New rule.
(syntax-check-rules): Add it.
Jim Meyering [Mon, 19 Apr 2004 14:15:39 +0000 (14:15 +0000)]
remove trailing blanks
Jim Meyering [Mon, 19 Apr 2004 11:59:23 +0000 (11:59 +0000)]
remove trailing blanks
Jim Meyering [Mon, 19 Apr 2004 10:20:10 +0000 (10:20 +0000)]
*** empty log message ***
Jim Meyering [Sun, 18 Apr 2004 15:05:33 +0000 (15:05 +0000)]
*** empty log message ***
Jim Meyering [Sun, 18 Apr 2004 15:02:49 +0000 (15:02 +0000)]
(print_user): Use xrealloc here, rather than unchecked realloc.
Remove anachronistic casts.
Jim Meyering [Sun, 18 Apr 2004 14:58:56 +0000 (14:58 +0000)]
*** empty log message ***
Jim Meyering [Sun, 18 Apr 2004 14:58:51 +0000 (14:58 +0000)]
(full_filename_): Don't leak upon failed realloc.
Jim Meyering [Sun, 18 Apr 2004 13:40:50 +0000 (13:40 +0000)]
.
Jim Meyering [Sun, 18 Apr 2004 13:14:25 +0000 (13:14 +0000)]
(readdir_ignoring_dotdirs): Move function to system.h, renaming it. Update uses.
Jim Meyering [Sun, 18 Apr 2004 13:12:33 +0000 (13:12 +0000)]
*** empty log message ***
Jim Meyering [Sun, 18 Apr 2004 13:09:27 +0000 (13:09 +0000)]
(readdir_ignoring_dot_and_dotdot): New inline function, from remove.c.
Jim Meyering [Sat, 17 Apr 2004 19:09:55 +0000 (19:09 +0000)]
*** empty log message ***
Jim Meyering [Sat, 17 Apr 2004 19:09:51 +0000 (19:09 +0000)]
Depend on automake-1.8.3.
Jim Meyering [Sat, 17 Apr 2004 14:05:41 +0000 (14:05 +0000)]
*** empty log message ***
Jim Meyering [Sat, 17 Apr 2004 14:05:37 +0000 (14:05 +0000)]
(add_file_name): Declare function to be `static'.
Jim Meyering [Sat, 17 Apr 2004 14:02:00 +0000 (14:02 +0000)]
*** empty log message ***
Jim Meyering [Sat, 17 Apr 2004 14:01:56 +0000 (14:01 +0000)]
(ds_init, ds_free): Declare functions to be `static'.
Jim Meyering [Sat, 17 Apr 2004 14:00:26 +0000 (14:00 +0000)]
*** empty log message ***
Jim Meyering [Sat, 17 Apr 2004 14:00:20 +0000 (14:00 +0000)]
(string_to_join_field): Declare function to be `static'.
Jim Meyering [Sat, 17 Apr 2004 13:49:48 +0000 (13:49 +0000)]
*** empty log message ***
Jim Meyering [Sat, 17 Apr 2004 13:47:01 +0000 (13:47 +0000)]
*** empty log message ***
Jim Meyering [Sat, 17 Apr 2004 10:47:25 +0000 (10:47 +0000)]
*** empty log message ***
Jim Meyering [Sat, 17 Apr 2004 10:47:20 +0000 (10:47 +0000)]
(sc_prohibit_jm_in_m4): New rule.
(syntax-check-rules): Add to the list.
Jim Meyering [Fri, 16 Apr 2004 16:25:35 +0000 (16:25 +0000)]
*** empty log message ***
Jim Meyering [Thu, 15 Apr 2004 10:52:25 +0000 (10:52 +0000)]
*** empty log message ***
Jim Meyering [Thu, 15 Apr 2004 10:52:04 +0000 (10:52 +0000)]
Include getpagesize.h.
(main): Align I/O buffers to page boundaries.
Jim Meyering [Thu, 15 Apr 2004 10:50:07 +0000 (10:50 +0000)]
Include getpagesize.h.
(dopass): Align I/O buffers to page boundaries.
Jim Meyering [Thu, 15 Apr 2004 10:37:59 +0000 (10:37 +0000)]
Include getpagesize.h.
(copy_reg): Align I/O buffers to page boundaries.
Jim Meyering [Thu, 15 Apr 2004 09:12:25 +0000 (09:12 +0000)]
(gcd, lcm, ptr_align): New functions, moved from od.c.
Jim Meyering [Thu, 15 Apr 2004 09:12:01 +0000 (09:12 +0000)]
(gcd, lcm): Remove; now in system.h.
Jim Meyering [Thu, 15 Apr 2004 09:11:42 +0000 (09:11 +0000)]
(ROUND_UP_OFFSET, PTR_ALIGN): Remove.
All uses replaced by ptr_align.
Jim Meyering [Thu, 15 Apr 2004 09:10:54 +0000 (09:10 +0000)]
Include getpagesize.h.
(main): Align I/O buffers to page boundaries.
Jim Meyering [Wed, 14 Apr 2004 14:12:19 +0000 (14:12 +0000)]
.
Jim Meyering [Wed, 14 Apr 2004 14:11:59 +0000 (14:11 +0000)]
*** empty log message ***
Jim Meyering [Wed, 14 Apr 2004 14:11:31 +0000 (14:11 +0000)]
*** empty log message ***
Jim Meyering [Wed, 14 Apr 2004 14:11:25 +0000 (14:11 +0000)]
(AC_CONFIG_FILES): Remove m4/Makefile.in from the list.
Jim Meyering [Wed, 14 Apr 2004 14:11:06 +0000 (14:11 +0000)]
(SUBDIRS): Remove `m4' from the list.
Jim Meyering [Wed, 14 Apr 2004 11:23:33 +0000 (11:23 +0000)]
Remove file. With automake-1.8.3, it is no longer needed.
Jim Meyering [Wed, 14 Apr 2004 08:43:32 +0000 (08:43 +0000)]
.
Jim Meyering [Wed, 14 Apr 2004 08:41:18 +0000 (08:41 +0000)]
*** empty log message ***
Jim Meyering [Wed, 14 Apr 2004 08:41:15 +0000 (08:41 +0000)]
(cu_PREREQ_STAT_PROG): Don't use AC_CHECK_HEADERS to
check for inttypes.h. Instead, require gt_HEADER_INTTYPES_H.
Jim Meyering [Wed, 14 Apr 2004 08:35:45 +0000 (08:35 +0000)]
.
Jim Meyering [Wed, 14 Apr 2004 08:35:25 +0000 (08:35 +0000)]
undo last change -- all it did was change the serial number
Jim Meyering [Wed, 14 Apr 2004 08:29:19 +0000 (08:29 +0000)]
*** empty log message ***
Jim Meyering [Wed, 14 Apr 2004 08:29:04 +0000 (08:29 +0000)]
Require cu_PREREQ_STAT_PROG.
Jim Meyering [Wed, 14 Apr 2004 08:28:42 +0000 (08:28 +0000)]
Move prerequisite function for src/stat.c to stat-prog.m4.
Jim Meyering [Wed, 14 Apr 2004 08:27:42 +0000 (08:27 +0000)]
(cu_PREREQ_STAT_PROG): New file. Contents from prereq.m4.
Macro renamed from gl_PREREQ_STAT.
Jim Meyering [Tue, 13 Apr 2004 15:29:57 +0000 (15:29 +0000)]
.
Jim Meyering [Tue, 13 Apr 2004 15:29:44 +0000 (15:29 +0000)]
*** empty log message ***
Jim Meyering [Tue, 13 Apr 2004 15:29:33 +0000 (15:29 +0000)]
Change `jm_' in AC_DEFINE'd names to `gl_'.
Jim Meyering [Tue, 13 Apr 2004 15:28:45 +0000 (15:28 +0000)]
Change `jm_' in AC_DEFINE'd names to `gl_'. Update all uses.
Jim Meyering [Tue, 13 Apr 2004 14:01:46 +0000 (14:01 +0000)]
remove trailing blanks
Jim Meyering [Tue, 13 Apr 2004 09:05:06 +0000 (09:05 +0000)]
*** empty log message ***
Jim Meyering [Tue, 13 Apr 2004 09:04:58 +0000 (09:04 +0000)]
Remove trailing blanks.
Jim Meyering [Tue, 13 Apr 2004 09:03:11 +0000 (09:03 +0000)]
remove trailing blank
Jim Meyering [Mon, 12 Apr 2004 11:59:53 +0000 (11:59 +0000)]
*** empty log message ***
Jim Meyering [Mon, 12 Apr 2004 11:59:45 +0000 (11:59 +0000)]
Update from gnulib.
Jim Meyering [Mon, 12 Apr 2004 09:39:24 +0000 (09:39 +0000)]
.
Jim Meyering [Mon, 12 Apr 2004 09:31:47 +0000 (09:31 +0000)]
*** empty log message ***
Jim Meyering [Mon, 12 Apr 2004 09:31:41 +0000 (09:31 +0000)]
(jm_PREREQ): Require gl_UTIMECMP.
Jim Meyering [Mon, 12 Apr 2004 09:31:20 +0000 (09:31 +0000)]
From Paul Eggert.
Jim Meyering [Mon, 12 Apr 2004 09:31:04 +0000 (09:31 +0000)]
*** empty log message ***
Jim Meyering [Mon, 12 Apr 2004 09:30:57 +0000 (09:30 +0000)]
Include "utimecmp.h".
(copy_internal): Compare time stamps using utimecmp rather than
MTIME_CMP.
Jim Meyering [Mon, 12 Apr 2004 09:27:25 +0000 (09:27 +0000)]
*** empty log message ***
Jim Meyering [Mon, 12 Apr 2004 09:26:41 +0000 (09:26 +0000)]
*** empty log message ***
Jim Meyering [Mon, 12 Apr 2004 09:26:27 +0000 (09:26 +0000)]
From Paul Eggert.
Jim Meyering [Mon, 12 Apr 2004 09:26:01 +0000 (09:26 +0000)]
From Paul Eggert.
Jim Meyering [Mon, 12 Apr 2004 09:25:49 +0000 (09:25 +0000)]
*** empty log message ***
Jim Meyering [Mon, 12 Apr 2004 09:23:09 +0000 (09:23 +0000)]
(libfetish_a_SOURCES): Add utimecmp.c, utimecmp.h.
Jim Meyering [Mon, 12 Apr 2004 09:22:08 +0000 (09:22 +0000)]
*** empty log message ***
Jim Meyering [Mon, 12 Apr 2004 09:22:02 +0000 (09:22 +0000)]
(mv invocation): Document this.
(cp invocation): Document -u (it was missing!) with new behavior.
Jim Meyering [Mon, 12 Apr 2004 09:20:47 +0000 (09:20 +0000)]
cp -pu and mv -u (when copying) now take the destination
file system time stamp resolution into account.
Jim Meyering [Fri, 9 Apr 2004 12:15:49 +0000 (12:15 +0000)]
.
Jim Meyering [Fri, 9 Apr 2004 12:15:40 +0000 (12:15 +0000)]
*** empty log message ***
Jim Meyering [Fri, 9 Apr 2004 12:15:23 +0000 (12:15 +0000)]
Include "stat-macros.h".
Jim Meyering [Fri, 9 Apr 2004 12:15:15 +0000 (12:15 +0000)]
(file_type): Move all macro defiitions to new file, stat-macros.h.
Jim Meyering [Fri, 9 Apr 2004 12:13:57 +0000 (12:13 +0000)]
(libfetish_a_SOURCES): Add stat-macros.h.
Jim Meyering [Fri, 9 Apr 2004 12:13:37 +0000 (12:13 +0000)]
New file, with contents from file-type.h and coreutils' system.h.
Jim Meyering [Fri, 9 Apr 2004 12:05:45 +0000 (12:05 +0000)]
Include stat-macros.h, not file-type.h.
Move more definitions into stat-macros.h.
Jim Meyering [Fri, 9 Apr 2004 12:03:02 +0000 (12:03 +0000)]
undo last change
Jim Meyering [Fri, 9 Apr 2004 11:33:56 +0000 (11:33 +0000)]
*** empty log message ***
Jim Meyering [Fri, 9 Apr 2004 11:33:53 +0000 (11:33 +0000)]
(.re-list): New rule/file, to replace hard-coded list of header file names.
(sc_system_h_headers): Use the new file.
Jim Meyering [Fri, 9 Apr 2004 08:27:01 +0000 (08:27 +0000)]
*** empty log message ***
Jim Meyering [Fri, 9 Apr 2004 08:26:17 +0000 (08:26 +0000)]
Don't include "file-type.h", now that system.h does.
Jim Meyering [Fri, 9 Apr 2004 08:25:50 +0000 (08:25 +0000)]
*** empty log message ***
Jim Meyering [Fri, 9 Apr 2004 08:25:32 +0000 (08:25 +0000)]
Include file-type.h rather than hard-coding all
of its macros definitions -- the list was slightly out of date.
Jim Meyering [Fri, 9 Apr 2004 08:24:22 +0000 (08:24 +0000)]
(header_regexp): Add file-type.h.
(sc_system_h_headers): Don't look for sys2.h anymore.
Jim Meyering [Fri, 9 Apr 2004 07:28:33 +0000 (07:28 +0000)]
.
Jim Meyering [Thu, 8 Apr 2004 21:37:50 +0000 (21:37 +0000)]
*** empty log message ***
Jim Meyering [Thu, 8 Apr 2004 21:36:45 +0000 (21:36 +0000)]
Remove noctty flag from dd.
Jim Meyering [Thu, 8 Apr 2004 21:36:18 +0000 (21:36 +0000)]
(O_NOCTTY): Remove redundant decl.
Jim Meyering [Thu, 8 Apr 2004 21:36:06 +0000 (21:36 +0000)]
(flags, usage): Remove noctty flag.
(main): Always use O_NOCTTY when opening files.
Jim Meyering [Thu, 8 Apr 2004 21:35:35 +0000 (21:35 +0000)]
.
Jim Meyering [Thu, 8 Apr 2004 21:30:22 +0000 (21:30 +0000)]
*** empty log message ***
Jim Meyering [Thu, 8 Apr 2004 21:30:18 +0000 (21:30 +0000)]
(set_fd_flags): Undo part of today's change: it's a little
cleaner -- and more efficient in the common case -- to go
ahead and OR in the -1 when fcntl fails.