Commit Graph

7623 Commits

Author SHA1 Message Date
ad
117c67b2f2 Add fdopendir(), from Solaris/Linux. 2008-12-05 13:08:53 +00:00
christos
c450dd749d correct EBADF bogus comment. 2008-12-02 19:20:06 +00:00
jnemeth
b9c73aff7d PR/40060 - Bug Hunting -- grammar fix 2008-11-29 06:00:45 +00:00
wiz
0481201a86 Sort errors. 2008-11-28 22:33:02 +00:00
pooka
5ade66e9b9 make the synopsis slightly less overpromising:
"attempt to recover a deleted file" => "remove whiteout"
2008-11-28 09:48:58 +00:00
martin
10b0d64e49 Remove __LIBC12_SOURCE__ 2008-11-24 16:10:27 +00:00
matt
0ad7281825 Add new ptree (Patricia / RADIX tree) implementation to NetBSD. 2008-11-20 23:50:08 +00:00
christos
e1e5353bbe PR/39347: floating and long double conversions were ifdef'ed out because
we did not have wcstold and wcstof back then. But this was done incorrectly
because we did not move the argument vector. Enable them now.
2008-11-16 16:26:01 +00:00
ad
c6555ead19 Our qsort() is inappropriate for kernel use because it makes recursive
calls. Replace it with a kheapsort() function in kernel. Pointed out
by tron@.
2008-11-16 16:15:58 +00:00
ad
e5c4df967a Make qsort() available in libkern. 2008-11-16 15:01:26 +00:00
christos
9ebdd72925 Nobody tested this? Initialize wcio for wide char i/o.
NB: Pullup to 5.0.
2008-11-16 03:16:00 +00:00
reed
a4bfac4a14 Reference secmodel_securelevel(9) manual page. 2008-11-11 00:09:36 +00:00
christos
125a3d7f1f fix diagassert arg. 2008-11-06 19:59:42 +00:00
tsutsui
d13d5beaba Comment out nonexistent crash(8) xref. 2008-11-06 16:23:56 +00:00
nakayama
531d468612 Redo rev.1.13. We must refer to CURBRK via GOT in case of PIC. 2008-11-06 13:42:55 +00:00
christos
9f012c8aed don't forget to use neg. 2008-11-04 21:08:33 +00:00
christos
2844d6eadc we don't need * 2008-11-04 20:17:56 +00:00
christos
b4be570207 Our new syslogd seems to want to depend on %z which is a gnu extension.
- While here, add all the rest of gnu extensions: %g, %G, %u.
- Fix long standing bug where %Z would not work because "private.h" was
  not included. (Hi Brian!)
2008-11-04 18:37:28 +00:00
cube
26d23ca1c6 Invert the test for the return value of getaddrinfo(), because that's what
is actually meant there, to do nothing when the name doesn't resolve to an
address.
2008-11-03 23:21:19 +00:00
wiz
9a02e1d47d New sentence, new line. Mark up NULL with Dv. 2008-11-01 13:54:01 +00:00
christos
035a506da3 use the right variable in memcpy. 2008-11-01 00:54:47 +00:00
christos
8cda436bf2 fix compile error. 2008-10-31 17:49:48 +00:00
christos
e34e014482 make __findenv return the offset for the new entry to be inserted when
the string is not found, to avoid an additional scan of the environ array
in setenv.
2008-10-31 17:46:04 +00:00
christos
1c6aec2060 Import syslogd SoC project by Martin Schuette:
- new syslog protocol api syslogp(3) that supports structured data
	  and draft-rfc timestamps
	- reliable tcp connections with queueing
	- encrypted connections
2008-10-31 16:12:18 +00:00
rmind
9b24696c04 Add sched_getaffinity_np() and sched_setaffinity_np() wrappers, mainly
for compatibility purposes.
2008-10-31 00:29:19 +00:00
wiz
695738de0e Sort ERRORS, use more markup, bump date for previous.
Remove trailing whitespace.
2008-10-27 16:49:10 +00:00
erh
8886757e7e Document the fact that shmget can return EINVAL.
Refer the reader over to sysctl for information about changing shm limits.
2008-10-27 15:42:04 +00:00
mrg
2f0d0e12bf define and use LIBCDIR in terms of .CURDIR. fixes compat/lib/libc build. 2008-10-26 07:43:07 +00:00
mrg
5019a04ee2 use libcincludes.mk 2008-10-26 07:42:09 +00:00
mrg
7bee40559f put the code to find the libc include directories and define ARCHSUBDIR
and ARCHDIR in a common place.

