| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
| |
C99 now that all known standards-related bugs have been fixed.
Notes:
svn path=/head/; revision=108091
|
| |
|
|
|
|
|
| |
writes to the correct stream if stderr has been redirected with freopen().
Notes:
svn path=/head/; revision=108090
|
| |
|
|
|
|
|
|
|
|
|
| |
buffer does not get clobbered.
ISO/IEC 9899:1999 7.21.6.2 3:
"The implementation shall behave as if no library function calls the
strerror function."
Notes:
svn path=/head/; revision=108089
|
| |
|
|
| |
Notes:
svn path=/head/; revision=108087
|
| |
|
|
| |
Notes:
svn path=/head/; revision=108085
|
| |
|
|
| |
Notes:
svn path=/head/; revision=108083
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
strerror_r(). Doing this allows us to ensure that strerror_r() always
fills the supplied buffer regardless of EINVAL or ERANGE errors.
strerror()'s semantics have changed slightly such that an argument of
0 is now considered invalid and errno is set to EINVAL.
Remove internal regression test for strerror() and strerror_r(). This
will be reincarnated in src/tools/regression/lib/libc/string.
In strerror(3), add a comment about strerror()'s bogus return type.
PR: 44356
Notes:
svn path=/head/; revision=108044
|
| |
|
|
| |
Notes:
svn path=/head/; revision=108040
|
| |
|
|
| |
Notes:
svn path=/head/; revision=108037
|
| |
|
|
| |
Notes:
svn path=/head/; revision=108035
|
| |
|
|
| |
Notes:
svn path=/head/; revision=108030
|
| |
|
|
| |
Notes:
svn path=/head/; revision=108029
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Stop calling system calls "function calls".
Use "The .Fn system call" a-la "The .Nm utility".
When referring to a non-BSD implementation in
the HISTORY section, call syscall a function,
to be safe.
Notes:
svn path=/head/; revision=108028
|
| |
|
|
|
|
|
|
|
|
|
| |
conversion specifications to completely specify the resulting struct tm.
PR: 46331
Submitted by: Christian S.J. Peron
MFC after: 2 weeks
Notes:
svn path=/head/; revision=108013
|
| |
|
|
|
|
|
|
|
|
|
|
| |
from "unix" back to "local". Add some compat stuff so both
ways work for some time.
Reviewed by: phk
Approved by: imp (UPDATING)
Requested by: iedowse, lukem@netbsd.org
Notes:
svn path=/head/; revision=107952
|
| |
|
|
|
|
|
|
|
|
|
| |
does not hurt anything because uipc_ctloutput() does not check
sopt->sopt_level.
Pointed out by: ru
MFC after: 1 week
Notes:
svn path=/head/; revision=107929
|
| |
|
|
|
|
|
|
|
|
| |
This should be considered highly experimental for the moment.
Submitted by: David Schultz <dschultz@uclink.Berkeley.EDU>
MFC after: 3 weeks
Notes:
svn path=/head/; revision=107913
|
| |
|
|
|
|
|
|
|
|
|
|
| |
The bug does not affect anything because SOCK_STREAM == LOCAL_PEERCRED == 0x1.
PR: bin/46165
Submitted by: Alain Thivillon <at@rominet.net>
Reviewed by: dd
MFC after: 1 week
Notes:
svn path=/head/; revision=107895
|
| |
|
|
| |
Notes:
svn path=/head/; revision=107864
|
| |
|
|
| |
Notes:
svn path=/head/; revision=107836
|
| |
|
|
| |
Notes:
svn path=/head/; revision=107826
|
| |
|
|
|
|
|
|
| |
Submitted by: R. Imura <imura@ryu16.org>
Approved by: re (murray)
Notes:
svn path=/head/; revision=107796
|
| |
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107788
|
| |
|
|
|
|
|
|
|
|
| |
necessary nowadays, but is documented as "required", and may
become so again in the future.
Approved by: re
Notes:
svn path=/head/; revision=107744
|
| |
|
|
|
|
|
|
|
| |
PR: docs/46183
Submitted by: Dirk Gouders <gouders@et.bocholt.fh-ge.de>
Approved by: re
Notes:
svn path=/head/; revision=107741
|
| |
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107707
|
| |
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107706
|
| |
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107705
|
| |
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107704
|
| |
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107702
|
| |
|
|
|
|
|
|
|
| |
localtime/mktime/tmcomp and friends on ia64.
Approved by: re
Notes:
svn path=/head/; revision=107648
|
| |
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107631
|
| |
|
|
|
|
|
|
|
|
| |
are marked up in stdio(3), and because they are defined expressions
of type "FILE *".
Approved by: re
Notes:
svn path=/head/; revision=107619
|
| |
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107616
|
| |
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107603
|
| |
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107592
|
| |
|
|
|
|
|
|
|
| |
Reviewed by: benno
Approved by: re (blanket)
Notes:
svn path=/head/; revision=107571
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
when trying to store the year in a signed int. The maximum time_t on ia64
is around 292 billion years in the future, but 'int' and struct tm.tm_year
can only represent then ext 2.1 billion years or so.
This solves the problem of mktime/localtime looping on ia64. Unfortunately,
the standards say that tm_year is an 'int', so we are still stuck with a
y2147483647 bug. bash2's configure script looks for bugs in mktime() and
fails on ia64 because of this. However, mktime() on FreeBSD fails the test
normally anyway so this is no big loss.
This change does not affect any other platforms besides ia64.
Approved by: re
Notes:
svn path=/head/; revision=107480
|
| |
|
|
| |
Notes:
svn path=/head/; revision=107392
|
| |
|
|
| |
Notes:
svn path=/head/; revision=107391
|
| |
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107387
|
| |
|
|
|
|
|
|
| |
Submitted by: jlemon
Approved by: re
Notes:
svn path=/head/; revision=107378
|
| |
|
|
|
|
|
| |
Approved by: re
Notes:
svn path=/head/; revision=107179
|
| |
|
|
| |
Notes:
svn path=/head/; revision=107052
|
| |
|
|
|
|
|
| |
future ahead of it.
Notes:
svn path=/head/; revision=107047
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
been repo-copied from src/lib/libc/uuid to src/include. Update the
makefiles.
While in src/include/Makefile, reformat and resort INCS. Reverting
the functional change only involves removing uuid.h.
Pompted by: ru
Notes:
svn path=/head/; revision=107046
|
| |
|
|
|
|
|
|
|
| |
section.
PR: 43270
Notes:
svn path=/head/; revision=107021
|
| |
|
|
|
|
|
|
|
| |
I've no idea if this is the right behavior for the library, but this
at least fixes the build, and matches what seems to be alfred's intent
in the commit message for 1.19.
Notes:
svn path=/head/; revision=107000
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sysconf.c:
Use 'break' rather than 'goto yesno' in sysconf.c so that we report a '0'
return value from the kernel sysctl.
vfs_aio.c:
Make aio reset its configuration parameters to -1 after unloading
instead of 0.
posix4_mib.c:
Initialize the aio configuration parameters to -1
to indicate that it is not loaded.
Add a facility (p31b_iscfg()) to determine if a posix4 facility has been
initialized to avoid having to re-order the SYSINITs.
Use p31b_iscfg() to determine if aio has had a chance to run yet which
is likely if it is compiled into the kernel and avoid spamming its
values.
Introduce a macro P31B_VALID() instead of doing the same comparison over
and over.
posix4.h:
Prototype p31b_iscfg().
Notes:
svn path=/head/; revision=106998
|
| |
|
|
|
|
|
|
|
|
|
|
| |
libc. I want to keep these in some version for the thread
library/ies, but don't know whether to have them repo-copied
to libc_r or renamed and kept in libc.
Change the name of an alpha macro that was changed with the
system call commit.
Notes:
svn path=/head/; revision=106980
|