| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
| |
original attempt of the fix. And yes, this time I've tried to build
world with it and it succeeded.
Submitted by: Tor Egge
MFC after: 1 week
|
| |
|
|
|
|
| |
that the keyword is recognized.
|
|
|
|
| |
a combination of my words and his. We will stop fiddling now. :-)
|
| |
|
| |
|
|
|
|
|
|
| |
Fixed setting of WARNS in rev.1.16. Options should normally be set using
using "?=", not using "=", so that the setting is easy to override on the
command line, and setting WARNS to 0 should not be an exception.
|
|
|
|
| |
Submitted by: Jordan DeLong <fracture@allusion.net
|
| |
|
|
|
|
| |
PR: bin/28007
|
| |
|
| |
|
|
|
|
| |
Requested by: bde
|
|
|
|
|
|
|
|
| |
file sizes to be displayed with unit suffixes; Byte, Kilobyte,
Megabyte, Gigabyte, Terabyte and Petabyte in order to reduce the
number of digits to three or less.
Submitted by: nik
|
| |
|
| |
|