| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
| |
o #include <stdio.h> to make sprintf()'s prototype visible.
o Remove unused variable: sbuf.
o Don't use assignment as truth value.
|
| |
|
|
|
|
|
|
|
|
|
|
| |
o Call waitpid() if an error occurs after forking the child process
to avoid leaving zombies around.
o Handle the WRDE_DOOFS|WRDE_APPEND combination correctly
o Do not confuse $( substitution with $(( shell arithmetic
(noticed by wollman)
o Handle backslash escaping properly
o Allow $( and ${ to be quoted
|
|
|
|
|
| |
the names required by 1003.1-2001. The old names are retained for
source compatibility with FreeBSD 5.0 and will be removed before 6.0.
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
As a side effect, it makes the code easier to read and requires less
pointer arithmetic.
Test by: strerror regression test
Submitted by: Tim Kientzle <kientzle@acm.org>
|
|
|
|
| |
by the C standard.
|
| |
|
| |
|
|
|
|
|
|
|
| |
when the same pipe FILE is pclosed()'d in different threads, and to avoid
corrupting the linked list when adding or removing items. The symptoms of
the linked list getting corrupted were pclose() either not finding the pipe
on the list, or the list becoming circular and pclose() looping infinitely.
|
|
|
|
|
|
|
|
| |
to Solaris, it is in /usr/libexec) to perform the handing over of tty nodes
to the user being granted the pty.
Submitted by: Ryan Younce <ryany@pobox.com>
Reviewed by: security-officer@, standards@, mike@
|
|
|
|
|
|
|
|
|
|
|
| |
This situation most notably arises in chkprintcap, when a /etc/printcap
entry has an empty rp= attribute. In that case, cgetmatch would enter
an infinite loop if any entry in the file has multiple names.
This causes lpd to hang at boot time on 5.0-DP2 when both conditions
are met (:rp=: and multiple names -- not necessarily on the same entry).
Reviewed by: roberto
|
|
|
|
| |
especially in troff files.
|
|
|
|
| |
Add FreeBSD Id tag where missing.
|
|
|
|
|
| |
It makes a difference on 64-bit arches, and no one really wants a 2^64
block size [yet].
|
|
|
|
|
|
|
|
|
| |
a pointer and lack a prototype will have the return value (assumed
to be an integer) zero-extended to a pointer. On ia64 this is
unconditionally fatal as it zeroes-out the region bits, forming an
invalid pointer. Fix the sigsegv by including <stdlib.h>.
Pointy hat: bbraun
|
|
|
|
|
|
| |
Update copyrights.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
|
| |
- Update BUGS: this stuff is implemented.
- Update last modified date.
- Document acl_set_link_np() call.
Obtained from: TrustedBSD Project
|
|
|
|
|
|
|
|
|
|
| |
- Updated copyrights, modified dates
- Remove "BUGS" entry indicating that ACLs are unimplemented
- Implement acl_*_link() library wrapper variants for get, set,
delete, aclvalid.
- Document acl_*_link() calls.
Obtained from: TrustedBSD Project
|
| |
|
| |
|
|
|
|
|
| |
Make cgetmatch's locals const.
Make cdbget take a const string and copy it into a buffer.
|
| |
|
|
|
|
| |
not yet inplemented and to clear up some wording.
|
| |
|
|
|
|
|
|
|
| |
which perform shell-style word expansion on strings. This is still a
little rough around the edges.
PR: 13420
|
| |
|
| |
|
|
|
|
|
| |
PR: 46252
Submitted by: Jeroen Ruigrok van der Werven <asmodai@wxs.nl>
|
|
|
|
| |
PR: docs/37176
|
|
|
|
| |
Approved by: re (rwatson)
|
|
|
|
|
|
|
| |
cast (casting long to a void pointer, rather than intptr_t to a
void pointer) bogons.
Reviewed by: bde
|
|
|
|
|
|
| |
by setproctitle().
Reviewed by: jkh
|
|
|
|
|
| |
by basename() and dirname().
Reviewed by: eric
|
|
|
|
|
|
| |
the -fpcc-struct-return calling convention properly instead of
returning garbage. This may break backwards compatibility with some old
binaries that were compiled when -fno-pcc-struct-return was the default.
|
|
|
|
|
|
|
| |
values (EOF in our case) on error, and some of the possible errno values
in an Errors section.
PR: 39257
|
|
|
|
| |
section to reflect this.
|
|
|
|
|
|
|
|
|
|
|
| |
o Fix an English error (comma splice) and poorly worded sentence.
o Fix KNF ordering of variables (pointers come before arithmetic types).
o Restore hand-optimization of sizeof()-1, instead of strlen().
o Remove unneeded local variables in strerror_r().
Test by: strerror regression test
Requested by: bde
Reviewed by: bde
|