Commit Graph

18 Commits

Author SHA1 Message Date
lukem 5a1df86c01 Convert to using raise_default_signal(3). 2007-10-14 11:21:32 +00:00
msaitoh 8ce1f4fff2 fix typos 2007-04-29 20:23:34 +00:00
christos cd2ccbaf94 Coverity CID 3212: Don't return, goto out in all cases so that cleanup
happens.
2006-05-24 15:59:06 +00:00
christos a0c086aaf2 Coverity CID 2989: Use the error path to return. 2006-05-01 23:31:10 +00:00
christos df58c5cd15 Coverity CID 1660: Plug memory leaks. 2006-04-02 04:17:08 +00:00
christos 2296939e9c PR/32402: Jeffrey Bedard: pr filter dumps core with -s option specified,
when -s is specified with no argument. Option arguments in pr (as documented)
need to immediately follow the option. For example to set the separator char
to `.' you need to use "pr -s." instread of "pr -s .". The second form sets
the separator character to tab, and reads from file `.'. Coredumping is wrong
anyway, so fix that. Grr to POSIX for not forcing pr and a few other utilities
to use getopt(3).
cvs: ----------------------------------------------------------------------
2005-12-28 21:29:16 +00:00
agc ed6ed8e698 Move Keith Muller's code from a 4-clause to a 3-clause licence by removing
the advertising clause. Diffs provided in PR 22397 by Joel Baker, confirmed
to the board by Keith Muller.
2003-10-13 07:41:22 +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
wiz a9356936b4 seperate -> separate 2001-07-22 13:33:58 +00:00
kleink 9ff4b1c139 Don't be silly and try to read an strftime() format string from the LC_TIME
environment variable; since there isn't a standard format provided by the
C library that corresponds to pr's default header format, add a new option
'-T' to take a strftime() format string if desired.
2000-10-22 15:06:52 +00:00
simonb fdbafc0681 For the -i option, don't convert a single space before a tab stop to a
tab.  Fixes PR bin/5797 from Todd Vierling.
2000-07-13 02:07:53 +00:00
christos 2136635414 char -> unsigned char 1998-12-19 20:11:20 +00:00
kleink 9629495d5e Need <time.h> for localtime() and strftime() prototypes. 1998-04-02 10:42:51 +00:00
lukem 9b5a69b52c WARNSify, fix .Nm usage, deprecate register 1997-10-19 12:36:23 +00:00
tls 0214c17253 RCS ID police 1997-01-09 15:01:32 +00:00
cgd ed7cdf533b can't assume that timeval.ts_sec is same type as time_t. grr. 1995-06-07 16:09:53 +00:00
cgd 1675d43043 from John F. Woods <jfw@ksr.com>:
don't crap out if -w specified and not in multi-column mode.
my reading of my draft of P.2 indicates that this is allowed, just
ignored...
1994-03-07 05:42:17 +00:00
cgd aa8f4ca3f3 add berkeley pr 1994-01-06 15:57:25 +00:00