Jim Meyering
45f4bb1290
(st_author) [! HAVE_STRUCT_STAT_ST_AUTHOR]: New macro.
...
(print_author): New var.
(AUTHOR_OPTION): New enum val.
(long_options, decode_switches, print_long_format, usage):
Support --author.
(format_user): New function.
(print_long_format): Use it. Make print buffer a bit bigger.
2002-06-15 13:41:46 +00:00
Jim Meyering
dda6cbbb1c
*** empty log message ***
2002-06-15 13:26:42 +00:00
Jim Meyering
4c52326d70
(ls invocation): Document new option: --author.
2002-06-15 13:26:38 +00:00
Jim Meyering
2fd73898d2
use trap stuff from sample-test
2002-06-15 10:19:36 +00:00
Jim Meyering
4726bde475
use trap stuff from sample-test
2002-06-15 10:17:35 +00:00
Jim Meyering
a44fd51a81
now that $tmp has two components, use mkdir's -p option to create it
2002-06-15 10:16:22 +00:00
Jim Meyering
35e9b38dd8
now that $tmp has two components, use mkdir's -p option to create it
2002-06-15 10:15:00 +00:00
Jim Meyering
a2e113a2db
use trap stuff from sample-test
2002-06-15 10:04:30 +00:00
Jim Meyering
767aa7bf70
use trap stuff from sample-test
2002-06-15 09:58:37 +00:00
Jim Meyering
9234b6f7e0
*** empty log message ***
2002-06-15 09:54:28 +00:00
Jim Meyering
77bc22f77a
(trap): in chmod, use u+rwx, not 700
2002-06-15 09:54:08 +00:00
Jim Meyering
646e37ff59
*** empty log message ***
2002-06-15 09:46:43 +00:00
Jim Meyering
bf7c8ba557
(trap): Make sure the temporary hierarchy is writable before removing it.
2002-06-15 09:46:32 +00:00
Jim Meyering
59f339c1f8
Use better trap.
...
trap 'status=$?; cd $pwd; chmod -R 700 $t0; rm -rf $t0 && exit $status' 0
2002-06-15 09:45:05 +00:00
Jim Meyering
2309be536f
Use quoted here doc by default,
...
so e.g., backticks don't need to be escaped.
2002-06-15 09:41:47 +00:00
Jim Meyering
14c7cfea4c
(TESTS): Add perm-1.
2002-06-15 09:40:25 +00:00
Jim Meyering
6f809229ef
*** empty log message ***
2002-06-15 09:40:07 +00:00
Jim Meyering
f09cbdc4b4
*** empty log message ***
2002-06-15 08:47:55 +00:00
Jim Meyering
ef159d5cdb
.
2002-06-15 08:47:25 +00:00
Jim Meyering
58e6f3d386
*** empty log message ***
2002-06-15 08:47:12 +00:00
Jim Meyering
39237a241f
(lstat.c, stat.c, .sin.sed): Use t-$@, rather than $@-t,
...
so that each temporary file name is unique and valid in the first
8 characters, for operation under DOS.
2002-06-15 08:46:59 +00:00
Jim Meyering
8ba0cddae4
(FILE_TYPE_H): Guard entire contents with #ifndef.
...
For GNU libc 2.2 and newer, ensure that <sys/types.h> and <sys/stat.h>
have been included before this file.
2002-06-15 08:43:45 +00:00
Jim Meyering
13221a5a13
For GNU libc 2.2 and newer, ensure that <sys/types.h>
...
has been included before this file.
2002-06-15 08:40:55 +00:00
Jim Meyering
3351c8aada
.
2002-06-15 08:04:23 +00:00
Jim Meyering
19548deac9
Change temp file names to accommodate DOS 8.3 file name limitation.
2002-06-15 08:03:24 +00:00
Jim Meyering
ff43f6b441
Change temp. file name: s/\.err/_err/, for DOS.
2002-06-15 08:02:16 +00:00
Jim Meyering
1d51d96e1e
Change temp file names to accommodate DOS 8.3 file name limitation.
2002-06-15 08:01:41 +00:00
Jim Meyering
140f272a56
Remove leading `.' from temp. names.
2002-06-15 08:01:20 +00:00
Jim Meyering
9da59fff0d
Change temp file names to accommodate DOS 8.3 file name limitation.
2002-06-15 07:56:40 +00:00
Jim Meyering
06b1f74288
*** empty log message ***
2002-06-15 07:37:29 +00:00
Jim Meyering
dbb90872ee
(S_ISLNK): Define to 0 if neither S_ISLNK nor S_IFLNK is defined.
2002-06-15 07:37:21 +00:00
Jim Meyering
cb8155615a
(S_ISLNK): Define to 0 if neither S_ISLNK nor S_IFLNK is defined.
2002-06-15 07:36:57 +00:00
Jim Meyering
b29576f01f
*** empty log message ***
2002-06-15 06:54:05 +00:00
Jim Meyering
d404816448
(S_ISNAM): Add to list of S_IS* macros.
...
Rearrange #if directives for each S_IS macro.
From diffutils-2.8.2.
2002-06-15 06:53:57 +00:00
Jim Meyering
02d8535f9e
*** empty log message ***
2002-06-14 07:53:01 +00:00
Jim Meyering
dfe88896b5
Use the version from diffutils-2.8.2.
2002-06-14 07:52:32 +00:00
Jim Meyering
0f19d3650b
update from master sources
2002-06-13 09:30:02 +00:00
Jim Meyering
10c95a54b5
tweak expected message
2002-06-12 08:02:12 +00:00
Jim Meyering
f849e0aaac
(do_move): Give one diagnostic, not two, when unable to
...
unlink a destination file. This bug was introduced in fileutils-3.16l.
$ /bin/mv /etc/passwd /tmp
/bin/mv: cannot unlink `/etc/passwd': Permission denied
/bin/mv: cannot remove `/etc/passwd': Permission denied
[Exit 1]
2002-06-12 08:01:48 +00:00
Jim Meyering
7e6aff288f
(rm): Fix typo in assertion.
2002-06-12 08:00:50 +00:00
Jim Meyering
c5b3b8e2b6
tweak output: s/ directory//
2002-06-07 14:57:19 +00:00
Jim Meyering
e20a6cfb82
*** empty log message ***
2002-06-07 14:49:33 +00:00
Jim Meyering
bae1890d5b
Also accept the permission-denied diagnostic
...
issued by some losing systems. Reported by Volker Borchert.
2002-06-07 14:49:21 +00:00
Jim Meyering
b2816db207
.
2002-06-07 14:44:02 +00:00
Jim Meyering
2e6f8bf01e
*** empty log message ***
2002-06-07 14:43:41 +00:00
Jim Meyering
a3eb51b0e2
(jm_PREREQ_STAT): Check for sys/param.h and sys/mount.h.
...
They're needed at least for NetBSD 1.5.2.
($statxfs_includes): Include those same headers.
($statxfs_includes): Include sys/vfs.h if available.
($statxfs_includes): Likewise for sys/statvfs.h.
Check for the following members in both structs statfs and statvfs:
f_basetype, f_type, f_fsid.__val, f_namemax, f_namelen.
2002-06-07 14:43:36 +00:00
Jim Meyering
6d3ea70cf7
*** empty log message ***
2002-06-07 14:39:21 +00:00
Jim Meyering
b965b62436
(remove_entry): Use DT_IS_DIR only if
...
HAVE_STRUCT_DIRENT_D_TYPE is defined.
2002-06-07 14:39:09 +00:00
Jim Meyering
8bd3e55a54
.
2002-06-06 07:48:26 +00:00
Jim Meyering
cb93da5115
*** empty log message ***
2002-06-03 11:07:02 +00:00