Commit Graph

2865 Commits

Author SHA1 Message Date
wiz 9b010439be Use Fl Fl for long options. Remove unnecessary Bk/Ek. 2010-06-19 11:16:31 +00:00
christos 0ac48c3baa add --use-compress-program to pax, requested by mrg. 2010-06-19 00:43:57 +00:00
riz a9adb2c9b0 If the definition of a static function is #if DES, the declaration
of it should be too.  Fixes build of ed where MKCRYPTO=no.
2010-06-09 19:20:18 +00:00
sjg 6d83722e40 PR: 39604
Reviewed by:

add_glob:
Do not stop scanning if we see '$' as it does more harm than good.
For $HOME/tm we should return $HOME/tm*
2010-06-05 03:02:37 +00:00
christos eb956cbd4d need errno for the debug build. 2010-06-03 16:14:13 +00:00
christos f82c1d73b2 set -e is supposed to work inside eval; skip EV_TESTED. 2010-06-03 16:06:48 +00:00
dholland 30dd36f330 Note that set -o tabcomplete requires either set -o emacs or set -o vi
to work.
2010-06-03 02:05:02 +00:00
rmind 8b95f823bf Fix ps(1) and top(1) to show reasonable CPU numbers i.e. cpu_index() provided
by the kernel, instead of CPU order number, which is generally random.
2010-05-31 03:18:33 +00:00
dholland a617f5fd5a Don't blow up on date +''. Patch from Robert Elz in followup to PR 39392. 2010-05-29 20:41:58 +00:00
joerg 52bf796fd6 Explicitly quote | and : meant as separate operator. Kill trailing
whitespace. Don't use \Z' with obscure character entity. Reorder sections
to canonical order.
2010-05-24 00:29:30 +00:00
joerg a6a5384f08 Don't break lines in .It, there be dragons in groff. 2010-05-14 17:37:06 +00:00
joerg 3a7ba0e773 Reorder sections to canonical order. Use .Ex -std 2010-05-14 17:11:52 +00:00
joerg fd71eb70d7 Quote punctation. 2010-05-14 02:09:58 +00:00
joerg 22c838d332 Add MKBSDTAR, defaulting to no. It switching cpio and tar to the
libarchive based frontends.
2010-04-23 19:41:02 +00:00
joerg f95fad15ff \\ -> \e 2010-04-05 21:16:21 +00:00
joerg 00e74a9bf1 \\ -> \e 2010-04-05 16:16:53 +00:00
plunky 73d0ac941f - int putbuf_func ARGS((const char *s, size_t len));
+	int (*putbuf_func) ARGS((const char *, size_t));

for pcc
 - did not recognise pointer to function
 - argument names shadowed other arguments
2010-04-02 20:19:40 +00:00
christos b22f104713 make it obvious to grep that we are checking ctime. 2010-04-02 15:09:12 +00:00
christos 221f2e33dd handle ctime returning NULL 2010-04-01 22:23:27 +00:00
dholland 1021e8e12c bump date for previous 2010-03-23 18:09:16 +00:00
dholland bf1e7b508d The -X option of tar names a file containing exception globs, not
exception filenames, same as in gtar. PR 41168 from Perry.
2010-03-23 17:21:40 +00:00
joerg 26590112cf Use .In instead of .Aq Pa for header files 2010-03-22 18:35:09 +00:00
joerg 899808a54d Use .In instead of .Aq .Pa for signal.h. 2010-03-22 18:33:27 +00:00
joerg 6004702d47 \\ -> \e 2010-03-01 21:53:58 +00:00
christos d464f08166 fix faulty logic in previous change. 2010-02-21 09:54:57 +00:00
christos 72f71b4cd6 default to the original behavior for $ENV unless POSIXLY_CORRECT is set. 2010-02-20 23:15:17 +00:00
christos 8752bdfe89 PR/42828: Richard Hansen: Don't evaluate ${ENV} if not interactive.
http://www.opengroup.org/onlinepubs/9699919799/utilities/V3_chap02.html#tag_18_05_03
2010-02-17 15:57:24 +00:00
he 76d4444c78 When using -lcurses, you also need -lterminfo.
This fixes the build for sun2, and also builds with LDSTATIC=-static,
since archive libraries don't record inter-library dependencies.
2010-02-06 23:45:24 +00:00
wiz e3da56d760 Remove trailing whitespace. 2010-02-04 22:56:11 +00:00
reed c0410f482f For the -d option, refer to parsedate(3) for examples. 2010-02-04 19:25:22 +00:00
roy 98eb889579 Userland now builds and uses terminfo instead of termcap.
OK: core@, jdc@
2010-02-03 15:34:37 +00:00
snj f3bbc67d3e Document "-f". From Andreas Wiese in PR bin/35409, slightly modified. 2010-01-22 05:41:36 +00:00
wiz 4eb4d50caa Match curly braces in undef(FILEC) case. Found by cppcheck. 2010-01-17 12:15:36 +00:00
wiz 2afd9d4a18 Bump date for cd -P support. 2010-01-01 21:46:31 +00:00
dholland a5ced5a04b fix another typo 2010-01-01 19:51:19 +00:00
dholland cd0a6973f8 Make the cd builtin accept and ignore -P, which is a kshism that has been
allowed to leak into POSIX and selects the behavior cd already implements.
Closes PR bin/42557 and also relevant to PR pkg/42168.

I suppose this should probably be pulled up to both -4 and -5...
2010-01-01 19:34:59 +00:00
dholland 87e87a1f8c fix typo 2010-01-01 18:09:16 +00:00
christos 7b9eb38d5c Remove unnecessary casts. 2009-12-21 12:44:48 +00:00
wiz 8bdb893510 Free pt in another error case.
Found by Henning Petersen using cppcheck, in PR 42488.
2009-12-21 09:17:37 +00:00
wiz 663935444d Bump date for previous. 2009-12-14 07:31:49 +00:00
christos e3fc7d5ba9 use .ORDER for rules that create multiple files. 2009-12-14 05:13:38 +00:00
dholland c1bd5c1780 Don't use NOGLOB_MTCH for pax, only for tar. Fixes fix for PR 41167 and
closes PR 42301. Since the 41167 fix was pulled up to -5, this needs to
be too.
2009-12-14 05:04:48 +00:00
dholland f83be7b79e Document "stty insane" properly. Closes PR bin/25024. 2009-12-14 02:34:52 +00:00
uebayasi b79e178285 Rewrite file generation rules using ${GENCMD}. No functional changes intended. 2009-12-11 08:39:42 +00:00
uebayasi 58b17edd41 Define dependencies of arith.[ch] on arith.y. 2009-12-07 16:22:41 +00:00
tsutsui 49ee47d09d Use %zu in printf format for size_t value. 2009-11-27 10:50:04 +00:00
seanb b0a8c7deed Back out fix for PR 22846 as it has issues. See PR 22846 for details. 2009-11-24 16:00:42 +00:00
gson dddcd98c78 Removed return statement in parser action that caused a memory leak with
the new yacc, making "sh MAKEDEV -MM init" consume 27 MB of virtual memory
with the result that NetBSD could no longer be installed on a 32 MB system.
2009-11-13 13:49:09 +00:00
wiz 193ee60c7d Correct usage for parentheses, and mark up "expression" in more places.
From Bug Hunting in PR 42286.
2009-11-10 18:19:46 +00:00
dsl b392d5450b Avoid generating a corrupt history file if multiple ksh exit together.
Fixes PR/28912
2009-10-31 21:54:01 +00:00