Commit Graph

7333 Commits

Author SHA1 Message Date
Jim Meyering c1e927ff6d *** empty log message *** 1999-11-07 20:23:48 +00:00
Jim Meyering 717d76cf4b (xstat): New global.
(main): Define it.
(change_file_group): Use it.  Before this change, when running chgrp
on a symlink without --dereference (-h) and when the requested group
is the same as the group for the *symlink*, chgrp would do nothing.
Now it changes the group of the file referenced through the symlink.
Reported by Martin Mitchell.
1999-11-07 20:18:11 +00:00
Jim Meyering 8bc2ecda80 *** empty log message *** 1999-11-07 20:17:18 +00:00
Jim Meyering 5907ad7277 Define and use REFERENCE_FILE_OPTION and
DEREFERENCE_OPTION in place of bare `CHAR_MAX + N'.
1999-11-07 20:02:19 +00:00
Jim Meyering 1645ace5e7 Use REFERENCE_FILE_OPTION instead of bare `CHAR_MAX + 1'. 1999-11-07 20:00:54 +00:00
Jim Meyering 0af22e4bb2 *** empty log message *** 1999-11-07 15:41:37 +00:00
Jim Meyering 7b165ea504 Add `, 1, [FIXME]' to each use of AC_DEFINE. 1999-11-07 15:40:29 +00:00
Jim Meyering a21ac71b0a . 1999-11-07 11:52:07 +00:00
Jim Meyering 66964546be *** empty log message *** 1999-11-07 11:46:24 +00:00
Jim Meyering 51ca1e585c Fix a typo: s/||/&&/. 1999-11-07 11:46:20 +00:00
Jim Meyering bf43e9b11e Add hard-link-to-symlink test. 1999-11-07 11:44:22 +00:00
Jim Meyering b2e1221012 variable name change
move framework_failure to bottom
1999-11-07 11:13:04 +00:00
Jim Meyering 224fff6a3a (do_link): Warn that making a hard link to a symbolic link is not portable. 1999-11-07 11:07:53 +00:00
Jim Meyering 7876eafaa1 Remove entire #if LINK_FOLLOWS_SYMLINKS block. 1999-11-07 11:04:00 +00:00
Jim Meyering 8040d4c680 Add comment prior to removing #if LINK_FOLLOWS_SYMLINKS block 1999-11-07 11:03:20 +00:00
Jim Meyering 6e8ec1114f Allow hard links to symlinks on systems that support it.
(STAT_LIKE_LINK): Define.
(do_link): Use STAT_LIKE_LINK, rather than bare `stat', and perform
the extra lstat only on systems where LINK_FOLLOWS_SYMLINKS.
1999-11-07 10:50:11 +00:00
Jim Meyering 6cdbe93585 *** empty log message *** 1999-11-07 10:49:07 +00:00
Jim Meyering 36daa470f4 Use --b=simple, not the now-deprecated `-V simple'. 1999-11-07 10:47:52 +00:00
Jim Meyering 5f9feb9aae define LINK_FOLLOWS_SYMLINKS 1999-11-07 10:35:53 +00:00
Jim Meyering 6702048c64 . 1999-11-07 10:33:47 +00:00
Jim Meyering 9f5b324ec5 . 1999-11-07 10:33:22 +00:00
Jim Meyering c13a28cc35 *** empty log message *** 1999-11-07 10:33:11 +00:00
Jim Meyering de9a877716 add missing \n\ 1999-11-07 09:23:06 +00:00
Jim Meyering 1df7091e3b *** empty log message *** 1999-11-07 09:22:18 +00:00
Jim Meyering 30fc70c376 *** empty log message *** 1999-11-07 09:20:04 +00:00
Jim Meyering 65851e8c38 *** empty log message *** 1999-11-07 08:46:34 +00:00
Jim Meyering 3db1aef04e (remove_parents): Use the correct test
(same as in main) in handling --ignore-fail-on-non-empty.
From Michael Stone.
1999-11-07 08:38:50 +00:00
Jim Meyering 691513e7f3 . 1999-11-07 08:15:37 +00:00
Jim Meyering a8871677d1 whoops, add quotes in last change 1999-11-06 21:58:42 +00:00
Jim Meyering 44dbec6a60 remove backticks from comments 1999-11-06 21:58:19 +00:00
Jim Meyering 0d3ddaa85c *** empty log message *** 1999-11-06 21:31:09 +00:00
Jim Meyering 637aa0759b (jm_MACROS): Use jm_AC_FUNC_LINK_FOLLOWS_SYMLINK here. 1999-11-06 21:30:47 +00:00
Jim Meyering e2c0a043f7 (jm_AC_FUNC_LINK_FOLLOWS_SYMLINK): New file/macro. 1999-11-06 21:30:16 +00:00
Jim Meyering 81718d1a58 (do_link): Fix typo (in which the function name `symlink'
was tested instead of the variable `symbolic_link') that could make
ln perform an unneeded `stat' call.
1999-11-06 16:21:18 +00:00
Jim Meyering 9dc239aca7 *** empty log message *** 1999-11-06 09:55:32 +00:00
Jim Meyering ea525f532f (long_options): Correct typo (s/'F'/'p'/) so that `-p'
works as the short form of --file-type, per the documentation.
From Michael Stone.
1999-11-06 09:55:13 +00:00
Jim Meyering 476de46ee5 *** empty log message *** 1999-11-06 09:54:46 +00:00
Jim Meyering 571d42e74b . 1999-11-06 09:04:58 +00:00
Jim Meyering 68e5120531 . 1999-11-06 09:04:22 +00:00
Jim Meyering 6b32b53027 Use HAVE_STRUCT_STAT_ST_BLOCKS, not deprecated HAVE_ST_BLOCKS. 1999-11-05 09:55:24 +00:00
Jim Meyering 8a25562446 Use `AC_CHECK_MEMBERS((struct stat.st_blksize))' instead of deprecated
AC_STRUCT_ST_BLKSIZE.
1999-11-05 09:48:53 +00:00
Jim Meyering 764e739e01 remove stray `x's 1999-11-05 09:34:41 +00:00
Jim Meyering a5bfc49347 *** empty log message *** 1999-11-05 09:27:20 +00:00
Jim Meyering 386d762885 (jm_CHECK_ALL_TYPES): Move some tests from configure.in
of textutils, fileutils, and sh-utils into this one (shared between
those packages) file.
1999-11-05 09:27:14 +00:00
Jim Meyering 9df0229009 *** empty log message *** 1999-11-05 07:59:48 +00:00
Jim Meyering 2d81adfab6 (SORTALLOC): New macro.
(sortalloc, mergealloc, LINEALLOC): Use it.
(sortalloc, mergealloc, linelength): Now const.
(sortalloc): Increase from 0.5 to 8 MB.
(mergealloc): Increase from 16 to 256 kB.
(LINEALLOC): Increase from 0.25 to 4 MB.
1999-11-05 07:59:40 +00:00
Jim Meyering ac0c37fd78 . 1999-11-04 23:14:45 +00:00
Jim Meyering 65b35a9e36 Do not consider newline to be part of a line when comparing lines
in `sort' and `comm'.  POSIX.2 requires that we consider newline,
but this is a bug in the spec and the bug will likely be fixed.
1999-11-04 23:13:40 +00:00
Jim Meyering 67ec190a99 (memcoll): The two arguments cannot be
adjacent any more, so remove the alloca/copy workaround for
that case.
1999-11-04 23:13:12 +00:00
Jim Meyering 4b47f20e6a (readline): Do not leave room for an extra
byte after the newline; it's no longer needed.
1999-11-04 23:12:42 +00:00