#
285830 |
|
23-Jul-2015 |
gjb |
- Copy stable/10@285827 to releng/10.2 in preparation for 10.2-RC1 builds. - Update newvers.sh to reflect RC1. - Update __FreeBSD_version to reflect 10.2. - Update default pkg(8) configuration to use the quarterly branch.[1]
Discussed with: re, portmgr [1] Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
277446 |
|
20-Jan-2015 |
ngie |
MFC r267004,r274592:
r267004 (by gahr):
- Use strlen instead of hardcoding a number - Terminate a sentence with a period
Approved by: cognet
r274592 (by ngie):
Convert tools/regression/lib/libc/stdio/test-fmemopen into an ATF testcase and rename as lib/libc/stdio/fmemopen2_test
Sponsored by: EMC / Isilon Storage Division
|
#
274592 |
|
16-Nov-2014 |
ngie |
Convert tools/regression/lib/libc/stdio/test-fmemopen into an ATF testcase and rename as lib/libc/stdio/fmemopen2_test
Sponsored by: EMC / Isilon Storage Division
|
#
267004 |
|
03-Jun-2014 |
gahr |
- Use strlen instead of hardcoding a number - Terminate a sentence with a period
Approved by: cognet
|
#
266971 |
|
02-Jun-2014 |
gahr |
- Return NULL and set errno to EINVAL if size is 0 (as required by POSIX). Update the manpage to reflect this change. - Always set the current position to the first null-byte when opening in append mode. This makes the implementation compatible with glibc's. Update the test suite.
Reported by: pho Approved by: cognet
|
#
246206 |
|
01-Feb-2013 |
gahr |
- Fix more style(9)-related issues (copyright header, spaces after function names, unnecessary casts) - Change type of boolean variable from char to bool
Suggested by: jhb, zont, jmallett Reviewed by: cognet Approved by: cognet
|
#
246148 |
|
31-Jan-2013 |
gahr |
- Remove underscores from the internal structure name, as it doesn't collide 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
|
#
246120 |
|
30-Jan-2013 |
gahr |
Add fmemopen(3), an interface to get a FILE * from a buffer in memory, along with the respective regression test. See http://pubs.opengroup.org/onlinepubs/9699919799/functions/fmemopen.html
Reviewed by: cognet Approved by: cognet
|