Commit Graph

30 Commits

Author SHA1 Message Date
christos 06b55256bc minor KNF nits. 2010-11-16 02:53:49 +00:00
njoly 53f8ab79a9 Do use putenv(3) to handle the provided strings directly, instead of
setenv(3) which need string splitting and later reassembly.
2010-10-16 11:13:52 +00:00
jschauma 40df9f7982 remove duplicate 'was' in a comment 2010-10-15 19:35:08 +00:00
lukem 98e5374ccb Remove the \n and tabs from the __COPYRIGHT() strings.
Tweak to use a consistent format.
2008-07-21 14:19:20 +00:00
wiz cce3a1d216 Improve description of EXIT CODES. Based on the following OpenBSD commit,
forwarded by jmc@openbsd:
----------------------------
revision 1.14
date: 2007/05/20 23:15:57;  author: jmc;  state: Exp;  lines: +19 -18
rewrite DIAGNOSTICS to avoid confusion about which application returns
what, and when;

started by Jeffrey 'jf' Lim, with some correction from Ingo Schwarze;
ok otto
----------------------------
2007-06-08 18:20:42 +00:00
perry c2e350ed82 de-__P, add ANSI prototypes, and a teeny bit of KNF. 2006-01-04 01:05:19 +00:00
agc 89aaa1bb64 Move UCB-licensed code from 4-clause to 3-clause licence.
Patches provided by Joel Baker in PR 22365, verified by myself.
2003-08-07 11:13:06 +00:00
grant be8ae688ae New sentence, new line. 2002-09-30 11:08:56 +00:00
wiz f06ffe13b7 Punctuation nit. 2001-12-01 19:07:26 +00:00
wiz aded0d2cce Whitespace cleanup. 2001-12-01 16:43:07 +00:00
christos 35d2e40e99 fix nested extern 2001-02-05 01:39:27 +00:00
kleink 4918722a89 For commands and utilities, use EXIT STATUS rather than RETURN VALUES or
DIAGNOSTICS as appropriate (and documented in mdoc(7)).
2000-09-04 07:35:15 +00:00
simonb d88dfea295 Don't declare 'extern opt*' getopt variables. 2000-04-14 06:11:07 +00:00
lukem 3f8c4dac86 revert previous 1999-11-02 10:55:47 +00:00
lukem 0895d2339e remove superfluous '-' in getopt string 1999-11-02 10:52:49 +00:00
lukem 0fbfce3460 WARNSify, fix .Nm usage 1997-10-18 13:54:51 +00:00
tls 9d225a1783 RCS ID police 1997-01-09 20:18:21 +00:00
jtc 273e6cc624 Include appropriate header files to bring prototypes into scope.
Removed explicit errno declarations.
1996-05-07 18:32:22 +00:00
perry 26727e4c01 Merge and Sync with 4.4BSD-Lite2
Mostly looks like the previous NetBSD version, actually -- only minimal
Lite2 stigmata preserved although I started with Lite2. Mostly the changes
were things like index->strchr and the rest was NetBSD code.
1995-09-28 07:34:35 +00:00
jtc e04c8e0705 Fix spelling errors. 1994-01-11 02:10:48 +00:00
jtc 78d7367603 Provide prototypes in static function declarations. 1993-12-31 19:26:21 +00:00
jtc 404b36ffd9 POSIX.2 utilities must call setlocale(LC_ALL, ""); 1993-11-19 20:06:41 +00:00
jtc 3ee54fb39e simplify error message handling by using err() function. 1993-11-10 20:06:00 +00:00
jtc 8493051c26 Document the fact that env is POSIX.2 compliant.
Change "command" to "utility", as env can only execute stand-alone utilitys
as apposed to built-in commands.
1993-08-28 04:19:10 +00:00
jtc f7c6bf575a Minor tweaks: including header files to bring prototypes into scope,
explicitly declaring function return values, etc. to make gcc -Wall
shut up.
1993-08-27 22:30:10 +00:00
mycroft e9d867ef50 Add RCS identifiers. 1993-08-01 17:54:45 +00:00
mycroft dfb9caab49 Add RCS indentifiers. 1993-08-01 07:32:48 +00:00
mycroft 690cae8181 Add RCS indentifiers. 1993-07-31 15:17:49 +00:00
jtc 2ab235c8c0 Make Posix 1003.2 (Draft 11.2) compliant. 1993-07-14 20:24:33 +00:00
cgd 61f282557f initial import of 386bsd-0.1 sources 1993-03-21 09:45:37 +00:00