itojun
6950184129
use bounded string op
2003-07-13 08:23:39 +00:00
simonb
ec137f4f6b
Bump ifree/iused field width.
2003-07-12 15:58:54 +00:00
itojun
032ed69f9a
strlcpy
2003-07-12 13:23:55 +00:00
lukem
001c68bd94
Rename a large chunk of the make(1) variables which refer to a
...
program/tool from "FOO" to "TOOL_FOO". The new variables are:
TOOL_ASN1_COMPILE TOOL_CAP_MKDB TOOL_CAT TOOL_CKSUM TOOL_COMPILE_ET
TOOL_CONFIG TOOL_CRUNCHGEN TOOL_CTAGS TOOL_DB TOOL_EQN TOOL_FGEN
TOOL_GENCAT TOOL_GROFF TOOL_HEXDUMP TOOL_INDXBIB TOOL_INSTALLBOOT
TOOL_INSTALL_INFO TOOL_M4 TOOL_MAKEFS TOOL_MAKEINFO TOOL_MAKEWHATIS
TOOL_MDSETIMAGE TOOL_MENUC TOOL_MKCSMAPPER TOOL_MKESDB
TOOL_MKLOCALE TOOL_MKMAGIC TOOL_MKTEMP TOOL_MSGC TOOL_MTREE
TOOL_PAX TOOL_PIC TOOL_PREPMKBOOTIMAGE TOOL_PWD_MKDB TOOL_REFER
TOOL_ROFF_ASCII TOOL_ROFF_DVI TOOL_ROFF_HTML TOOL_ROFF_PS
TOOL_ROFF_RAW TOOL_RPCGEN TOOL_SOELIM TOOL_SUNLABEL TOOL_TBL
TOOL_UUDECODE TOOL_VGRIND TOOL_ZIC
For each, provide default in <bsd.sys.mk> of the form:
TOOL_FOO?= foo
and for the ${USETOOLS}=="yes" case in <bsd.own.mk>, provide override:
TOOL_FOO= ${TOOLDIR}/bin/${_TOOL_PREFIX}foo
Document all of these in bsd.README.
This cleans up a chunk of potential (and actual) namespace collision
within our build infrastructure, as well as improves consistency in
the share/mk documentation and provision of appropriate defaults for
each of these variables.
2003-07-10 10:33:58 +00:00
wiz
b65146bf4a
Bump date for -O change.
2003-07-09 14:42:16 +00:00
simonb
1301238ab7
Add support for gnutar's -O "extract to stdout" option.
2003-07-08 06:00:48 +00:00
wiz
face0e9a82
Cm Fl -> Fl.
2003-07-01 10:24:41 +00:00
wiz
5127f8f2c1
Quote some punctuation.
2003-06-27 09:11:12 +00:00
christos
d1a05abed1
Revert previous change, and fix the -T problem differently: When the options
...
of the second argument are exhausted, call the appropriate getopt() routine
to process the rest of the arguments instead of finishing option processing.
Fixes:
tar cf - -T foo
2003-06-24 16:23:31 +00:00
grant
a47ed375c9
backout previous; it was a missing prototype elsewhere.
...
noted by mrg.
2003-06-24 08:27:30 +00:00
grant
8560ab3c2b
add cast to fix an integer -> pointer warning.
2003-06-24 06:41:51 +00:00
grant
d884498b98
no need for HAVE_LCHOWN and HAVE_LCHMOD anymore.
2003-06-23 13:33:15 +00:00
christos
051ff2c46c
Simplify the way we deal with old argument style. Old way was broken when
...
tar cf - -T dir
2003-06-23 13:15:15 +00:00
christos
6ebfa08f43
spelling
2003-06-23 13:14:43 +00:00
grant
9432809ee1
consistently use "cannot" instead of "can not".
2003-06-23 13:06:53 +00:00
agc
6377cac711
Add NetBSD RCS Ids.
2003-06-23 11:38:51 +00:00
perry
30b25d1cca
ANSIfy, from Petri Koistinen in PR 13975
2003-06-16 17:22:00 +00:00
provos
2268d69749
support for a new kernel message that informs userland that an in-kernel
...
policy has been freed. this allows us to enforce the kernel policy size
limit for users while users are still able to execute an arbitary number
of applications; the protocol change is backwards compatible.
2003-06-03 04:33:44 +00:00
provos
c57cb7fe98
escape " and \ to \" and \\; with the help of marius@monkey.org;
2003-06-03 01:20:06 +00:00
provos
70f2418ba2
do not free memory that still may be referenced later
2003-06-01 00:12:34 +00:00
simonb
ae46649fa5
Pass a NULL to getbsize() for any arguments that aren't needed, and
...
remove the otherwise unused variables.
2003-05-30 00:17:25 +00:00
lukem
9014bdbce6
* Document $RCMD_CMD in environ(7).
...
* Cross-reference rcmd(1), rcmd(3), and environ(7) as appropriate.
Should fix [bin/21670] from Geoff Wing.
2003-05-26 10:18:39 +00:00
wiz
8361a7103e
Sync usage with man page.
2003-05-21 06:26:07 +00:00
wiz
9d0fdf5d2a
Replace < and > with \*[Lt] and \*[Gt] resp. for HTML output.
...
Sort options. Bump date for last.
2003-05-21 06:23:29 +00:00
provos
bd80d3ced7
permit numberic values for uid and gid; allow "<" and ">" for less and
...
greater; requested by dugsong
2003-05-20 22:45:13 +00:00
lukem
826a14607a
Now that <bsd.prog.mk> DTRT if HOSTPROG is defined (i.e, it is a no-op),
...
there's no need to special-case .include-ing it.
2003-05-18 07:57:31 +00:00
dsl
a9fc176e82
Don't close any script files if vfork is set.
...
If a fork() is done later in order to feed a 'here' document into a pipe
then it is possible that one end of the pipe might get closed.
2003-05-15 13:26:45 +00:00
dsl
49e6852272
Fix problems with parallel makes.
2003-05-15 10:13:36 +00:00
dsl
6285ef062c
Use echo instead of cat to add prologue to builtins.[ch]
...
Under some circumstances the headers got overwritten.
2003-05-15 10:11:01 +00:00
kleink
7c8d837e74
If both -g and -l options are present, let -l take precedence over -g,
...
as requested by several users.
POSIX-2001 is unclear on conflicting option letters as far as the -g
option is concerned; a clarification request will be made.
Addresses PR bin/21519 by Geoff Wing.
2003-05-11 08:06:01 +00:00
lukem
17887a5d2c
#ifdef HOSTPROG then explicitly use {major,minor,makedev}_netbsd
...
macros from pack_dev.h instead of the native versions.
Fixes [toolchain/20051] by Valeriy E. Ushakov.
2003-05-09 01:09:13 +00:00
itojun
f703f13276
use sizeof for safety
2003-05-09 00:56:56 +00:00
christos
dd61e68e1f
Use ${HOST_SH}
2003-05-08 13:03:19 +00:00
simonb
7efb28b165
Add a FALLTHROUGH to keep lint happy.
2003-05-07 13:23:32 +00:00
grant
75d0e9d0c0
make -g behave as it should according to SUSv3 (long listing without
...
owner).
ok'd by kleink@.
2003-05-07 13:00:24 +00:00
wiz
4b68a236c9
Fix completion of files containing #. From Soren Jacobsen in PR 21486.
2003-05-07 06:39:08 +00:00
wiz
c31c26034b
Add ` (backquote) to quoted characters for completion. From fgsch@openbsd.
...
Okayed by christos.
2003-05-06 11:34:01 +00:00
wiz
f0b76593e4
Drop trailing space.
2003-05-06 08:33:08 +00:00
dsl
534ba36ad4
Recognise octal and hexadecimal constants in expressions.
...
- as required by SUSv3
2003-05-06 08:10:42 +00:00
gmcgarry
5e5ffccb2b
ANSIify.
2003-05-04 06:36:50 +00:00
gmcgarry
f8d2e9e189
Add new builtin 'inputrc' which allows keybindings to be redefined
...
for the current shell. From Arne H Juul in PR#10097.
2003-05-04 01:05:24 +00:00
gmcgarry
62bb6faae3
Expand documentation of emacs and vi modes. From
...
Jeremy C. Reed in PR#14578.
2003-05-02 09:00:14 +00:00
wiz
dcc13ddb7d
Some grammar and punctuation fixes from jmc@openbsd.
2003-05-01 13:50:58 +00:00
provos
4a6e1b3b24
fix EOF on input bug; from mpech@prosoft
2003-04-23 17:44:59 +00:00
christos
d0fa76e947
PR/21253: Manuel Bouyer: cpio should never descend on a directory; even on
...
the first one.
2003-04-21 22:10:10 +00:00
christos
c59371a05d
PR/6195: Matt Watson: Pax fails for paths of exactly 100 characters.
...
make sure that we don't strlcpy more than the source buffer.
2003-04-20 21:41:52 +00:00
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
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
kleink
b3df6303a9
Rename `sigset' locals to avoid symbol shadowing warning.
2003-01-16 09:38:37 +00:00
kristerw
7b4c88f831
Correct which _usage function to use for some pax/cpio error cases.
2003-01-15 21:56:46 +00:00
christos
51457e8842
Make sure that UPEOF is compared to the right type on the left hand
...
side. Sometimes it was compared to int, which was -1 on EOF, and on
unsigned char machines UPEOF was (unsigned char)-1. This worked
by chance because isalpha((unsigned char)-1) returns false usually,
but it does not when the locale is invalid!
2003-01-12 20:26:53 +00:00
christos
096c9d6313
remove debugging printf's I accidentally committed.
2003-01-09 18:24:08 +00:00
christos
a86cae9911
PR/19757: Andreas Wrede: make tar's -h behave like pax's -L
2003-01-09 17:26:21 +00:00
christos
e1a41a0e25
print a bit more info about checksum mismatches.
2003-01-09 17:22:26 +00:00
christos
a17201f05e
allow this to be compiled with unsigned-chars.
2003-01-09 13:57:26 +00:00
wiz
1035faff1d
writable, not writeable.
2003-01-06 20:30:28 +00:00
wiz
a2278794f4
descriptor, not decriptor.
2003-01-06 13:19:51 +00:00
wiz
7e681f7063
interrupt with two rs.
2003-01-06 13:04:54 +00:00
pooka
732f4c9fa5
Add ${MACROS} to ${ROFF} usage to make output readable
...
from jbernard@mines.edu in misc/19685
2003-01-05 12:24:22 +00:00
wiz
617b132aac
Spell output with two ts.
2003-01-04 23:43:02 +00:00
wiz
42ff734863
Restore word that got removed when -v was added.
2002-12-28 21:16:49 +00:00
wiz
5673b28631
Whitespace nits.
2002-12-28 21:15:24 +00:00
uebayasi
80a4544dcd
trap '' SIGINT -> trap '' INT.
2002-12-28 05:08:27 +00:00
jrf
46164a8a95
The previious ln commit did not have the change for -v in the source. Here is the working code.
2002-12-27 03:50:05 +00:00
jrf
1f6c14f0d6
Added verbose extension and updated manual pages. Changes approved by Klaus Klein.
2002-12-26 21:37:17 +00:00
wiz
99bdb6a773
For each, not Foreach; from Adrian Mrva. Begin new sentence on new line.
2002-12-21 13:09:57 +00:00
kleink
1bb01b56ab
Catch up with gen_subs.c rev. 1.27: the verbose output for symbolic links
...
is plain ls -l.
2002-12-19 22:54:44 +00:00
kleink
1c8b4d7b62
Change verbose output for symbolic links from "%s => %s" to "%s -> %s",
...
which matches ls(1) (per POSIX), as well as GNU tar output.
2002-12-19 22:44:31 +00:00
kleink
9273e5b038
Another it's -> its.
2002-12-19 18:04:41 +00:00
grant
5a72c72255
Fix oops in last, chown() failure should be fatal.
...
Noted by Charles Hannum.
2002-12-19 14:23:53 +00:00
grant
3ac4c54a34
Don't attempt to chown files if euid != 0, and make chown() non-fatal
...
if it does fail.
This addresses my PR bin/18912 (running pkg_info as non-root user on a
binary package).
2002-12-19 14:02:54 +00:00
wiz
5911fe5347
Drop trailing whitespace.
2002-12-18 20:28:51 +00:00
kleink
c8ae14b05c
Add -v to SYNOPSIS, clean up STANDARDS a little. Also, bump date for -v.
2002-12-18 12:15:41 +00:00
jrf
4e81454aa9
Added a -v verbose option to the cp(1) command. Updated man page and utils as well. This applies to PR bin/16834. This change was approved by Christos.
2002-12-16 14:44:14 +00:00
provos
4ff1bfdbd5
allow logging for untranslated syscalls; from anil@recoil.org
2002-12-15 19:05:31 +00:00
uebayasi
60ad876a43
`` [n1]>&n2 Duplicate standard output (or n1) _TO_ n2.''
2002-12-12 11:50:40 +00:00
christos
d4ba6227bf
fix horrible side effect introduced by changing the append mode into archive.
...
The append mode already did that, so we always ended up overwriting the archive.
2002-12-12 05:00:42 +00:00
christos
aa0e549885
PR/19453: Christopher Richards: Call setlocale() in /bin/sh
2002-12-11 19:12:18 +00:00
christos
8461b5b85f
PR/19339: Martin Weber: Tar fails to append on empty files and exits with
...
0. Revert previous change for PR/18689. We always want to exit with
an error if we could not determine the archive format. Instead,
treat empty files specially. On list/extract we turn into no/op.
On append, we turn into archive.
2002-12-10 18:33:26 +00:00
mrg
bad4b3376e
oops, remove a debug statement from the previous.
2002-12-08 02:00:10 +00:00
mrg
c3510d1409
add --exclude support.
...
XXX: --exclude & --exclude-from are still not 100% compatible, but since
rafal fixed --exclude-from's most annoying bug, they mostly work now.
2002-12-08 01:35:12 +00:00
scw
f7aebc0017
Cast from register_t to void * via intptr_t.
2002-12-06 09:49:36 +00:00
thorpej
5759456a18
Avoid confict with reserved identifier "log".
2002-12-06 01:43:18 +00:00
thorpej
c87e2cf550
Avoid conflict with reserved identifier "exp".
2002-12-06 01:39:10 +00:00
provos
fec70f4a84
typos; fgsch@olimpo.com.br
2002-12-05 19:33:39 +00:00
wiz
90c017d88f
Fix typo.
2002-12-05 16:52:07 +00:00
grant
de04ce3463
don't print archive summary twice.
2002-12-05 01:38:05 +00:00
provos
e9f87b6c2c
better parsing of # comments
2002-12-04 03:19:05 +00:00
lukem
764c86e2b1
don't need -lutil here
2002-11-30 03:16:14 +00:00
lukem
e825428033
don't need -lutil any more
2002-11-30 03:12:55 +00:00
lukem
550a64a8e9
convert to using strsuftoll(3) from libc
2002-11-29 13:11:10 +00:00
rafal
7d4cb139a3
Fix lossage with the GNU-tar -X compatibility code: the replacement pattern
...
code did not properly deal with the fact that the replacement patterns built
by the -X code were on the stack, happily saving pointers into last weeks'
stack into the REPLACE structures.
Now, the replacement string is strdup'ed so it doesn't matter where the
original expression came from or it's lifetime.
2002-11-29 04:54:48 +00:00
grant
3c0fae1fef
void functions should not return a value.
2002-11-27 18:40:34 +00:00
agc
1aafd1a470
Include <stdio.h> to get the prototype for sprintf(3) - macppc needs this.
2002-11-25 21:55:58 +00:00
christos
34100a1996
sent cont to jobs so that they can exit without an fg when killed.
2002-11-25 14:23:07 +00:00
agc
ea1d615943
Make this compile on some of the more esoteric architectures (e.g. those
...
which are not i386)
2002-11-25 12:13:03 +00:00
provos
da50ee4397
prevent attempt to use in-kernel fastpath for aliased system calls.
2002-11-25 06:25:09 +00:00
chs
e5d34beb3e
in mkpath(), don't try to stat() the to-be-created directory beforehand,
...
just try to create it and interpret any error appropriately.
this fixes a problem where multiple "mkdir -p" processes can race,
with the loser returning a spurious error.
2002-11-24 23:40:07 +00:00
christos
c02b3bbdf4
Fixes from David Laight:
...
- ansification
- format of output of jobs command (etc)
- job identiers %+, %- etc
- $? and $(...)
- correct quoting of output of set, export -p and readonly -p
- differentiation between nornal and 'posix special' builtins
- correct behaviour (posix) for errors on builtins and special builtins
- builtin printf and kill
- set -o debug (if compiled with DEBUG)
- cd src obj (as ksh - too useful to do without)
- unset -e name, remove non-readonly variable from export list.
(so I could unset -e PS1 before running the test shell...)
2002-11-24 22:35:38 +00:00
provos
048da773ed
error messages need to go to stderr
2002-11-23 17:42:45 +00:00
ragge
0ccd7cbd86
It's a very bad habit to store file sizes in int's, so change it to off_t
...
instead. Obviously noone has tried to rcp files larger than 2GB.
2002-11-22 21:46:02 +00:00
kim
1645c7e955
Use shell glob expansion in the csh example, instead of ls with glob.
...
Reported by Jerry Peek <jpeek@jpeek.com>.
2002-11-21 15:02:03 +00:00
itojun
6bf8c47b32
we can't do {} while (0) for TEST() macro since it has "break" which
...
goes out of the switch statement. from shin-ichi kaneta.
2002-11-16 13:42:36 +00:00
provos
49d6b23841
check for trans_size is not needed.
2002-11-15 21:36:25 +00:00
jdolecek
0c1316b88d
default to "$HOME/.kshrc" if ENV is not set
2002-11-11 19:03:57 +00:00
enami
0cb758feb5
Default .Ar arugment is sufficient.
2002-11-09 12:27:53 +00:00
enami
54a944c353
Cosmetic changes.
2002-11-09 12:27:08 +00:00
wiz
4b956b29cf
Drop a trailing space.
2002-11-06 14:56:48 +00:00
enami
71fcff6ce3
Let the roff to process the end of sentence.
2002-11-06 04:03:25 +00:00
enami
230caefde1
- Remove the last __P.
...
- Don't put space between function name and () op.
2002-11-05 04:49:05 +00:00
provos
695ad5ee17
add support for regular expressions to be more flexible with policy string
...
matching.
2002-11-02 20:04:20 +00:00
provos
c27faa29c9
performance improvement by omitting a redundant getcwd.
2002-11-02 19:57:02 +00:00
provos
98c03e54fd
register pidname and signame translation for kill(2)
2002-11-02 19:49:21 +00:00
provos
c989923700
rename exported variables to avoid name space polution.
2002-11-02 19:43:27 +00:00
provos
e93fe1e2ba
NULL to 0; from navin@gdit.iiit.net
2002-11-02 16:27:46 +00:00
itojun
8b5e86873c
typo, reported by avsm@openbsd
2002-10-31 23:01:27 +00:00