Commit Graph

1905 Commits

Author SHA1 Message Date
grant eff007b21e add -g to ENVIRONMENT. 2003-04-18 12:49:12 +00:00
grant 6321639a84 change -G arg to -g.
-G was chosen as SuSv2 specified -g was already used in ls(1), but ls
has no blocksize options like df/du, so this was redundant.

bump date in man page.
2003-04-18 12:48:25 +00:00
lukem 6d7ad1a836 clear errno before strtol() if we're going to test it for ERANGE afterwards 2003-04-17 02:54:07 +00:00
grant a1dd31060d add -G argument for output in gigabytes.
ok'd by perry@, mrg@
2003-04-16 14:00:30 +00:00
grant 8e37d38a09 grammar fix. 2003-04-16 13:17:52 +00:00
grant f3014f2c17 sync usage args with reality. 2003-04-16 12:57:24 +00:00
wiz 99193808f4 Bump date for last. 2003-04-16 12:41:36 +00:00
wiz 8dda1d8092 Use Dq and Sq. Drop a trailing space. 2003-04-16 10:17:26 +00:00
wiz dba2557a54 More mdoc. 2003-04-16 09:19:35 +00:00
itojun a18a285e73 need 11 chars for %u. Peter Valchev 2003-04-16 08:07:51 +00:00
itojun 674baed7e1 misuse of strncpy. PR 21201 from Christian Biere. 2003-04-16 07:10:00 +00:00
itojun e6a384fc32 %d is 12 chars, not 10 chars. hinted by deraadt 2003-04-15 07:40:56 +00:00
zuntum 1a2ec1a713 add missing parenthesis 2003-04-12 16:39:19 +00:00
grant 900b115e8d some mdoc fixes. 2003-04-10 06:07:40 +00:00
provos 7685de2195 use LOGIN_NAME_MAX instead of MAXLOGNAME; closes pr/21048 2003-04-09 17:50:08 +00:00
christos c8921f6410 PR/21064: Perry Metzger: Re-add -k to tar (--keep-old-files) 2003-04-08 15:13:10 +00:00
wiz ef0b6f6662 Bump date for last. 2003-04-05 09:14:01 +00:00
fair eb1f0e9546 Additional text & formatting for the csh "limit" command;
hopefully this satisfies PR 11658
2003-04-05 00:59:20 +00:00
wiz 6457ab4776 Remove sentence describing pax's -X option. From Jim Bernard in PR 21009. 2003-04-04 19:19:43 +00:00
christos 051306e25d PR/18959: Xavier HUMBERT: Don't pay attention to sockets in gnu-tar mode. 2003-03-31 20:30:28 +00:00
christos 00e1c042e9 Detect and report end of archive properly ala' gnu tar. 2003-03-31 20:24:52 +00:00
christos a0dbdefc9c PR/20495: Soren Jacobsen: Add -j [bzip2] compression to tar. 2003-03-31 20:10:08 +00:00
christos 2cdcd6cab2 RP/8227: Peter Seeback: Emulate old gnu tar better. 2003-03-31 20:06:33 +00:00
wiz 55d7364ddb PDP-11 instead of PDP 11. 2003-03-30 20:52:51 +00:00
perry d58dcfa722 Pdp 11 -> PDP 11, from Igor Sobrado in PR 19670 2003-03-29 18:46:42 +00:00
perry 423759aaf3 reimplementation -> re-implementation 2003-03-29 18:38:48 +00:00
perry 83237da0b1 spelling errors, some from Igor Sobrado in PR 19670 2003-03-29 18:25:22 +00:00
perry 0dd5b455ae matche->match, from Igor Sobrado in PR 19670 2003-03-29 18:11:29 +00:00
perry 18dec071dc occurences->occurrences, from Igor Sobrado in PR 19670 2003-03-29 18:09:03 +00:00
atatat 55a73f6d52 mdkdir -> mkdir 2003-03-26 17:00:57 +00:00
provos e3cb39834b mention "parse error" on stdout for interactive policy generation 2003-03-26 03:40:02 +00:00
provos a2468a8d04 new "ask" action. creates a new rule that prompts the user for an
action but allows only yes or no answer.  inspired from talking
with dugsong@monkey
2003-03-25 23:17:29 +00:00
provos 5173f83708 recognize process group pid 2003-03-25 23:15:22 +00:00
provos 488a952788 better -c parsing; from camiel@sentia 2003-03-25 23:04:48 +00:00
provos 66570390e4 More details and a few improvement for style. from ian@darwinsys 2003-03-25 23:00:05 +00:00
provos 2b37f26aed mkdir requires unlinkname as a translator; unlinkname does not return
<non-existent filename> errors any longer.
2003-03-25 22:58:24 +00:00
provos f605994ea3 rename was using an incorrect translation. 2003-03-25 22:54:59 +00:00
provos 887e433ee2 bug in profile feedback optimization; found by dirt@monkey 2003-03-25 22:48:42 +00:00
kristerw b225d94754 Fix some typos noted by Soren Jacobsen in PR 20793. 2003-03-22 12:13:03 +00:00
kristerw 7fee304b15 Change "if" to "if and only if" per discussion in PR 20794. 2003-03-22 11:37:49 +00:00
wiz 2df55409df Update date for recent changes. 2003-03-17 08:15:07 +00:00
lukem d3e7b00142 Fix typo in mkpath()'s test before chmod().
Noted in [bin/20652] by Anthony Mallet.
2003-03-10 23:33:10 +00:00
lukem c61fa8df18 If building as a CRUNCHEDPROG, use "lex -L" and "yacc -l" to suppress #line
generation.  This may solve [bin/20637].
2003-03-10 17:58:21 +00:00
dsl b44ef110a7 Support -ktt and -ktty, quote "tdev" in comment so table can be sorted. 2003-03-08 08:04:24 +00:00
christos 5998d3b278 XXX: cast tdev to INT32 instead of UINT32 so that that sorting works as
before [NODEV entries come first]
2003-03-08 06:46:22 +00:00
dsl f24cb25605 - add keywords for utime, stime and ctime (output sss.ssssss if small)
- fiddle with keyword table - mainly to keep width under 80 cols
- add -k keylist so sort output
- don't use logs to work out field width, get -MAXINT right
- user defined headers can be 1 char (actually they can be zero length)
  so ?? in tty column isn't guaranteed to be wider than header
