Commit Graph

5129 Commits

Author SHA1 Message Date
jmallett
831e54bef9 Add some spurious veritcal whitespace to reduce diffs to OpenBSD. 2002-05-01 21:45:22 +00:00
jmallett
5f1aa32acd Merge local changes again, against ANSIfied m4(1). 2002-05-01 21:37:29 +00:00
peter
22e8a6eda2 Do not bother with #include <machine/psl.h> since it is just a stub file
that says something like "/* Not used on Alpha */".
2002-05-01 06:23:48 +00:00
jake
8c61e8a738 Build elf2aout for sparc64. 2002-04-30 02:42:23 +00:00
dwmalone
c6f306a6a4 Don't use ISO_8859 when I should use ISO8859. 2002-04-29 20:57:36 +00:00
ru
6685a25787 Do not override the `install' target. 2002-04-29 10:28:11 +00:00
dwmalone
4af9569b92 Add a French calendar.
PR:		32265
Submitted by:	Thierry Thomas <thierry@pompo.net>
MFC after:	1 week
2002-04-28 23:22:13 +00:00
markm
905d923df1 Minor nit; return(foo) from main rather than exit(foo). 2002-04-28 14:04:24 +00:00
markm
1564a712ca Very minor whitespace nit. 2002-04-28 13:59:42 +00:00
markm
183c01f925 Remove GCC-specific flags. 2002-04-28 13:58:41 +00:00
markm
09b63c5efb Reorder for style. 2002-04-28 13:54:45 +00:00
markm
443c5ce6b2 Remove GCC-specific flags. 2002-04-28 13:53:38 +00:00
markm
deaa4a187b Fix VCS tags; ANSIfy functions 2002-04-28 13:50:54 +00:00
markm
afdd6c61a4 Add some function prototypes to squash warnings. 2002-04-28 13:49:15 +00:00
markm
de78eb8c7f Easy warns fixes; sort out some types and me them a bit more consistent;
fix initialisers.
2002-04-28 13:46:40 +00:00
markm
a735b516eb Warnings fix; ANSIfy, constify, mark unused function parameter(s). 2002-04-28 13:00:16 +00:00
markm
2f918abe2e Warns; ANSIfy, constify and move declarations into a common header. 2002-04-28 12:55:35 +00:00
markm
432896d29d Remove GCC-specific flags. 2002-04-28 12:54:24 +00:00
markm
d642bb3e8a Fix a const-char vs char issue. 2002-04-28 12:39:12 +00:00
markm
bf0d40842d Very minor whitespace nit. 2002-04-28 12:36:56 +00:00
markm
20e29126e7 Declarations cleanup; make sure externs are in a common header.
Fix declarations, casts and return values.
2002-04-28 12:34:54 +00:00
markm
38668d26e3 warns fixes; ANSIfy, deregister, constify. 2002-04-28 12:28:41 +00:00
markm
ed297fee6f Easy warns fixes; constify. 2002-04-28 12:25:03 +00:00
markm
2ddedfffab Style; line up columns, space things out more consistently. 2002-04-28 12:24:20 +00:00
markm
673f6ef6d9 Style fixes; whitespace and header order. 2002-04-28 12:21:31 +00:00
markm
2df22de47e Fix VCS inclusion and tidy up #includes. 2002-04-28 12:19:30 +00:00
markm
d4767a7bb1 Cast to kill warnings. De-register. 2002-04-28 12:17:27 +00:00
markm
0f588b9373 fix warnings; change variable/argument names that mask global names. 2002-04-28 12:15:40 +00:00
markm
9302f8d66b Remove GCC-specific flags and commented out cruft. 2002-04-28 12:14:10 +00:00
markm
38c3f4b69a Some easy const fixes. 2002-04-28 12:12:49 +00:00
markm
62123726bd ANSIfy, VCS inclusions and some very minor style. 2002-04-28 12:09:33 +00:00
markm
df2d11edfa Minor reorder for style. 2002-04-28 12:08:18 +00:00
markm
aa3fa5ac74 Fix some easy warnings; ANSIfy, constify.
Fix VCS inclusion and deregister.
2002-04-28 12:04:20 +00:00
markm
6e62811ca3 ANSIfy functions, and move extern declarations into a shared header
where ${DEITY} intended them to be.
2002-04-28 11:59:43 +00:00
markm
06bdac1d86 Fix VCS inclusions. 2002-04-28 11:52:43 +00:00
markm
82e411fc67 More low hanging warnings fruit; ANSIfy, de-register, constify. 2002-04-28 11:51:03 +00:00
markm
a62032343e Fix some low-hanging fruit in the warnings department; ANSIfy functions,
sort out some const issues.
2002-04-28 11:44:30 +00:00
markm
2720780e6c Easy warns fixes; use const, mark unused function parameters. Remove
unused includes.
2002-04-28 11:16:43 +00:00
markm
68f25a87ca Remove GCC-specific flags. 2002-04-28 11:15:47 +00:00
markm
f7c4d20a39 Trivial warnings fixes; staticise and use unsigned.
Use __FBSDID().
2002-04-28 11:13:20 +00:00
markm
f7a5378f71 Use __FBSDID, ANSIfy functions, fix const string. 2002-04-28 11:00:34 +00:00
markm
1b4a05fc90 Use __FBSDID(), ANSIfy headings, use const/unsigned in minor but
appropriate places.
2002-04-28 10:56:09 +00:00
markm
e93fa004d7 Style only; format function declarations, sort header includes, and
use __FBSDID().
2002-04-28 10:49:15 +00:00
ume
64ac411ccb Backout copyright notice I broke by my previous commit. 2002-04-26 12:16:34 +00:00
tjr
dd646660ba Some minor nits exposed by the Open Group's VSC Lite verification suite:
- When an error occurs processing one file, we must continue to process
  the remaining files.
- Convert trailing whitespace to tabs as appropriate.
- Align backspace handling with what the verification suite expects.

Reviewed by:	mike
2002-04-25 23:04:52 +00:00
tjr
12a8faa64a Handle numbers larger than QUAD_MAX for unsigned conversions correctly.
Exit with nonzero status if a conversion failed.
Play nice if used as a shell builtin (currently disabled).

Submitted by:	bde (partially)
Approved by:	mike
2002-04-25 01:10:11 +00:00
obrien
c114ef416e Back out the NO_RCMNDS knob.
1. The committer refused to respond to questions over the commit.
2. The servers rlogind, rshd, rexecd were not wrapped.
3. "rcmnds" as an abbreviation gets an order of magnitude less hits on
    Google than the much more well known "rcmds".
2002-04-23 23:59:51 +00:00
obrien
3311fa2aba Restore some of the original variable names, but fix the warnings their
renaming addressed by removing the global variants instead.
2002-04-23 20:30:30 +00:00
tjr
fb16fb2f87 Add the -t option, which allows tab stop positions to be specified similarly
to the way expand(1) allows. This brings unexpand(1) up to SUSv3 conformance,
and it now passes all relevant parts of the GNU textutils test suite.

PR:		35621
Reviewed by:	mike
2002-04-23 07:15:09 +00:00
jmallett
d1fecdf4b5 - printf shouldn't bail out if a conversion fails, it should just keep
processing them.
 - \c escape to immediately stop output (similar to echo's \c)
 - \0NNN should be allowed for octal character escapes (instead of just \NNN)
 - %b conversion, which is like %s but interprets \n \t etc. inside the
   string is missing.

And I may not be any poet, but in lieu of an in-tree regression test:
ref5% ./printf '%s%b%b%c%s%d\n' 'PR' '\0072' '\t' '3' '56' 0x10
PR:     35616

Submitted by:	tjr
MFC after:	1 week
2002-04-23 02:56:16 +00:00