Commit Graph

1862 Commits

Author SHA1 Message Date
yamt
ab5972b02c fix rewinddir on nfs. fix PR/42879 (and probably PR/40229.) 2010-09-26 02:26:59 +00:00
matt
3edad85883 If not using O32 on mips, we need to read ELF64 symbols too. 2010-09-24 15:57:15 +00:00
yamt
53cf9ce3be - remove a wrong _DIAGASSERT
- update comments
- whitespace
2010-09-16 02:38:50 +00:00
matt
8e09c95f97 Resurrect this for MIPS softfloat. 2010-09-10 16:32:35 +00:00
christos
7d79ab9567 Add GLOB_STAR support from Greg Dionne. 2010-09-06 14:40:24 +00:00
joerg
c1e0a5bd50 Replace the current usage of Elf64_Half with Elf64_Word and rename
NetBSD specific Elf64_Quarter to Elf64_Half. This restores compatibility
with the common ELF specifications.
2010-08-28 21:30:02 +00:00
christos
3991ffd1e1 add psiginfo. 2010-08-27 08:38:41 +00:00
joerg
44b309378f Define a new __c99inline macro for compilers known to implement the C99
behavior.  This unbreaks GCC 4.4's libgfortran build with the old
signal.h logic, because GCC decided to put the body for the sigsetop
functions in multiple objects.
2010-07-31 00:04:42 +00:00
christos
2c086933d8 Apply more limits to GLOB_LIMIT, number of stat(2) calls from me and number
of readdir(3) calls from Maksymilian Arciemowicz. Also reduce the memory
used by matches strings from Maksymilian Arciemowicz.
2010-07-06 14:59:22 +00:00
christos
9b94acc7a6 Avoid DoS attacks for patterns that have braces. Noted by Maksymilian
Arciemowicz.
XXX: Pullup to 5.x
2010-07-02 21:13:10 +00:00
jruoho
bb1d0e97b1 Fix .Xr; dirent(5) -> dirent(3). 2010-06-04 05:42:24 +00:00
tnozaki
9a35d7972b more split ctype.h -> sys/ctype_inline.h, sys/ctype_bits.h 2010-06-01 13:52:07 +00:00
tnozaki
bbed57c2e0 make _locale_impl_t.cache as pointer to maintain easily binary compatibility in future.
no ABI change was made.
2010-05-22 13:15:59 +00:00
tnozaki
64a7d4fa9a 1. hide _CTYPE_PRIVATE section in ctype.h, move them to private header ctype_local.h.
2. do not use _CTYPE_NUM_CHARS macro to read data from LC_CTYPE(old BSDCTYPE style) database.
   because 1<<CHAR_BIT is MD, so i added MI macro _CTYPE_CACHE_SIZE(1<<8).
3. remove _NB_CACHED_RUNE macro, use _CTYPE_CACHE_SIZE instead.
2010-05-22 06:38:15 +00:00
jruoho
cbe8ce8cad Actually the previous is wrong; all of these can set the errno either via
each other or via something like malloc(3) or lseek(2).
2010-05-17 03:09:06 +00:00
jruoho
132817e96e Fix the note about errno in ERRORS; telldir(3), seekdir(3), and rewinddir(3)
do not set the errno.
2010-05-17 03:04:09 +00:00
wiz
972863c67c Sort sections. Fix typo. Fix xref. Improve wording in one case. 2010-05-16 11:37:06 +00:00
jruoho
fb6ead4add At least one markup-typo slipped through the cracks. 2010-05-16 08:01:14 +00:00
jruoho
ce1c570bfe Rewrite much of the page.
Provide much more detailed and structured discussion. Notably, try to gather
some of the conditions around the famous undefined behavior; these functions
(or the implementations) are quite prone to such behavior.

Add compatibility notes. (The big change here is that in SUSv4 it is no
longer mandated that the directory streams are implemented by using file
descriptors.)

XXX: Please proofread this. Consider also adding some additional notes. For
     instance, I left the semantics about "." and ".." out.  The returned
     errno's should be enumerated as well.
