Commit Graph

1869 Commits

Author SHA1 Message Date
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
grant
8a22d7d46d call setprogname() 2003-03-03 11:42:36 +00:00
enami
400329bee2 Fix .Nm usage. 2003-03-02 13:57:30 +00:00
enami
a663fd779c Remove space at the end of line. 2003-03-01 07:57:33 +00:00
atatat
40f3045957 Add p_svuid and p_svgid to kinfo_proc2. Populate them in the kernel
and in libkvm.  Then teach ps how to show them to you.

Also, teach ps how to show the names for all the uids, the rest of the
group numbers, and the "group access list".
2003-03-01 05:41:55 +00:00
wiz
e04df3a3d6 Add support for '-j' to create (and extract, but -z already did that)
bzip2 compressed tar files, for GNU tar compatibility.
Patch from Soren Jacobsen in PR 19467, okayed by christos.
Sync usage with options while here.
2003-02-25 13:36:59 +00:00
wiz
43c2fa4e77 New sentence, new line. 2003-02-25 13:30:07 +00:00
wiz
990562bfef .Nm does not need a dummy argument ("") before punctuation or
for correct formatting of the SYNOPSIS any longer.
2003-02-25 10:34:36 +00:00
lukem
68df873854 When writing (-w) or copying (-rw), and using -M (stdin file list is
mtree(8) specfile), compare the "post write/copy" mtime against the
actual "pre write/copy" mtime instead of the mtime from the specfile.

This prevents warnings such as:
	pax: File ./foo was modified during copy to archive
if the file's mtime in the file system is different to what's in the specfile.
(The resultant file will still get the specfile mtime ...)
2003-02-21 01:25:11 +00:00
grant
a15c6f031f 'NetBSD.org' 2003-02-14 16:17:30 +00:00
jrf
1a7a1a2569 Note: Original change approved by Enami.
Accidentally left eval = 1 when I was adding the extension which caused the rm command to return a 1 when it successfully removed a directory. Thanks to tron for catching it.
2003-02-13 19:51:10 +00:00
wiz
93f423f249 New sentence, new line. I'm having a slight deja-vu... 2003-02-12 19:48:18 +00:00
jrf
c271c1590b Added the -v flag. 2003-02-12 19:27:22 +00:00
wiz
4cc7cdbc5c New sentence, new line; bump date for last change. 2003-02-12 18:58:50 +00:00
gmcgarry
8a0ced42ec Introduce LANG environment variable and Xref to nls(7).
Comment out the statement: "We expect POSIX conformance
by the time 4.4BSD is released."
2003-02-12 02:55:14 +00:00
grant
fbaeb4bd05 some mdoc improvements.
ok'd by wiz.
2003-02-10 16:10:22 +00:00
grant
021cc73e29 add missing braces.
from HIRATSUKA Kouichirou in PR bin/20276.
2003-02-10 07:49:57 +00:00
grant
d1391f9f9d cosmetic error condition improvements.
- sprinkle some fflush() to print filenames correctly.
- print a \n to stdout to fix formatting.
- English, consistently use "Cannot" in error messages.

some whitespace cleanup.
2003-02-09 18:27:10 +00:00
christos
3532c35bc6 use strtol() for better error handling in builtin kill (Peter Jeremy) 2003-02-08 19:40:30 +00:00
christos
a7c23d8731 remove maxitems limit (from Todd Miller) 2003-02-08 19:05:19 +00:00
perry
1f4ad37fe3 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-05 00:02:24 +00:00
perry
8a49ec08e4 "Utilize" has exactly the same meaning as "use," but it is more
difficult to read and understand. Most manuals of English style
therefore say that you should use "use".
2003-02-04 23:07:28 +00:00
dsl
51d94f2156 Fix bin/20185 - builtin called from function of same name mustn't be hashed.
Make 'hash' only report utilities that are not builtins (posix), the
non-posix 'hash -v' will report everything.
(agreed by christos)
2003-02-04 08:51:30 +00:00
dsl
0871280204 Parse end of line comments correctly
(approved by christos)
2003-02-02 21:10:45 +00:00
wiz
3ac7ce187d Fix various spelling, grammar, and punctuation problems in comments, from Sergey Svishchev in PR 20164. 2003-02-02 10:21:13 +00:00
christos
66b9125762 - use FD_CLOEXEC properly
- move ttyfd to a high fd
suggested by Tim Robbins at FreeBSD.
2003-01-27 12:54:08 +00:00
wiz
6ce643e53c Fix indentation of continuation of first line in SYNOPSIS. 2003-01-23 18:32:07 +00:00
agc
53ed48f326 Make this build on platforms where size_t != int, i.e. sparc, arm, ppc, ... 2003-01-23 14:58:07 +00:00
rafal
0923f4be26 Make this build again. 2003-01-23 03:33:16 +00:00
wiz
e254f6a849 More markup, more commas, less typos. 2003-01-22 22:05:45 +00:00
dsl
e314f958bd Support command -p, -v and -V as posix
Stop temporary PATH assigments messing up hash table
Fix sh -c -e "echo $0 $*" -a x (as posix)
(agreed by christos)
2003-01-22 20:36:03 +00:00
dsl
2db0e4fba3 Make 'times' be a proper posix special builtin.
(change agreed by christos and mailed to Michael Rendell)
2003-01-20 08:49:00 +00:00
simonb
276fd1665c The Double-Semi-Colon Police. 2003-01-20 05:29:53 +00:00
enami
0f89e811e5 Start new paragraph after options are listed. 2003-01-20 03:10:38 +00:00
jdolecek
ef022d1b15 insert a paragraph break between the option list and following text 2003-01-19 10:03:28 +00:00
wiz
0b76bcaac8 tar(1) has no -L any longer. 2003-01-19 01:13:46 +00:00
thorpej
3fdac2b8c5 Merge the nathanw_sa branch. 2003-01-18 10:52:16 +00:00