| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
| |
|
|
|
|
| |
noted by daniel@
|
|
|
|
| |
ok semarie@
|
| |
|
| |
|
|
|
|
|
|
| |
functions (MB_CUR_MAX, isalpha() for ctype.
some tips from stsp@
|
| |
|
|
|
|
|
|
|
|
| |
fail), on 64-bit systems.
tested on 64-bit (amd64) and 32-bit (sparc).
OK claudio@ deraadt@
|
|
|
|
| |
obsolete SIZE_T_MAX. OK miod@ beck@
|
|
|
|
| |
ok deraadt@
|
| |
|
| |
|
|
|
|
|
|
|
| |
string we are testing.
Add tests to verify that we get SIGSEGV when passed a NULL src or dst.
It is better to crash than for an implementation to check for NULL
and try to recover.
|
| |
|
| |
|
| |
|
|
|
|
| |
ok tedu@
|
|
|
|
| |
These are copied from the existing [[:<:]] and [[:>:]] tests.
|
|
|
|
|
|
|
| |
To avoid making tests machine dependent, only test values inside 32bit
LONG_{MIN,MAX} and outside 64bit LONG_{MIN,MAX}, but none in between.
While here, cover 32bit edge cases, negative values, and overflows.
ok jsing@
|
| |
|
|
|
|
| |
ok @deraadt
|
|
|
|
|
|
| |
being-standardized <endian.h>
ok deraadt@ millert@ beck@
|
|
|
|
|
|
| |
Also correct some format strings.
From Doug Hogan (doug (at) acyclic.org)
|
|
|
|
|
|
| |
the errno of an intervening cleanup operation like close/unlink/etc.
Diff from Doug Hogan (doug (at) acyclic.org)
|
| |
|
| |
|
|
|
|
| |
Noticed testing with clang.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Solaris and OS X clobber the signal stack when returning to the main
stack, which caused the original testing strategy (inspecting the
signal stack once we're back on the main stack) to fail.
To be compatible with this behavior, the regress test now inspects the
signal stack space while we're still executing on it. This is a bit
iffy because we might clobber it ourselves while inspecting it, but we
as long as its not completely clobbered we should be okay.
thx bcook for the Solaris test account
|
|
|
|
| |
run on altstack.
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Rename _waitpid() to safewaitpid() to avoid POSIX reserved identifier
namespace.
KNF nit: return value expressions should be surrounded by parentheses,
per style(9).
Ensure SIGCHLD is set to SIG_DFL, not SIG_IGN. POSIX allows (and
requires under XSI) that terminated child processes not leave zombies
if SIGCHLD is set to SIG_IGN, and it also allows execve() to leave
SIGCHLD set to SIG_IGN.
|
|
|
|
|
|
|
| |
OS X's sigaltstack() fails with ENOMEM if ss_size < MINSIGSTKSZ even
if SS_DISABLE is specified in ss_flags. Rather than add code to try
to cope with this stupidity, just don't bother restoring the original
signal stack.
|
|
|
|
| |
ok jsing@
|
|
|
|
|
|
|
|
| |
OS X fails to restore the old signal stack because the signal stack is
not enabled by default. This causes sigaltstack(2) to fail with ENOMEM
as ss_size is 0, < MINSIGSTCKSZ.
ok jsing@
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
The extra argument doesn't hurt genuine atexit handlers and this fixes a
bug where we didn't provide the argument (effectively passing garbage) for
functions registered with __cxa_atexit in the main executable.
Pointed out by Dmitriy Ivanov <dimitry@google.com> and Elliott Hughes
<enh@google.com>.
ok matthew@
|
|
|
|
| |
correctly in fork children.
|
|
|
|
| |
ok deraadt, jmc, tedu
|
|
|
|
|
| |
timingsafe_memcmp tests are disabled for now, pending its addition to
libc.
|
| |
|
|
|
|
| |
encouraged by deraadt and miod
|
|
|
|
|
|
| |
Also, in 'ftp', always put the error message last, after the hostname/ipaddr.
ok jsing@ krw@ millert@
|
| |
|
|
|
|
| |
- Additionally, test _setjmp and sigsetjmp as implementations are different.
|
|
|
|
|
| |
preserved by setjmp. Currently under REGRESS_FULL as this fails
on certain archs.
|
| |
|
|
|
|
|
|
|
|
|
| |
correctly when moving the directory pointer by small distances.
This is currently failing, i will send an updated libc/gen patch
to fix this right afterwards.
Move the functions createfiles() and delfiles() to utils.{h,c} for reuse.
Minor cleanup in telldir.c.
|
| |
|
|
|
|
|
|
|
|
| |
Change the logic depending upon COMPILER_VERSION everywhere, to assume gcc4
is the norm and to explicitely test for gcc3 when a different behaviour
is required.
No functional change intended. Be sure to `make install' in share/mk before
attempting to do anything.
|
|
|
|
| |
variable is set.
|