Commit Graph

10256 Commits

Author SHA1 Message Date
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
Jim Meyering 20b09b0761 . 2000-12-27 07:47:08 +00:00
Jim Meyering 9d72d71f21 . 2000-12-27 07:46:47 +00:00
Jim Meyering 937873451a use AC_DEFINE_UNQUOTED 2000-12-27 07:46:35 +00:00
Jim Meyering b7eb48d4fc (jm_AC_DOS): Rewrite (though it's still a stub) to work better with autoheader. 2000-12-26 18:57:53 +00:00
Jim Meyering 2f67a24489 *** empty log message *** 2000-12-26 11:34:34 +00:00
Jim Meyering 0fa2ce5716 *** empty log message *** 2000-12-26 09:39:17 +00:00
Jim Meyering 1aef6a3960 tweak comment, white space 2000-12-26 09:36:36 +00:00
Jim Meyering e41d7c5bee *** empty log message *** 2000-12-26 08:51:59 +00:00
Jim Meyering 37aa98f669 Disable the test if the working directory has the sticky bit set. 2000-12-26 08:51:51 +00:00
Jim Meyering 5c265cddbf *** empty log message *** 2000-12-26 08:43:15 +00:00
Jim Meyering da21549918 Disable the test if the working directory has the sticky bit set. 2000-12-26 08:43:03 +00:00
Jim Meyering f46fed1458 add omitted semicolon 2000-12-25 18:51:58 +00:00
Jim Meyering fa9603b6d4 *** empty log message *** 2000-12-25 18:38:19 +00:00
Jim Meyering 0f4de82749 (same_file_ok): Remove declaration and set of unused
variables: src_sb_no_link, dst_sb_no_link.
2000-12-25 18:35:16 +00:00
Jim Meyering 46fa2b76aa *** empty log message *** 2000-12-25 18:31:25 +00:00
Jim Meyering 1a8989fd9d Add a test for this (for all of cp, mv, ln, install). 2000-12-25 18:31:18 +00:00
Jim Meyering f4795cc6b3 For both ln and install, when using `--backup=simple --suffix=S',
the suffix `S' wasn't used.

(main): Actually use the local variable, `backup_suffix_string'.
2000-12-25 11:07:20 +00:00
Jim Meyering 5688e294f7 *** empty log message *** 2000-12-25 10:45:20 +00:00
Jim Meyering 3c1f0042f5 (hash_compare_active_dir_ents): Return explicit `true'
or `false', rather than relying on implicit int-to-enum cast.
2000-12-25 10:45:10 +00:00
Jim Meyering ca08f0ea65 *** empty log message *** 2000-12-25 10:41:52 +00:00
Jim Meyering 61b343a3c8 *** empty log message *** 2000-12-25 10:40:42 +00:00
Jim Meyering ec76cb5726 (extract_dirs_from_files): Remove unused variable.
(gobble_file): Move decl of local, val, into the scope where it's used.
2000-12-25 10:39:04 +00:00
Jim Meyering d6c55effc3 *** empty log message *** 2000-12-24 18:02:18 +00:00
Jim Meyering 788bdca00c *** empty log message *** 2000-12-24 17:58:16 +00:00
Jim Meyering c8b1db11d3 (main): Actually use the local variable, `backup_suffix_string'. 2000-12-24 17:56:51 +00:00
Jim Meyering 24ffc1a3c9 whoops 2000-12-24 17:53:05 +00:00
Jim Meyering 2cea3f1b14 detect ln simple backup bug 2000-12-24 13:49:29 +00:00
Jim Meyering 73a15b2b5f *** empty log message *** 2000-12-24 10:06:00 +00:00
Jim Meyering 3734f30bca *** empty log message *** 2000-12-24 09:39:04 +00:00
Jim Meyering 7862d9f6fc Update to version 1.24. 2000-12-24 09:34:17 +00:00
Jim Meyering 7aa3fb3d47 (is_prime): Return explicit boolean values.
(hash_get_first): Return NULL to appease Irix5.6's 89.
2000-12-24 07:12:21 +00:00
Jim Meyering 6ac10d9b9a . TEXTUTILS-2_0_11 2000-12-23 10:44:25 +00:00