| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Add -E flag (make warnings fatal), following the behavior of GNU m4 1.4.9+
Help and direction millert@ espie@ anton@ deraadt@
ok espie@
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=352065
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Mainly focus on files that use BSD 3-Clause license.
The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.
Special thanks to Wind River for providing access to "The Duke of
Highlander" tool: an older (2014) run over FreeBSD tree was useful as a
starting point.
Notes:
svn path=/head/; revision=326025
|
| |
|
|
| |
Notes:
svn path=/head/; revision=291128
|
| |
|
|
|
|
|
| |
Obtained from: OpenBSD
Notes:
svn path=/head/; revision=283089
|
| |
|
|
|
|
|
|
|
|
|
| |
This brings:
- check for integer overflows in custom allocs
- fix potential integer overflows in memory allocation
- annotate regexp error messages with source string
- better error handling in mkstemp/unlink/fdopen logic
Notes:
svn path=/head/; revision=269162
|
| |
|
|
| |
Notes:
svn path=/head/; revision=250226
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
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.
Notes:
svn path=/head/; revision=241777
|
| |
|
|
|
|
|
|
| |
Submitted by: Marc Espie (espie@OpenBSD.org)
Approved by: des@ (mentor)
Notes:
svn path=/head/; revision=234310
|
| |
|
|
|
|
|
|
|
|
|
| |
This bring better compatibility with gnum4
Reviewed by: cognet
Approved by: cognet
Obtained from: OpenBSD, NetBSD
Notes:
svn path=/head/; revision=228063
|
| |
|
|
|
|
|
| |
This allows compilers and static analyzers to more thorough analysis.
Notes:
svn path=/head/; revision=227241
|
| |
|
|
|
|
|
| |
Change the parser; rename `exp' to `exponent' not to collide with exp(3).
Notes:
svn path=/head/; revision=226422
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=216370
|
| |
|
|
|
|
|
|
|
|
|
| |
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
Notes:
svn path=/head/; revision=133858
|
| |
|
|
| |
Notes:
svn path=/head/; revision=132004
|
| |
|
|
|
|
|
| |
MFC after: 3 days
Notes:
svn path=/head/; revision=102917
|
| |
|
|
| |
Notes:
svn path=/head/; revision=100014
|
| |
|
|
| |
Notes:
svn path=/head/; revision=99941
|
| |
|
|
|
|
|
| |
<type> <identifier>(<void-type>) in ANSI C.
Notes:
svn path=/head/; revision=99939
|
| |
|
|
| |
Notes:
svn path=/head/; revision=99938
|
| |
|
|
|
|
|
| |
This messes up some indentation in mdef.h for some macros.
Notes:
svn path=/head/; revision=98490
|
| |
|
|
|
|
|
| |
but exit non-zero.
Notes:
svn path=/head/; revision=97296
|
| |
|
|
|
|
|
|
|
| |
Add __FBSDID() properly.
Requested by: bde, mike
Notes:
svn path=/head/; revision=95982
|
| |
|
|
|
|
|
|
| |
take care of them), and add __FreeBSD__ to the defined() checks for the
_PATH_DIVNAME.
Notes:
svn path=/head/; revision=95918
|
| |
|
|
| |
Notes:
svn path=/head/; revision=95887
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Cast sizeof() to (int), as it's being compared against an int, not a size_t.
If i is changed to a size_t, it means the logic must be slightly changed later
in the flow, where --i is checked to be >= 0. I am not sure I want to make a
logic change to account for clearing up a warning, when an aesthetic one will
keep from modifying the logic.
Other harmless casts, that I think I've made in the right directions.
Make gpbc() an inline function, rather than an obfuscated macro, make its
scratch space local, rather than global. The previous macro used a dirty
hack (logical AND in place of a conditional) which would lead GCC to throw
a fit (rightly so) as the logical check, as well as the incrementation of
a variable, were not used for anything.
const'ify a few places where gcc3 yells. xstrdup() some global consts in
places where we xstrdup() when not using consts, but tried to assign them
to non-consts before.
Don't use execv(2) if we don't have the kind of arguments it wants.
Reviewed by: asmodai obrien tjr
Submitted by: tjr (a gcc3 build log)
Notes:
svn path=/head/; revision=95095
|
| |
|
|
|
|
|
|
|
|
| |
$FreeBSD$ identifiers, and fix initialisation to stderr to happen in a function
as stderr is not the same in CURRENT as in OpenBSD.
Reviewed by: obrien
Notes:
svn path=/head/; revision=95060
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
to be emitted as per the C preprocessor. It updates the manual page in
regards to standards accordingly.
PR: standards/36075
Submitted by: tjr
Reviewed by: mike
MFC after: 1 week
Notes:
svn path=/head/; revision=94957
|
| |
|
|
|
|
|
| |
Remove xmalloc and xstrdup and do the error checking at the place of use.
Notes:
svn path=/head/; revision=80289
|
| |
|
|
|
|
|
|
|
| |
through main() (e.g., signals or calls to errx()).
PR: conf/25715
Notes:
svn path=/head/; revision=75551
|
| |
|
|
| |
Notes:
svn path=/head/; revision=73240
|
| |
|
|
|
|
|
|
|
|
| |
filenames based on a single invocation of mktemp() in /tmp, which is
easily predictable after the first one.
Audited by: markm
Notes:
svn path=/head/; revision=69030
|
| |
|
|
|
|
|
| |
getopt returns -1 not EOF.
Notes:
svn path=/head/; revision=65428
|
| |
|
|
| |
Notes:
svn path=/head/; revision=50477
|
| |
|
|
| |
Notes:
svn path=/head/; revision=27625
|
| |
|
|
|
|
|
| |
posix standard on the topic.
Notes:
svn path=/head/; revision=24360
|
| |
|
|
| |
Notes:
svn path=/head/; revision=8874
|
| |
|
|
|
|
|
|
|
| |
Don't use is*(EOF)
This fix core dump when LANG setted to 8bit wide charset
and ENABLE_STARTUP_LOCALE
Notes:
svn path=/head/; revision=5165
|
|
|
Notes:
svn path=/cvs2svn/branches/CHRISTOS/; revision=1590
|