this will be used by libc, libposix and librt.
2008-10-26 07:28:06 +00:00
mrg
15378e3afa remove an unncessary .PATH element that doesn't exist (and never did?) 2008-10-25 19:07:26 +00:00
wiz
4e1bb8f91c Fix pasto in previous. 2008-10-24 15:40:21 +00:00
christos
777e210a29 PR/39796: Robert Elz: Document that sigpending can return EFAULT since it calls
copyout.
2008-10-24 15:14:48 +00:00
dogcow
990e83b99d appease lint: warning: assignment in conditional context [159] 2008-10-22 02:17:29 +00:00
christos
b602f406f7 - vsyslog_r only closes if it opened
- maintain opened properly
- preserve the tag (from OpenBSD)
2008-10-21 21:00:31 +00:00
apb
debdeec730 The tools/compat versions of mkstemp() and mkdtemp() need to call the
internal function that's usually named "__gettemp".  However in a cross
build, "__gettemp" is in a namespace reserved for the host system, so we
can't use that.  Use "__nbcompat_gettemp" instead, following the example
of several other functions or macros in tools/compat.  Previously, this
was handled by using the name "gettemp", but that conflicts with the
local gettemp() function in dist/nawk.
2008-10-20 10:28:38 +00:00
wiz
e22cd6ffa8 Sort errors, use .Nx, avoid man markup, whitespace and punctuation nits. 2008-10-20 07:03:58 +00:00
christos
8a0817a3ac PR/39770: Robert Elz: mount(2) doc enhancements 2008-10-19 20:54:22 +00:00
wiz
06f6396fc6 Improve wording. Use Bd -literal for code sample. 2008-10-19 16:54:19 +00:00
rmind
53117b532b - Recommend poll(2) instead of select(2).
- Update example code a little bit.
2008-10-18 03:30:19 +00:00
christos
b30f2079e1 remove "limits" where it is not appropriate. 2008-10-09 14:40:11 +00:00
christos
910c3de51d this needs finite and scalbn 2008-09-28 18:54:30 +00:00
christos
519d922f3a having 2 separate implementations of frexp ldexp and modf (one here and
one in libm) that produce different results does not make any sense. Use
the one from libm to build instead.
2008-09-28 15:19:09 +00:00
lukem
2060495782 fix unused variable if !defined(FTS_ALLOC_ALIGNED) 2008-09-27 15:12:00 +00:00
tsutsui
61a62e59f7 unsigned int32_t -> uint32_t 2008-09-26 11:41:06 +00:00
christos
389390f57e pacify lint. 2008-09-24 16:58:53 +00:00
christos
0588e62651 fix newer gcc warning. 2008-09-24 16:24:30 +00:00
christos
194e105784 From Ilya Dogolazky ilya.dogolazky at teleca dot fi:
The new algorithm does not use any array initialisation.
Instead of that the only integer variable "index" is initialized.
It is not using any bitwise operations and shifts as well.

The well-known algorithm (an efficient representation for sparse sets) is
mentioned as exercise 2.12 in "The Design and Analysis of Computer Algorithms"
by Alfred Aho, John Hopcroft and Jeffrey Ullman. It is described here
http://citeseerx.ist.psu.edu/viewdoc/summary?doi=10.1.1.30.7319
and here
http://research.swtch.com/2008/03/using-uninitialized-memory-for-fun-and.html
2008-09-24 14:36:02 +00:00
lukem
7fb0a8b2f3 Add fts_free() to complement fts_alloc(), and use instead of free().
Should avoid a memory leak on systems without ALIGNBYTES.
2008-09-20 00:14:12 +00:00
christos
6f1e299202 From Ilya Dogolazky: Fix return value doc. 2008-09-17 22:08:52 +00:00