Bruce Evans
e788f79698
Fixed printf format errors which apparently crept in while -Wformat was
...
disabled for gcc-3.
2002-05-25 11:18:03 +00:00
Bruce Evans
ae4c33defa
"Fixed" printf format errors (64-bit daddr_t casualties; should use %jx
...
instead of %llx when %j is available).
Changed nearby output formats from %x to %#x so that it is obvious that the
numbers are in hex (vinum mostly uses 0x%x elsewhere).
Didn't fix nearby format printf errors (long lines).
2002-05-25 11:12:30 +00:00
Bruce Evans
ff8cc2eb35
Fixed printf format errors. Most of them are 64-bit daddr_t casualties.
...
Printing daddr_t's using %d format was always an error, but gcc's
warning about it was ignored for supported 64-bit arches and not printed
for supported 32-bit arches. Hundreds if not thousands thousands of
previously "fixed" daddr_t printings are now broken on 32-bit machines
by casting daddr_t's to longs. daddr_t's should be printed using %jd
format, but this fix uses %lld since %j is not implemented in the
kernel yet.
Fixed some nearby format printf errors (style bugs).
2002-05-25 11:05:07 +00:00
Bruce Evans
5cc5b1d344
Fixed a printf format error. It was old and should have been detected by
...
gcc-2.9x, but somehow wasn't fixed already.
2002-05-25 10:48:03 +00:00
Tim J. Robbins
b8b53eef91
Bad numeric arguments or usernames should cause non-zero exit status.
2002-05-25 10:37:24 +00:00
Ruslan Ermilov
01e9310be5
Make these work with one-true-awk.
...
Spotted by: nyan
2002-05-25 10:37:00 +00:00
Tim J. Robbins
d6c762af40
Determine exit status to use before writing diagnostic message; warn()
...
may change errno.
2002-05-25 03:32:23 +00:00
Tim J. Robbins
816dde7d05
Typo: use plural now that we have more than one option.
2002-05-25 03:08:21 +00:00
Tim J. Robbins
fb2582c006
If a file cannot be processed, try to process any remaining files
...
then exit non-zero.
2002-05-25 03:04:28 +00:00
Jake Burkholder
4d574756ac
Convert the interrupt queue from an array to a linked list. Implement
...
intr_dequeue in asm so that it can easily be modified to do light weight
context switching.
2002-05-25 02:39:28 +00:00
David E. O'Brien
12b51ad055
The man page is VERY WRONG about using "-o noupdate" with -s.
...
So fix it, and add an example using -s.
2002-05-25 01:46:44 +00:00
Jake Burkholder
0679dc5f91
Try to handle "double faults" occuring at more trap levels (ie 4 :)).
2002-05-25 01:45:11 +00:00
Jake Burkholder
597e13d8c5
Minor style.
2002-05-25 01:44:08 +00:00
Jake Burkholder
d2ac231616
Make the run queue parameters machine dependent. Optimize 64 bit
...
architectures by using a 64 bit word for the bit array which keeps
track of non-empty queues.
Reviewed by: peter
2002-05-25 01:12:23 +00:00
Sheldon Hearn
76a4ef69bc
Regen:
...
* Hart: rev 230 of pcidevs.txt (2002-05-21)
* Boemler: vendors.txt (2002-05-24)
2002-05-24 22:01:18 +00:00
Alfred Perlstein
fa09b4015d
Backout 1.54 (restore definition for printf0 to actually do something).
2002-05-24 19:16:08 +00:00
Tom Rhodes
e223a77118
Add the word ``fields'' to the description, and change an instance from
...
fields to num in the SYNOPSIS
Noticed by: keramida
2002-05-24 19:12:02 +00:00
Maxime Henrion
8b1a580640
Convert mount_ext2fs(8) to nmount(2).
...
Reviewed by: iedowse
2002-05-24 17:39:37 +00:00
Maxime Henrion
ad841cb9b2
Convert ext2fs to nmount(2).
2002-05-24 17:38:01 +00:00
Ruslan Ermilov
28d2080a4b
Forgot to commit this for the includes' ->
buildincludes',
...
`incsinstall' -> `installincludes' changes.
2002-05-24 16:08:13 +00:00
Ruslan Ermilov
1737392273
Back out the ``run shell from $PATH'' change; this was an overkill
...
and is insecure.
Requested by: bde
2002-05-24 15:51:27 +00:00
Gregory Neil Shapiro
8ef44867e8
Add release notes for the changed file permissions on sendmail alias
...
and map databases as well as the statistics file.
MFC after: 1 day
pending RE approval
2002-05-24 15:50:34 +00:00
Warner Losh
51cf186eab
Correct US Robotics Wireless Card 2410 entry
2002-05-24 15:28:38 +00:00
Dag-Erling Smørgrav
c096af69cd
Add openpam_nullconv.3.
2002-05-24 13:22:15 +00:00
Dag-Erling Smørgrav
f346f31b43
Add missing include.
2002-05-24 13:20:40 +00:00
Dag-Erling Smørgrav
acd268c093
This commit was generated by cvs2svn to compensate for changes in r97241,
...
which included commits to RCS files with non-trunk default branches.
2002-05-24 13:18:43 +00:00
Dag-Erling Smørgrav
55e3fbc9f1
Vendor import of OpenPAM Cinquefoil.
2002-05-24 13:18:43 +00:00
Thomas Moestl
9bb711b95d
Fully reset a gem on some error conditions; otherwise it would hang in
...
about 1 of 10 cases.
Proposed and tested by: phk
2002-05-24 12:47:41 +00:00
Ruslan Ermilov
08198a0e3e
Convert Perl scripts to awk(1).
2002-05-24 11:03:41 +00:00
Tim J. Robbins
3af4dcb223
If a file argument cannot be processed, process the remaining ones
...
and exit non-zero (SUSv3)
2002-05-24 10:58:21 +00:00
Tim J. Robbins
204c78a163
When a file name of "-" is given, read from standard input (SUSv3)
2002-05-24 09:56:18 +00:00
Mark Murray
1422d23663
The previous ANSIfication did not take into account earlier,
...
non-compliant compilers. Revert to the compatible form to allow
upgrade-builds.
2002-05-24 09:40:51 +00:00
Mark Murray
f1f239b30d
The previous ANSIfication did not take into account upgrade-builds
...
uing an earlier, non-compliant compiler. Revert to the compatible
form.
2002-05-24 09:37:10 +00:00
Tim J. Robbins
a8522a9bb7
Allow byte/character positions >_POSIX2_LINE_MAX to be specified by
...
dynamically growing the `positions' array.
2002-05-24 09:11:18 +00:00
Tim J. Robbins
d42862594a
Use fgetln(3) to handle lines of unlimited length instead of a
...
getc/putc loop.
Suggested by: dd
2002-05-24 08:56:49 +00:00
Alfred Perlstein
996076bbc7
Don't err(3) (and exit prematurely) when a sysctl's object size has
...
changed, instead just warn(3)
2002-05-24 08:34:18 +00:00
SUZUKI Shinsuke
db49169620
Fixed AES encryption algorithm bug
...
PR: kern/38465
Obtained from: Ramana Yarlagadda <ramana.yarlagadda@analog.com>
2002-05-24 07:26:17 +00:00
Tim J. Robbins
ce78cbf9e0
P1003.2 forbids imposing any limit on line lengths; read character by
...
character instead of manually buffering each line.
2002-05-24 07:05:10 +00:00
Peter Wemm
55be04ab11
Fix warnings: deprecated use of label at end of compound statement
2002-05-24 07:02:04 +00:00
Peter Wemm
daefef7cae
Fix warnings due to macro varargs.
2002-05-24 06:32:18 +00:00
Ruslan Ermilov
ccde2810d9
Removed dead code.
2002-05-24 06:30:07 +00:00
Ruslan Ermilov
d8d9770881
Handle endianness. This completes cross-support for sparc64.
2002-05-24 06:24:40 +00:00
Peter Wemm
b01d78f42f
Oops, I missed this warning. Comment out extra junk after #endif
2002-05-24 06:22:48 +00:00
Peter Wemm
260a7c5a44
Pacify gcc by preinitializing a variable.
2002-05-24 06:17:42 +00:00
Tim J. Robbins
0968654cfd
Exit with non-zero status if any files specified could not be opened
...
when -s option is given (SUSv3).
2002-05-24 06:17:29 +00:00
Peter Wemm
86a492bffa
Fix a few warnings by adding a missing prototype
2002-05-24 06:17:17 +00:00
Peter Wemm
ac0f456146
Fix warning; Extra tokens after #endif
2002-05-24 06:11:07 +00:00
Peter Wemm
46d870bc0c
Fix warning; remove unused arg that was passed through uninitialized.
2002-05-24 06:10:25 +00:00
Peter Wemm
34e3110c70
Fix warnings. Also, removed an unused variable that I found that was just
...
initialized and never used afterwards.
2002-05-24 06:06:18 +00:00
Tim J. Robbins
a6ea32c3c5
If processing of one file fails, try to process the remaining files and
...
exit non-zero instead of immediately exiting. The traditional BSD
behaviour is explicitly forbidden by P1003.2.
2002-05-24 06:03:12 +00:00