- remove some long long casts (compiles on sparc64 still)
- use kvm_openfiles(NULL, NULL, NULL, KVN_NO_FILES, ..) unless core file
  specified,
(approved by christos)
2003-03-06 09:04:21 +00:00
dsl 036e265716 - add keywords for utime, stime and ctime (output sss.ssssss if small)
- fiddle with keyword table - mainly to keep width under 80 cols)
- add -k keylist so sort output
- don't use logs to work out field width, get -MAXINT right
- user defined headers can be 1 char (actually they can be zero length)
  so ?? in tty column isn't guaranteed to be wider than header
- use PRId64 to remove some long long casts
- use kvm_openfiles(NULL, NULL, NULL, KVN_NO_FILES, ..) unless core file
  specified
(approved by christos)
2003-03-06 09:02:16 +00:00
lukem ee7f3a601a Rework -p support again;
- If mkdir() fails on a component (no matter what the error is),
  stat() the result.  If the stat() fails, print the error mkdir() generated.
  Otherwise, if the result is not a directory, explicitly fail with ENOTDIR.
- Move the chmod() of last element to be done only if the mkdir() succeeded
  (i.e, it wasn't an existing directory)

Fixes problem introduced in previous commit where "mkdir -p existing"
on a read-only file system would incorrectly return a non zero exit code,
whilst retaining the race-condition fix of the previous commit.

Thanks to simonb@ for sanity checking my fix versus the standards.
2003-03-05 03:58:44 +00:00
christos b399e96d11 No other program prints errors inside angle brackets! 2003-03-04 19:19:25 +00:00
dsl a124f92ed5 Seems better to display p_sv{u,g}id when asked for it... 2003-03-03 23:13:21 +00:00