2010-05-16 07:52:58 +00:00
christos
96f5fe0aab PR/43300: Takahiro Kambe: LOG_PID and LOG_CONSOLE printed syslogp messages
to the console/stderr since the syslogp conversion.
2010-05-13 22:40:14 +00:00
jruoho
b2368e5383 Move the structure inside the body text. Some additional markup improvements. 2010-05-13 18:04:58 +00:00
jruoho
08cdc5df90 Build links for syslogp(3), syslogp_r(3), vsyslogp(3), and vsyslogp_r(3).
From Takahiro Kambe in PR lib/43301.
2010-05-13 17:48:50 +00:00
wiz
8add53fd8a Remove double quotes around missing function in BUGS section. 2010-05-08 11:22:58 +00:00
jruoho
70a5142faf Note POSIX compliance. Reword a little around the example. 2010-05-06 11:46:11 +00:00
jruoho
5686044fbd .Nm -> .Fn. 2010-05-06 11:09:39 +00:00
jruoho
7f1766c2e5 Small improvements to markup and wording. 2010-05-06 09:46:49 +00:00
jruoho
fc240ff6c6 Small markup improvements. 2010-05-06 09:34:52 +00:00
wiz
0264ec21bd Merge two entries for the same error. 2010-04-30 06:48:20 +00:00
jruoho
fba71b9825 Marked as legacy already in SUSv2; removed in POSIX 2001. 2010-04-30 05:50:46 +00:00
jruoho
d307542670 Deprecated in POSIX (rev. 2008). 2010-04-30 05:09:23 +00:00
jruoho
92370ee67d Interestingly, the committees plan to remove also isascii(3) and toascii(3)
in the future.
2010-04-30 04:46:18 +00:00
jruoho
70d2311835 More obsolete things. These are all already deprecated in NetBSD, but it is
worth noting that also the standard has marked these as legacy.
2010-04-30 04:39:16 +00:00
jruoho
ec4fdaa41e It was nice to expect fts(3) to appear in the '88 revision. But perhaps
people had too high hopes.
2010-04-29 17:39:03 +00:00
jruoho
934551e44a No more usleep(3) in POSIX; "use nanosleep(2) instead". 2010-04-29 17:29:56 +00:00
jruoho
3d0a5d8f1c Note that also POSIX has deprecated utime(3). 2010-04-29 17:07:00 +00:00
jruoho
c25207d763 Note POSIX compliance. 2010-04-29 08:06:21 +00:00
jruoho
157d0c3eea Add some STANDARDS lingo, mainly to note the functions that have been
removed from POSIX (2008).
2010-04-29 06:54:26 +00:00
jruoho
c329b28a22 Properly mark the standard that "deprecated" all of these. 2010-04-29 06:07:35 +00:00
jruoho
092ff05778 Note that the ucontext(2) et. al. were first moved from X/OPEN extensions to
the base POSIX-2001 and later marked as obsolete in POSIX-2008.
2010-04-28 14:07:03 +00:00
jruoho
fca63cde02 Note POSIX compliance. 2010-04-27 15:26:59 +00:00
jruoho
4efab6a05e Use .In for includes and .Va when listing the structure members. 2010-04-27 15:16:28 +00:00
dholland
df62afc03b Edit previous HISTORY patch for style; note our 64-bit time_t change.
Bump date.
2010-04-24 01:35:50 +00:00
jruoho
69cf4af7f3 Use .In for includes. 2010-04-22 08:00:34 +00:00
njoly
378ab16605 Add missing double quote. 2010-04-14 07:20:27 +00:00
joerg
727da1104c \\ -> \e 2010-04-05 21:33:54 +00:00
joerg
eff7f134e1 \\ -> \e 2010-04-05 21:29:47 +00:00
joerg
1ff41cb93a Fix escape sequences 2010-04-05 21:29:09 +00:00
jruoho
c1b7f739cf Some interesting additions to the history section. From OpenBSD. 2010-04-03 14:49:31 +00:00
drochner
ebfe3c0a28 remove some stray __weak_aliases, where the target functions were
__RENAMEd due to the time_t/dev_t type changes, which caused bogus
references to compat functions
now a libc built with BUILDCOLD is usable
2010-03-23 20:28:58 +00:00
joerg
1c3412fa2f Use .In for header files instead of .Ar Pa and variations. 2010-03-22 19:30:53 +00:00