Commit Graph

1944 Commits

Author SHA1 Message Date
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