| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
I'm starting with the easy cases. The leftovers need to be looked at a
bit more closely.
Note that this change _does_ modify the code of the old tests. This is
required in order to allow the code to locate the data files in the
source directory instead of the current directory, because Kyua
automatically changes the latter to a temporary directory.
Also note that at least one test is known to be broken here. Actually,
the test is not really broken: it's marked as a TODO but unfortunately
Kyua's TAP parser currently does not understand that. Will have to be
fixed separately.
|
| |
|
|
|
|
| |
Reported by: tinderbox
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
This compiler flag enforces that that people either mark variables
static or use an external declarations for the variable, similar to how
-Wmissing-prototypes works for functions.
Due to the fact that Yacc/Lex generate code that cannot trivially be
changed to not warn because of this (lots of yy* variables), add a
NO_WMISSING_VARIABLE_DECLARATIONS that can be used to turn off this
specific compiler warning.
Announced on: toolchain@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
| |
In addition to adding missing `static' keywords:
- bin/dd: Pull in `extern.h' to guarantee consistency with source file.
- libexec/rpc.rusersd: Move shared globals into an extern.h.
- libexec/talkd: Move `debug' and `hostname' into extern.h.
- usr.bin/cksum: Put counters in extern.h, as they are used by ckdist/mtree.
- usr.bin/m4: Move `end_result' into extern.h.
- usr.sbin/services_mkdb: Move shared globals into an extern.h.
|
| |
|
|
|
|
|
|
|
|
| |
- old yacc(1) use to magicially append stdlib.h, while new one don't
- new yacc(1) do declare yyparse by itself, fix redundant declaration of
'yyparse'
Approved by: des (mentor)
|
|
|
|
|
| |
Obtained from: OpenBSD
Approved by: des (mentor)
|
|
|
|
|
| |
Submitted by: Marc Espie (espie@OpenBSD.org)
Approved by: des@ (mentor)
|
|
|
|
|
|
|
|
|
|
|
| |
The reasoning behind this, is that if we are consistent in our
documentation about the uint*_t stuff, people will be less tempted to
write new code that uses the non-standard types.
I am not going to bump the man page dates, as these changes can be
considered style nits. The meaning of the man pages is unaffected.
MFC after: 1 month
|
|
|
|
| |
if the else belongs to.
|
|
|
|
| |
Pointy hat to: bapt
|
|
|
|
|
|
|
|
| |
thought the -g (mimic gnu) option
Reviewed by: cognet
Approved by: cognet
Discussed with: espie@OpenBSD.org (upstream)
|
|
|
|
|
|
|
|
| |
This bring better compatibility with gnum4
Reviewed by: cognet
Approved by: cognet
Obtained from: OpenBSD, NetBSD
|
|
|
|
| |
This allows compilers and static analyzers to more thorough analysis.
|
|
|
|
| |
Change the parser; rename `exp' to `exponent' not to collide with exp(3).
|
|
|
|
|
|
| |
PR: bin/154928
Submitted by: Eitan Adler <lists at eitanadler.com>
MFC after: 3 days
|
|
|
|
|
|
|
|
|
| |
is in accordance with the information provided at
ftp://ftp.cs.berkeley.edu/pub/4bsd/README.Impt.License.Change
Also add $FreeBSD$ to a few files to keep svn happy.
Discussed with: imp, rwatson
|
|
|
|
| |
Also add some missing $FreeBSD$ to keep svn happy.
|
|
|
|
| |
Approved by: re (kensmith)
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
duplicate allocated on the heap; the address defn points to is significant,
and is checked against the address of "null" in certain conditionals.
PR: 59883
MFC after: 1 week
|
| |
|
|
|
|
| |
by POSIX.
|
| |
|
|
|
|
|
|
| |
to variadic functions.
Approved by: das (mentor)
|
|
|
|
|
|
|
|
| |
precedence. Add short-circuit evaluation.
PR: bin/60914
Reviewed by: petef
Discussed with: jeff, petef
|
|
|
|
| |
Submitted by: K S Braunsdorf <sed@ksb.npcguild.org>
|
|
|
|
| |
Submitted by: osa
|
| |
|
|
|
|
|
| |
right place in the output stream when redirected to a file (when full
buffering is enabled). Noticed by schweikh on freebsd-standards.
|
| |
|
| |
|
|
|
|
| |
rather than int.
|
|
|
|
| |
MFC after: 3 days
|
| |
|
| |
|
|
|
|
| |
<type> <identifier>(<void-type>) in ANSI C.
|
| |
|
|
|
|
| |
the previous revision due to the biggest line changing.
|
|
|
|
| |
This messes up some indentation in mdef.h for some macros.
|
|
|
|
| |
Use the literal string 'PWB UNIX', as we still have no .At macro for it.
|
|
|
|
|
|
|
|
| |
not change the code to always do the "GNU" thing, as it's possible people
rely on BSD m4(1) traditionally resetting comment characters in case of no
arguments to the changecom function.
PR: bin/17480 (I think this satisfies the problem report)
|
| |
|
| |
|
|
|
|
| |
but exit non-zero.
|