Jim Meyering
1efbe325bd
(print_long_format):
...
Report the year for files even slightly in the future.
Avoid overflow problems near Y2038 on 32-bit hosts.
To calculate "six months", take half the average Gregorian
year, not 180 days.
2001-01-02 07:18:56 +00:00
Jim Meyering
1f678f44f9
*** empty log message ***
2001-01-02 07:14:47 +00:00
Jim Meyering
895cf6e91f
.
2001-01-01 18:17:10 +00:00
Jim Meyering
682bc57d89
(jm_PREREQ_READUTMP): Include utmp.h (if available), even
...
on systems with utmpx.h. It's necessary for the declaration of utmp's
ut_user member. Reported by Andreas Jaeger.
2001-01-01 18:16:52 +00:00
Jim Meyering
74ac72a78f
.
2001-01-01 18:09:31 +00:00
Jim Meyering
f324aa68f9
(jm_CHECK_DECLS): Include grp.h and pwd.h if available.
...
They are required for the declarations of getgrgid and getpwuid resp.
(_jm_DECL_HEADERS): Check for grp.h and pwd.h.
2001-01-01 18:08:48 +00:00
Jim Meyering
88db6b6944
.
2001-01-01 10:59:50 +00:00
Jim Meyering
387d125c2d
*** empty log message ***
2001-01-01 10:52:32 +00:00
Jim Meyering
fd77d94155
*** empty log message ***
2001-01-01 10:51:32 +00:00
Jim Meyering
137c6d5137
(TESTS): Add setgid.
2001-01-01 10:51:22 +00:00
Jim Meyering
671567d496
*** empty log message ***
2001-01-01 10:49:52 +00:00
Jim Meyering
aa3ef39ac8
*** empty log message ***
2000-12-31 13:24:28 +00:00
Jim Meyering
b360fa26e5
(AM_WITH_NLS): When using AC_CONFIG_AUX_DIR,
...
prepend $(top_srcdir) to the value of MKINSTALLDIRS so that it
can be used in subdirectories.
2000-12-31 12:15:42 +00:00
Jim Meyering
168401bef2
*** empty log message ***
2000-12-31 12:12:41 +00:00
Jim Meyering
9ecf7a54be
.
2000-12-31 09:51:50 +00:00
Jim Meyering
b46b6af7e3
.
2000-12-31 09:49:33 +00:00
Jim Meyering
318e97ef64
File renamed from tests/sticky-check.
...
All uses of "sticky" changed to "setgid".
2000-12-31 09:49:23 +00:00
Jim Meyering
9b525d2fe1
sticky-check -> setgid-check
2000-12-31 09:48:35 +00:00
Jim Meyering
7a5e723600
sticky-check -> setgid-check
2000-12-31 09:48:10 +00:00
Jim Meyering
9a2e78d703
sticky-check -> setgid-check
2000-12-31 09:46:15 +00:00
Jim Meyering
b28d611552
*** empty log message ***
2000-12-31 09:21:28 +00:00
Jim Meyering
f39ef82a14
.
2000-12-31 09:19:25 +00:00
Jim Meyering
c76348c318
(TESTS): Add deref-slink.
2000-12-31 09:17:00 +00:00
Jim Meyering
dd9804a4fe
New file. Test for the bug fixed by my 2000-12-28 change to copy.c.
2000-12-31 09:15:44 +00:00
Jim Meyering
f0018a3b9c
Improve performance by invoking gettext twice at the start,
...
instead of once for each file.
(long_time_format): New var.
(decode_switches): Initialize it, if format == long_format.
(print_long_format): Use it.
2000-12-31 09:06:54 +00:00
Jim Meyering
9adb2c7cf1
*** empty log message ***
2000-12-31 08:55:58 +00:00
Jim Meyering
857c948551
(print_long_format): Don't dump core if strftime returns the empty string.
2000-12-31 08:55:41 +00:00
Jim Meyering
33cf956fc8
*** empty log message ***
2000-12-31 08:33:59 +00:00
Jim Meyering
66816a3514
(gobble_file): If not using long format, don't invoke acl; it's not needed.
2000-12-31 08:33:49 +00:00
Jim Meyering
6417617d33
*** empty log message ***
2000-12-31 08:30:28 +00:00
Jim Meyering
769b95b751
Avoid an unnecessary `stat' when using --dereference.
...
(same_file_ok): Use stat only if lstat reported that
the file was a symbolic link.
2000-12-31 08:29:17 +00:00
Jim Meyering
de0ebc7eb6
*** empty log message ***
2000-12-30 16:51:42 +00:00
Jim Meyering
d8271b06b4
append-only directories -> restricted deletion flag,
...
which is the term that POSIX d5 uses for this notion.
2000-12-30 16:51:24 +00:00
Jim Meyering
206205c6ee
*** empty log message ***
2000-12-29 10:32:33 +00:00
Jim Meyering
3336d7cf69
Do not assume that mode_t uses the
...
traditional octal encoding. E.g. "chmod 1 FOO" should set
the other-execute bit of FOO even if S_IXOTH != 1.
(SUID, SGID, SVTX, RUSR, WUSR, XUSR, RGRP, WGRP, XGRP, ROTH,
WOTH, XOTH, ALLM): New macros.
(S_ISUID, S_ISGID, S_ISVTX, S_IRUSR, S_IWUSR, S_IXUSR,
S_IRGRP, S_IWGRP, S_IXGRP, S_IROTH, S_IWOTH, S_IXOTH):
Use them.
(S_ISGID): Fix typo; it was defaulting to the same value as S_ISUID.
(S_IRWXU, S_IRWXG, S_IRWXO): Specify defaults in terms of the above.
(mode_compile):
No need to use uintmax_t; unsigned long is long enough.
Don't bother to get suffix since we don't use it.
2000-12-29 10:32:09 +00:00
Jim Meyering
c319b5bf3b
*** empty log message ***
2000-12-29 08:58:38 +00:00
Jim Meyering
de577f3440
Try /usr/xpg4/bin/id (Solaris 7) if plain 'id' doesn't work.
2000-12-29 08:58:25 +00:00
Jim Meyering
9f0489df43
.
2000-12-28 14:43:13 +00:00
Jim Meyering
46e7805428
Run sticky-check from just-created directory.
2000-12-28 14:40:15 +00:00
Jim Meyering
d4b4519d8d
*** empty log message ***
2000-12-28 13:35:28 +00:00
Jim Meyering
b8d4bfe024
.
2000-12-28 13:17:02 +00:00
Jim Meyering
7046dfbc47
tweak comment
2000-12-28 11:52:28 +00:00
Jim Meyering
f119221740
tweak comment
2000-12-28 11:31:44 +00:00
Jim Meyering
fe38ed9d90
*** empty log message ***
2000-12-28 11:23:55 +00:00
Jim Meyering
bc9ff8c14d
(same_file_ok): Fix *another* typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/.
2000-12-28 11:22:59 +00:00
Jim Meyering
a400a0e081
*** empty log message ***
2000-12-28 09:53:58 +00:00
Jim Meyering
3abbefb5e4
(same_file_ok): Fix typo from my 2000-09-03 change: s/tmp_dst_sb/tmp_src_sb/.
2000-12-28 09:53:34 +00:00
Jim Meyering
51d5f8a438
(same_file_ok): Use a single auto var for
...
tmp_dst_sb, instead of two static vars.
Likewise for tmp_src_sb.
2000-12-28 09:42:06 +00:00
Jim Meyering
e8c1aced2b
*** empty log message ***
2000-12-28 09:41:39 +00:00
Jim Meyering
9926b4ec03
.
FILEUTILS-4_0_35
2000-12-27 10:05:05 +00:00