| Commit message (Collapse) | Author | Age | Files | Lines |
... | |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
with the user's namespace.
- Correct size and position variables type from long to size_t.
- Do not set errno to ENOMEM on malloc failure, as malloc already does so.
- Implement the concept of "buffer data length", which mandates what SEEK_END
refers to and the allowed extent for a read.
- Use NULL as read-callback if the buffer is opened in write-only mode.
Conversely, use NULL as write-callback when opened in read-only mode.
- Implement the handling of the ``b'' character in the mode argument. A binary
buffer differs from a text buffer (default mode if ``b'' is omitted) in that
NULL bytes are never appended to writes and that the "buffer data length"
equals to the size of the buffer.
- Remove shall from the man page. Use indicative instead. Also, specify that
the ``b'' flag does not conform with POSIX but is supported by glibc.
- Update the regression test so that the ``b'' functionality and the "buffer
data length" concepts are tested.
- Minor style(9) corrections.
Suggested by: jilles
Reviewed by: cognet
Approved by: cognet
Notes:
svn path=/head/; revision=246148
|
|
|
|
|
|
|
|
|
|
|
| |
with the respective regression test.
See http://pubs.opengroup.org/onlinepubs/9699919799/functions/fmemopen.html
Reviewed by: cognet
Approved by: cognet
Notes:
svn path=/head/; revision=246120
|
|
|
|
|
|
|
| |
Usage of dup(), mkstemp() and unlink() needs <unistd.h>.
Notes:
svn path=/head/; revision=244038
|
|
|
|
|
|
|
| |
Found by: clang
Notes:
svn path=/head/; revision=243346
|
|
|
|
|
|
|
|
| |
Approved by: cperciva
MFC after: 1 week
Notes:
svn path=/head/; revision=241844
|
|
|
|
|
|
|
| |
Formerly, loops caused nftw() to abort the traversal with ELOOP.
Notes:
svn path=/head/; revision=239160
|
|
|
|
| |
Notes:
svn path=/head/; revision=231984
|
|
|
|
|
|
|
| |
in this directory.
Notes:
svn path=/head/; revision=230115
|
|
|
|
|
|
|
| |
as double, similar to r178141.
Notes:
svn path=/head/; revision=230114
|
|
|
|
|
|
|
| |
Add some $FreeBSD$ tags so svn will allow the commit.
Notes:
svn path=/head/; revision=228975
|
|
|
|
|
|
|
| |
in parent and child processes after a fork.
Notes:
svn path=/head/; revision=227522
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Formerly, in this case an error was returned but the pid was also returned
to the application, requiring the application to use unspecified behaviour
(the returned pid in error situations) to avoid zombies.
Now, reap the zombie and do not return the pid.
MFC after: 2 weeks
Notes:
svn path=/head/; revision=223907
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Of course, strerror_r() may still fail with ERANGE.
Although the POSIX specification said this could fail with EINVAL and
doing this likely indicates invalid use of errno, most other
implementations permitted it, various POSIX testsuites require it to
work (matching the older sys_errlist array) and apparently some
applications depend on it.
PR: standards/151316
MFC after: 1 week
Notes:
svn path=/head/; revision=220376
|
|
|
|
|
|
|
|
| |
I'm committing the generated files because I don't like a build dependency
for the sh(1) tests, and they are small and will not change much.
Notes:
svn path=/head/; revision=207821
|
|
|
|
|
|
|
|
|
|
| |
Example: fnmatch("a*b/*", "abbb/.x", FNM_PATHNAME | FNM_PERIOD)
PR: 116074
MFC after: 1 week
Notes:
svn path=/head/; revision=206711
|
|
|
|
|
|
|
| |
MFC after: 1 week
Notes:
svn path=/head/; revision=206710
|
|
|
|
|
|
|
|
|
| |
their software.
Obtained from: NetBSD
Notes:
svn path=/head/; revision=204627
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
* retry various system calls on EINTR
* retry the rest after a short read (common if there is more than about 1K
of output)
* block SIGCHLD like system(3) does (note that this does not and cannot
work fully in threaded programs, they will need to be careful with wait
functions)
PR: 90580
MFC after: 1 month
Notes:
svn path=/head/; revision=198406
|
|
|
|
| |
Notes:
svn path=/head/; revision=197753
|
|
|
|
|
|
|
|
|
|
|
| |
because it means getdelim() returns -1 for both error and EOF, and
never returns 0. However, this is what the original GNU implementation
does, and POSIX inherited the bug.
Reported by: marcus@
Notes:
svn path=/head/; revision=190773
|
|
|
|
| |
Notes:
svn path=/head/; revision=189142
|
|
|
|
|
|
|
|
| |
Currently it only has tests for a few sign issues with integer
formats, including PR 131880.
Notes:
svn path=/head/; revision=189141
|
|
|
|
| |
Notes:
svn path=/head/; revision=189140
|
|
|
|
| |
Notes:
svn path=/head/; revision=187963
|
|
|
|
| |
Notes:
svn path=/head/; revision=182711
|
|
|
|
|
|
|
| |
Obtained from: NetBSD
Notes:
svn path=/head/; revision=181155
|
|
|
|
|
|
|
|
|
|
|
|
| |
The first test comes from OpenBSD, and the others are additions or
adaptations.
This is based on OpenBSD's
src/regress/lib/libc/sprintf/sprintf_test.c, v1.3.
I deliberately did not use v1.4 because it's bogus.
Notes:
svn path=/head/; revision=180103
|
|
|
|
| |
Notes:
svn path=/head/; revision=179919
|
|
|
|
|
|
|
| |
numbers.
Notes:
svn path=/head/; revision=178141
|
|
|
|
| |
Notes:
svn path=/head/; revision=174692
|
|
|
|
| |
Notes:
svn path=/head/; revision=174495
|
|
|
|
|
|
|
|
| |
support, rather than just "", which refers to the system default based
on the environment.
Notes:
svn path=/head/; revision=174228
|
|
|
|
| |
Notes:
svn path=/head/; revision=174205
|
|
|
|
|
|
|
|
|
|
| |
Tests for getipnodebyXXX functions now cover most number of flags
combinations.
Approved by: re (kensmith), brooks (mentor)
Notes:
svn path=/head/; revision=171016
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Four tests currently fail:
test_ether_line_bad_1() and test_ether_line_bad_2() due to bugs in
ether_line(3).
test_ether_ntohost() and test_ether_hostton() due to not being fully
implemented tests.
Notes:
svn path=/head/; revision=169523
|
|
|
|
|
|
|
|
|
|
| |
Detailed description and instructions are in the README file.
This work had been basically done during GSoC 2006.
Approved by: brooks (mentor)
Notes:
svn path=/head/; revision=168754
|
|
|
|
|
|
|
|
|
| |
to floating-point, the result is a quiet NaN. The current implementation
may return a signaling NaN, and the vendor has no plans for changing this,
for reasons explained in the comment I added.
Notes:
svn path=/head/; revision=165754
|
|
|
|
| |
Notes:
svn path=/head/; revision=165748
|
|
|
|
| |
Notes:
svn path=/head/; revision=156735
|
|
|
|
| |
Notes:
svn path=/head/; revision=156391
|
|
|
|
| |
Notes:
svn path=/head/; revision=145901
|
|
|
|
|
|
|
| |
- enable -r option for regress target.
Notes:
svn path=/head/; revision=145885
|
|
|
|
|
|
|
|
|
|
| |
- do service lookup.
- add options to use gethostbyname(3) or getipnodebyname(3) instead
of getaddrinfo(3).
- add option to do reverse lookup.
Notes:
svn path=/head/; revision=145860
|
|\
| |
| |
| |
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
Notes:
svn path=/head/; revision=145858
|
|
|
|
|
|
|
| |
Obtained from: NetBSD
Notes:
svn path=/vendor/NetBSD/dist/; revision=145857
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Use fesetround() instead of fpsetround(), and add tests for
various rounding modes.
- Test that all NaNs generated are quiet.
Some of these tests won't pass until problems in vendor sources
(gdtoa and gcc) are fixed and new versions imported, but I
want to get these changes into the tree before I accidentally
blow them away again. :-(
Notes:
svn path=/head/; revision=142843
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
tests. (Buy 10, get one free!) The separate categories were
already there; they just weren't labeled.
- Use fesetround() instead of fpsetround(), since the former is
standard and implemented on all supported architectures. Add
tests for each rounding mode.
- Add additional tests for subnormals.
Some of these tests won't pass until problems in vendor sources
(gdtoa and gcc) are fixed and new versions imported, but I
want to get these changes into the tree before I accidentally
blow them away.
Notes:
svn path=/head/; revision=142842
|
|
|
|
| |
Notes:
svn path=/head/; revision=141750
|
|
|
|
|
|
|
|
|
| |
and LDLIBS to specify -ltap.
Submitted by: ru
Notes:
svn path=/head/; revision=141097
|
|
|
|
|
|
|
|
| |
with calls to libtap::ok1(), and make sure the correct number of tests is
planned for, and that the exit code is correct.
Notes:
svn path=/head/; revision=141092
|