summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Lock down with WFORMAT=1 except those directories with unfixed warnings.kris2002-02-0410-1/+16
| | | | Tested on i386 and alpha.
* Silence some WFORMAT=1 warningskris2002-02-041-3/+3
|
* Lock down with WFORMAT?=1, with overrides in the subdirectories whichkris2002-02-0413-4/+18
| | | | are not yet warning-clean. Tested on i386 and alpha.
* Mark a function as __printflike()kris2002-02-041-1/+1
| | | | MFC after: 1 week
* Mark a function as __printflike()kris2002-02-041-1/+1
| | | | MFC after: 1 week
* Mark a function as __printf0like(). This exposes a warning which requireskris2002-02-041-1/+1
| | | | | | some code changes to fix but should be possible. MFC after: 1 week
* Prototype a function as __printflike() to avoid a FORMAT_AUDIT warning.kris2002-02-041-0/+2
| | | | MFC after: 1 week
* Mark report() as printflike and fix resulting warnings, including one bugkris2002-02-044-4/+4
| | | | (get_errmsg -> get_errmsg())
* Silence some FORMAT_AUDIT warnings (one left)kris2002-02-041-2/+2
|
* __printflike() should really be __printf0like() since verrx() cankris2002-02-041-1/+1
| | | | accept a NULL format string.
* Add a __printflike() attribute to silence warning with FORMAT_AUDIT=1kris2002-02-041-1/+2
|
* Add the other half of the salt-generating code. No functionalmarkm2002-02-041-8/+7
| | | | | difference except that the salt is slightly harder to build dictionaries against, and the code does not use srandom[dev]().
* Forced commit.markm2002-02-030-0/+0
| | | | | | Previous commit included a large improvement to the salt generation to help obfuscate information that is otherwise leaked. No real risks involved, but this feels better, and does not use srandom[dev]().
* Use __FBSDID() and clean up the vendor tags.markm2002-02-035-21/+27
|
* WARNS=4 fixes, plus a healthy dose of fixes inspired by lint.markm2002-02-037-72/+84
|
* Follow NetBSD and ANSIfy the function definitions.joe2002-02-033-343/+232
| | | | Remove trailing whitespaces (submitted to NetBSD).
* o Eliminate __Pimp2002-02-037-272/+149
| | | | | | o Use new-style function definitions o remove some !__STDC__ code o eliminate register
* Turn on fascist warning mode.markm2002-02-031-0/+2
|
* WARNS fix. Zap an unused variable.markm2002-02-031-1/+1
|
* WARNS=n fixes (and some stylistic issues).markm2002-02-036-55/+91
|
* WARNS=4 fixes (incomplete, so set NO_WERROR), and lots of extramarkm2002-02-0310-235/+239
| | | | cleanup courtesy of automatic checking (lint).
* WARNS-n and lint(1) silencer. Declare (const) strings properly asmarkm2002-02-031-1/+1
| | | | 'const char *'.
* WARNS=n and lint(1) silencer. Declare an array of (const) stringsmarkm2002-02-031-1/+1
| | | | as const char.
* Zero functional difference; make some integer constants unsigned, asmarkm2002-02-032-4/+4
| | | | | they are used in unsigned context. This shuts lint(1) up in a few significant ways with "signed/unsigned" arithmetic warnings.
* Make the style a little bit more consistant by removing parametermarkm2002-02-032-6/+4
| | | | | names from some prototypes. (Other prototypes here already have these removed).
* Work around a buffer overflow problem on argv that has been exposedknu2002-02-031-6/+16
| | | | | | | | | | | | | | | | | | 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
* Use osigreturn(2) instead of sigreturn(2) plus broken magic for returningbde2002-02-037-42/+18
| | | | | | | | | | | | | | | | | | from old signal handlers. This is simpler and faster, and fixes (new) sigreturn(2) when %eip in the new signal context happens to match the magic value (0x1d516). 0x1d516 is below the default ELF text section, so this probably never broken anything in practice. locore.s: In addition, don't build the signal trampoline for old signal handlers when it is not used. alpha: Not fixed, but seems to be even less broken in practice due to more advanced magic. A false match occurs for register #32 in mc_regs[]. Since there is no hardware register #32, a false match is only possible for direct calls to sigreturn(2) that happen to have the magic number in the spare mc_regs[32] field.
* Use new ID scheme.mike2002-02-031-25/+20
| | | | | | | | Fix a bug that caused .br domains to be queried twice, by only recursively following ARIN referrals when querying ARIN. PR: 34291 MFC after: 7 days
* Change variable name from DOCDISTFILES to RELEASEDISTFILES. Respectmatusita2002-02-031-4/+9
| | | | | | | | | | | | | | | | | | DOCDISTFILES if defined. No impact should happen with this change. DOCDISTFILES is introduced by rev. 1.541, to point the directory that contains the distfiles for ports/textproc/docproj. It's good, but we also build ports/sysutils/mkisofs during the release (if MAKE_ISOS is defined). It is natural that cdrtools tarball is prefetched, then copy it under ${CHROOTDIR}/usr/ports/distfiles. As a result, DOCDISTFILES variable is somewhat abused for non-doc tarballs; *DOC*DISTFILES is no longger appropriate name for that. PR: 16843 PR: 34194 Submitted by: murray MFC after: 6 days
* Improve the change in the previous commit: use a stub for osigreturn()bde2002-02-035-0/+20
| | | | when it is not really used instead of unconditionalizing all of it.
* Use a more correct method of copying entire ACLs (fixesjedgar2002-02-031-3/+16
| | | | operation under Linux).
* Regenerate.joe2002-02-022-503/+615
|
* Update comments and product identifiers so that they're the samejoe2002-02-021-12/+12
| | | | as NetBSD's definitions.
* Add some missing usb vendors (from NetBSD).joe2002-02-021-0/+16
|
* Sync with NetBSD's version, dropping all the 'ltd', 'corp', etc.joe2002-02-021-140/+140
| | | | | | It's more important to keep this file easily syncable across the BSDs, and NetBSD have stated a preference for not adding them to theirs.
* Remove an unnecessary #include that trips up OpenPAM. The header in questiondes2002-02-021-2/+0
| | | | | | | | is an internal Linux-PAM header which shouldn't be used outside Linux-PAM itself, and has absolutely zero effect on pam_ftp. Sponsored by: DARPA, NAI Labs MFC after: 1 week
* Don't declare our own common version of the library variable `ospeed'.bde2002-02-021-1/+1
| | | | | | | Include <termcap.h> to get its declaration. Our initialization of it is still dubious, but it agrees with ncurses' documentation of it (none) and with ncurses' recently fixed internals for it (old speeds from <sys/ttydev.h>) and with the 4.4Lite documentation for it.
* Don't declare the library variable `ospeed' without even getting itsbde2002-02-021-2/+1
| | | | | | | | type correct. Include <termcap.h> to get its declaration. Our initialization of it is still dubious, but it agrees with ncurses' documentation of it (none) and with ncurses' recently fixed internals for it (old speeds from <sys/ttydev.h>) and with the 4.4Lite documentation for it.
* Don't declare our own common version of the library variable `ospeed'bde2002-02-021-1/+1
| | | | | | | | without even getting its type correct. Include <termcap.h> to get its declaration. Our initialization of it is still dubious, but it agrees with ncurses' documentation of it (none) and with ncurses' recently fixed internals for it (old speeds from <sys/ttydev.h>) and with the 4.4Lite documentation for it.
* Fix unused variable.imp2002-02-021-0/+1
|
* missed a few registersimp2002-02-021-3/+3
|
* Ooops, forgot to remove the registers here.imp2002-02-0214-318/+318
|
* %.* takes an int, not a size_t.imp2002-02-021-1/+2
|
* o __P has been reovedimp2002-02-0262-1412/+780
| | | | | | | | | | | | | | | | | | 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 __P has been reovedimp2002-02-0242-1809/+447
| | | | | | | | | 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 __P has been reovedimp2002-02-0211-348/+207
| | | | | | | | | | | | 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 __P has been reovedimp2002-02-0211-156/+106
| | | | | | | | | | | 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)
* Modernization effort for bin/c*:imp2002-02-026-129/+67
| | | | | | | | | | | | 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)
* Drag cat(1) kicking and screaming into the late 1980's:imp2002-02-021-21/+11
| | | | | | | | | | | | 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 Add the prototype of cr_cansignal() from an earlier change torwatson2002-02-021-0/+1
| | | | | | | | | kern_prot.c. This has apparently been sitting in my local tree for ages, and has been generating a warning during the building of kern_prot.o. Obtained from: TrustedBSD Project Sponsored by: DARPA, NAI Labs
OpenPOWER on IntegriCloud