| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
commercial lint and WARNS=4.
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
| |
functionality and make it the default.
With additional improvements by: Mark Peek <mp@FreeBSD.org>
|
| |
|
| |
|
|
|
|
|
|
|
| |
and user_from_uid to grp.h and pwd.h. Update the man pages.
Submitted by: David Malone
Pointy hat to: imp
|
|
|
|
| |
include stdlib.h for NULL.
|
| |
|
|
|
|
|
| |
so we can at least tell the difference between being blocked in Giant
and being blocked in some other mutex.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Move group_from_gid to grp.h
Remove from stdlib.h
Make the prototypes match the code
Fix rm and mv to include new files.
NetBSD has these defined in those files, and others too that I've not
done.
Approved by: terminal room kabal
Reviewed by: jhb, phk
|
|
|
|
|
|
| |
PR: misc/34800 (from Steven Grady)
Submitted by: phantom (patch)
MFC after: 3 days
|
|
|
|
| |
as part of the move to seperate realpath(1) into its own directory.
|
|
|
|
|
| |
o Fix some unordered includes in pwd(1).
o Connect realpath(1) to the build.
|
|
|
|
| |
shared sources with pwd(1).
|
|
|
|
|
|
| |
`__progname'.
Submitted by: dd
|
|
|
|
| |
help the GCC3 transition and CURRENT in general.
|
| |
|
|
|
|
| |
Reviewed by: jkh
|
|
|
|
|
|
|
|
| |
complain about paths starting with `-', by not calling getopt(3).
Submitted by: Tim J. Robbins <tim@robbins.dropbear.id.au>
Obtained from: NetBSD (partially)
MFC after: 1 month
|
| |
|
|
|
|
| |
Tested on i386 and alpha.
|
|
|
|
| |
accept a NULL format string.
|
| |
|
| |
|
| |
|
|
|
|
| |
cleanup courtesy of automatic checking (lint).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
after making test(1) a sh(1) builtin; sh(1) coredumps when you run
something like this:
sh -c 'test ! `true 1`'
The cause is that the test(1) code totally depends on the presence of
two extra cells at the end of argv that are filled with NULL's. The
reason why the bug hasn't been exposed would be because the C startup
code kindly prepares argv with some extra zeroed cells for a program.
I know this is not the best fix, but since there are argv++'s without
boundary checks everywhere, I'd rather patch it up like this
(preparing a copy of argv with extra NULL's) for the moment.
MFC after: 3 days
|
|
|
|
| |
operation under Linux).
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
o Change
int
foo() {
...
to
int
foo(void)
{
...
|
|
|
|
|
|
|
|
|
| |
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
|
|
|
|
|
|
|
|
|
|
|
|
| |
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
o gc some #ifdef sun ... #endif code
Approved by: arch@, new style(9)
|
|
|
|
|
|
|
|
|
|
|
| |
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
Approved by: arch@, new style(9)
|
|
|
|
|
|
|
|
|
|
|
|
| |
o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
Approved by: arch@, new style(9)
|
|
|
|
|
|
|
|
|
|
|
|
| |
o __P has been reoved
o Old-style K&R declarations have been converted to new C89 style
o register has been removed
o prototype for main() has been removed (gcc3 makes it an error)
o int main(int argc, char *argv[]) is the preferred main definition.
o Attempt to not break style(9) conformance for declarations more than
they already are.
Approved by: arch@, new style(9)
|
|
|
|
|
|
|
| |
file.
PR: docs/34224
Submitted by: "Gary W. Swearingen" <swear@blarg.net>
|
|
|
|
| |
Submitted by: bde
|
|
|
|
|
|
| |
PR: docs/34134
Reviewed by: bde, peter
MFC after: 1 month
|
|
|
|
|
| |
debogosify some of the command-line string-number conversions into
an unsigned and signed variant.)
|
|
|
|
|
|
| |
PR: bin/19422
Not objected to by: -audit
MFC after: 3 weeks
|
|
|
|
| |
Reviewed by: md5
|