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
9926b4ec03
.
2000-12-27 10:05:05 +00:00
Jim Meyering
f46fed1458
add omitted semicolon
2000-12-25 18:51:58 +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
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
a87ae161be
.
2000-12-19 10:25:15 +00:00
Jim Meyering
b6b86da148
*** empty log message ***
2000-12-19 08:36:53 +00:00
Jim Meyering
de38d76a18
(libfetish_a_SOURCES): Add physmem.c.
...
(noinst_HEADERS): Add physmem.h.
2000-12-19 08:36:39 +00:00
Jim Meyering
166c00189a
(__xstrtol): Add undocumented suffixes 'g' and
...
't' for compatibility with Solaris 8 sort.
2000-12-19 08:35:20 +00:00
Jim Meyering
bca787f7c4
*** empty log message ***
2000-12-19 08:22:18 +00:00
Jim Meyering
258f00968a
*** empty log message ***
2000-12-19 08:16:25 +00:00
Jim Meyering
bc40f9fcef
(locale_charset): Add support for Win32.
2000-12-19 08:16:09 +00:00
Jim Meyering
85ab4b9988
*** empty log message ***
2000-12-18 23:04:34 +00:00
Jim Meyering
f75f8a4b1d
Add support for BeOS.
2000-12-18 23:04:28 +00:00
Jim Meyering
fbba4d8d5e
*** empty log message ***
2000-12-16 22:27:18 +00:00
Jim Meyering
2b64713ac6
*** empty log message ***
2000-12-16 22:26:23 +00:00
Jim Meyering
2464a2cd9d
[!SHELLS_FILE && __DJGPP__]: Define
...
SHELLS_FILE to a file name that's useful on djgpp systems.
Include stdlib.h.
(ADDITIONAL_DEFAULT_SHELLS): Define.
(default_shells): Prepend ADDITIONAL_DEFAULT_SHELLS.
Based mostly on a patch from Prashant TR.
2000-12-16 22:25:44 +00:00
Jim Meyering
76f8538bf6
.
2000-12-16 14:49:25 +00:00
Jim Meyering
608b347584
This bug had a serious impact on chown: `chown N:M FILE' (for integer
...
N and M) would have treated it like `chown N:N FILE'.
(parse_user_spec): Fix typo: s/u/g/.
2000-12-16 13:28:13 +00:00
Jim Meyering
ad31d9b60c
tweak a comment
2000-12-16 13:01:24 +00:00
Jim Meyering
e6a5c51ed7
Add ISO-8859-3, BIG5HKSCS, GB18030, JOHAB, VISCII,
...
CP874, CP949, CP950, CP1250, CP1253, CP1254, CP1255, CP1256, CP1257
to the list of canonical encodings. Rename EUC-CN to GB2312.
2000-12-15 23:43:55 +00:00
Jim Meyering
9580e7cc87
*** empty log message ***
2000-12-08 18:32:11 +00:00
Jim Meyering
a05267197a
(mbsnwidth): Don't loop endlessly when called with an
...
invalid mulitbyte sequence and with the MBSW_ACCEPT_INVALID flag set.
2000-12-08 18:31:38 +00:00
Jim Meyering
7b55b7aa13
*** empty log message ***
2000-12-07 14:14:18 +00:00
Jim Meyering
bcc94017bc
convert a > expression to the equivalent < one
2000-12-07 14:13:51 +00:00
Jim Meyering
b615d79ac3
(ISSLASH): Define.
...
(strip_trailing_slashes): Use ISSLASH rather than comparing against `/'.
From Prashant TR.
2000-12-07 14:13:13 +00:00
Jim Meyering
04f549820f
convert a > expression to the equivalent < one
2000-12-07 14:11:52 +00:00
Jim Meyering
ded8b14afb
*** empty log message ***
2000-12-07 14:10:33 +00:00
Jim Meyering
4504b81f3b
(FILESYSTEM_PREFIX_LEN): Define.
...
(dir_name_r): Declare this function as static.
[BACKSLASH_IS_PATH_SEPARATOR]: Fix a bug that'd
manifest itself on a name containing a mix of slashes and
backslashes.
Make this function work with names starting with a DOS-style
drive letter and colon prefix.
(dir_name): Append `.' if necessary.
Based mostly on patches from Prashant TR and Eli Zaretskii.
2000-12-07 14:10:21 +00:00
Jim Meyering
222412dbf1
(dir_name_r): Remove prototype.
2000-12-07 11:50:35 +00:00
Jim Meyering
72a6d74ab2
.
2000-12-05 13:53:13 +00:00
Jim Meyering
cd6f0af0ea
(dir_name_r): Add `const' in a few local declarations.
2000-12-05 13:14:13 +00:00
Jim Meyering
2746cd50c3
*** empty log message ***
2000-12-04 09:41:28 +00:00
Jim Meyering
8a4261c7a5
*** empty log message ***
2000-12-04 09:37:40 +00:00
Jim Meyering
90799b6c68
Also include memory.h, stdlib.h, unistd.h if appropriate.
2000-12-04 09:37:33 +00:00
Jim Meyering
1c6320fe7c
*** empty log message ***
2000-12-04 09:15:54 +00:00
Jim Meyering
fecdd2bd2b
[!HAVE_DECL_MALLOC]: Declare malloc.
2000-12-04 09:15:49 +00:00
Jim Meyering
c2f898236f
*** empty log message ***
2000-12-02 20:45:40 +00:00
Jim Meyering
501ebc1cba
Make idempotent, to avoid some obscure warnings.
2000-12-02 20:45:30 +00:00
Jim Meyering
97b58344c5
*** empty log message ***
2000-12-02 09:58:43 +00:00
Jim Meyering
627dac6c07
Include <config.h> before any system include file.
2000-12-02 09:58:31 +00:00
Jim Meyering
21b8c52ae9
*** empty log message ***
2000-11-30 09:36:04 +00:00
Jim Meyering
7303ca25db
(dir_name_r): Fix typo: int -> size_t.
2000-11-30 09:35:52 +00:00
Jim Meyering
86046cb32f
.
2000-11-30 07:40:16 +00:00
Jim Meyering
1500316caf
remove useless parens
2000-11-27 09:33:53 +00:00
Jim Meyering
8cd774b0a3
.
2000-11-26 23:30:27 +00:00
Jim Meyering
b04a174558
.
2000-11-26 23:01:02 +00:00
Jim Meyering
022f9b7d19
Include sys/types.h. From Werner Almesberger.
2000-11-26 16:52:29 +00:00