christos
15d0878308
use a separate variable to copy the locale.
2009-01-17 17:56:01 +00:00
christos
099cac49ad
fix debugging build.
2009-01-17 15:25:36 +00:00
christos
361e31839f
make this compile [now that I am on a machine that can compile :-)]
2009-01-16 21:18:37 +00:00
christos
826ddf7ef5
PR/40411: Hisashi T Fujinaka: standalone-tcsh dumps core when tab completing
...
The new rune code abuses __UNCONST to lazily initialize _RuneLocale. If
that happens to be the _DefaultRuneLocale which is const, the program will
core-dump because it will attempt to write to read-only memory. Catch this
and clone a copy of the locale and return it. The reason we don't see
everything core-dumping is because our shared library code probably loads
the text segment COW so it works (Is there an mprotect missing somewhere?).
But on statically linked binaries this is not the case and we die.
XXX[1]: Vet the code so that we are sure that there is no more of that
happening trying to get rid of much of the __UNCONST'ing.
XXX[2]: This needs to be fixed for 5.0 and all related fixes.
XXX[3]: There is one place in the code where _DefaultRuneLocale is treated
specially, does the patch break things?
2009-01-16 21:12:11 +00:00
drochner
21a81eb749
update struct timeval
2009-01-16 10:52:07 +00:00
christos
584a4c6af9
don't use glue for semctl, the number of underscores makes this an intractable
...
problem :-) Use regular wrappers like we do with sigtimedwait.
2009-01-16 00:02:57 +00:00
christos
74070c3c8c
fix the semctl glue build that worked before by chance by side effects of
...
building the the assembly stub as a normal stub. Just build it as a glue
stub.
2009-01-15 01:35:45 +00:00
pooka
2758ac8cf1
Update per rump_sys call __RENAME().
2009-01-13 22:33:10 +00:00
christos
6343ca254d
fix __sigtimedwait50
2009-01-13 01:50:04 +00:00
agc
8d4f251133
Reachover Makefile for libopenpgpsdk
...
XXX - still WARNS=1
2009-01-12 23:03:28 +00:00
christos
2d18fd40a7
- insert a space after the recognized string if it was an exact match
...
- initialize properly the string used for completion.
From Alex Bligh alex at alex dot org dot uk
- Make char constants consistent
2009-01-11 15:00:23 +00:00
christos
209f6eb5bd
add another directory the cvs did not merge.
2009-01-11 03:56:22 +00:00
christos
f943330f91
merge another directory that cvs missed.
2009-01-11 03:46:25 +00:00
christos
404fbe5fb9
cvs does not -j new directories, do it manually.
2009-01-11 03:41:28 +00:00
christos
46edb91e9f
bump shared libraries.
2009-01-11 03:07:47 +00:00
christos
50728e7823
merge christos-time_t
2009-01-11 02:57:17 +00:00
christos
461a86f9bd
merge christos-time_t
2009-01-11 02:45:45 +00:00
lukem
bbdbf3e294
fix some sign comparison warnings
2009-01-08 02:28:08 +00:00
lukem
5fcf39a9f8
Cast a value to time_t (not unsigned) when comparing to timespec tv_sec
2009-01-08 02:19:48 +00:00
lukem
4a94e73441
Change the second argument of getlogin_r() from int to size_t, per POSIX.
2009-01-06 11:16:46 +00:00
wiz
bdd95bc725
Add missing newline.
2009-01-06 00:13:02 +00:00
pooka
5369f33800
Return of the Flag: There is no PROT_EXECUTE.
2009-01-05 22:11:48 +00:00
rmind
57babc4980
Manuals describing the interface of POSIX message queues.
...
Taken from The Open Group, with various modifications.
Thanks <wiz> for improvements!
2009-01-05 21:19:48 +00:00
tnozaki
38eee9115b
add more item for major bump:
...
_ctype_ table in ctype.h and gen/ctype_.c has insufficient bitwidth.
2009-01-05 07:50:23 +00:00
tnozaki
2af58f1cce
1. reworking PR lib/40317:
...
libnbcompat already contains empty fparseln.lo
so previous fix doesn't work correctly.
i've just added broken fparseln check to configure script.
2. reworking cross build breakage under FreeBSD/MacOS X.
FreeBSD/MacOS X still have public /usr/include/runetype.h
derived from 4.4BSD-Lite. so i renamed out private header from
src/lib/libc/locale/runetype.h to src/lib/libc/locale/runetype_local.h
to solve this problems.
3. fix build breakage when CITRUS=no was set.
2009-01-05 06:11:43 +00:00
dogcow
c67ae0d68b
define __UNCONST for OSes that don't have it when building tools/mklocale
2009-01-05 03:14:30 +00:00
dogcow
441204832d
move nbtool_config.h include to top.
2009-01-05 03:10:02 +00:00
wiz
a711e8e9e4
Fix HTML output.
2009-01-04 09:42:43 +00:00
dholland
6557571403
Rework the text to make it clearer; it was really pretty confusing before.
...
Add an example; note some bugs/shortcomings. Bump date.
2009-01-04 07:54:15 +00:00
dholland
8f5f9030b6
SEE ALSO getmode(3)/setmode(3).
...
Suggested in passing by Joerg a long time ago on tech-pkg, seems like
a good idea.
Bump date.
2009-01-04 07:21:01 +00:00
lukem
a2c38ed82e
Ensure fts_close() doesn't spuriously close fd 0,
...
by testing FTS_SYMFOLLOW in fts_flags instead of fts_options.
Fix provided by Ben Harris in PR 40319
2009-01-03 06:12:14 +00:00
tnozaki
52ed7b035f
Fixes PR lib/39662, shortcomings in LC_{MONETARY,NUMERIC,TIME,MESSAGES} db format.
...
ok'ed by core and releng.
(thanks for agc@, snj@ and i'm sorry for long time patience).
[libc]
- localeio.[ch] and lc*.[ch] in src/lib/libc/locale was replaced by
new locale-db implementation using citrus_db backend,
see src/lib/libc/citrus/citrus_lc_*.[ch].
- add citrus_bcs_strtou?l.c. don't use strtou?l locale implementation
internally, because they're locale-aware function.
- add some stubs for multi-locale issue, see {current,global}_locale.c.
- remove some obsolete file, setrunelocale.c, ___runetype_mb.c.
- remove __savectype() from ctypeio.[ch].
[tools]
- mklocale(1): add new option ``-t'' that generates new style
LC_{MONETARY,NUMERIC,TIME,MESSAGES} locale-db format.
- chrtbl(1): added ctypeio.[ch] for __savectype().
[locale-db]
- added en_US.US-ASCII locale.
- removed some shareable locale definition file:
en_US.US-ASCII -> en_US.ISO8859-1, en_US.UTF-8
zh_CN.eucCN -> zh_CN.GB18030
and more...see src/share/locale/*/Makefile.
- remove obsoleted locale sr_YU, added new locale sr_ME, sr_RS.
- change locale name ja_JP.ISO2022-JP* -> ja_JP.ISO-2022-JP*
for X11's locale.alias file alignments.
- fix regression test, wrong wcs?width(3), NAN/INF usage.
i tested release-build following arch:
i386, amd64, hpc{mips,arm,sh}, sparc64, vax.
citrus_lc_*.[ch] also can read old-plain-text style locale-db.
so that backward compatibility is keeped, but lc*.[ch] can't read
new citrus_db'ed locale-db and localeio.c never check sanity,
so forward compatibility is broken ;-<
old mklocale(1) doesn't know -t option, so you have to rebuild toolchain.
2009-01-02 00:20:18 +00:00
wiz
42fdda0454
Bump date for previous.
2008-12-31 14:19:51 +00:00
christos
4a65af23ac
mention that these may fail with EPERM. From Anon Ymous
2008-12-31 13:57:54 +00:00
pooka
e605194ace
Nuke macros which haven't been used since the advent of RUMP_VOPs.
2008-12-31 00:35:00 +00:00
stacktic
69a3e4d4ea
Closing file in ukfs_release
2008-12-30 10:31:22 +00:00
christos
62f7265ebd
revert previous. It was meant for the branch
2008-12-29 15:08:03 +00:00
christos
ab903bdde4
support 64 bit time_t
2008-12-28 23:20:03 +00:00
christos
2d378f1d33
fix for dev_t 64 bits.
2008-12-28 22:45:05 +00:00
christos
6c20e81ce2
adjust for time_t 64
2008-12-28 21:33:35 +00:00
christos
7bf2b3b453
tdev is unsigned
2008-12-28 19:49:26 +00:00
christos
6127c68e1c
cast dev_t's to int32_t because XXX: sysctl can't change size. This should
...
be not a problem since tty's live in the low part of the dev range.
2008-12-28 19:46:47 +00:00
ad
ebaaa8cf7a
Some things to do on major bump.
2008-12-28 11:01:58 +00:00
ad
12c911ef99
Add more items for major bump.
2008-12-28 10:59:20 +00:00
wiz
b52bc84da9
Sort errors.
2008-12-26 21:02:28 +00:00
christos
16338b1c19
document pw_getpwconf.
2008-12-26 00:49:28 +00:00
wiz
38d39e864c
Fix deleto in previous.
2008-12-23 21:46:13 +00:00
christos
9cd6b6e766
fix argument order in example.
2008-12-23 20:53:31 +00:00
christos
fa2088e532
PR/18150: John F. Woods: Print meaningful error messages on inconsistent/
...
corrupt entries.
2008-12-21 17:54:43 +00:00
christos
a41cd06ba5
PR/9359: Chris Demetriou: Document fread/fwrite mixing behavior.
2008-12-19 20:20:48 +00:00
christos
4c237aa750
Wietse Wenema's tcpd-blacklist-patch:
...
ftp://ftp.porcupine.org/pub/security/tcpd-blacklist-patch
- If a host starts with a / treat it as a filename containing a list of hosts.
2008-12-18 20:16:52 +00:00
wiz
78f0ebffc8
Re-add LIBRARY section.
2008-12-17 14:05:23 +00:00
wiz
f1c9faeb9d
Fix some minor mdoclint complaints.
2008-12-17 10:39:22 +00:00
christos
930983f9c3
use the bitmask_snprintf info which is more complete, and adjust it for
...
reality.
2008-12-16 23:19:16 +00:00
christos
20ffd1f752
fix return values for snprintf and vsnprintf.
2008-12-16 23:09:19 +00:00
christos
c057bf8352
move snprintb to common
2008-12-16 22:34:40 +00:00
dsl
e8915d2e05
Actually we need 'long int' to avoif a stupid 'truncating long to int'
...
warning.
2008-12-13 11:53:25 +00:00
dsl
abd4a7f6d0
Change type of 'n' to 'int' so that it can be printed with %d.
...
The domain of the value is [-1..sizeof (int)] so a type of 'int' is fine.
2008-12-13 11:48:46 +00:00
christos
47b2a9219c
document svc_getrpccaller
2008-12-12 23:22:26 +00:00
pooka
a75f7c7343
Close write-end of daemonpipe in reader to get EOF if the writer
...
goes awol.
2008-12-12 19:56:12 +00:00
pooka
710e4c1a30
Defer ukfs (and hence rump) init until after detaching from console.
...
Otherwise forking when detaching will nuke our potential precious
threads.
2008-12-12 19:50:27 +00:00
pooka
33a0d776c1
Add puffs_cancel(), which allows to back down after puffs_init()
...
and before puffs_mount().
(this should actually be integrated with puffs_exit(), but that
routine is currently so non-sensible that I didn't bother now)
2008-12-12 19:45:16 +00:00
pooka
41f31dac6d
add:
...
puffs_setspecific(pu, private)
Can be used to set the specific data after the call to
puffs_init().
2008-12-12 18:59:53 +00:00
wiz
5d7029bf64
Sort sections, sort SEE ALSO, remove trailing whitespace.
2008-12-11 09:07:46 +00:00
yamt
ad61a2c71e
move a description of return values into the RETURN VALUES section.
2008-12-11 04:30:57 +00:00
christos
c900253da8
Martin says:
...
I had added a getaddrinfo()/getnameinfo() lookup to obtain an FQDN even
if gethostname() would return only the local part of the hostname.
I did not really consider that many systems do not have FQDNs and more
importantly that the calls introduce a high latency (timeout) when DNS
is not available.
On the other hand I do not (or no longer) think that using a non-FQDN is
such a big problem here. Those users/admins that do collect logs from
different hosts and want an FQDN should notice the problem quickly
enough and can easily fix it by correctly setting their hostname.
2008-12-10 15:20:04 +00:00
wiz
edd8540874
New sentence, new line. Bump date for fdopendir.
2008-12-05 13:26:41 +00:00
ad
117c67b2f2
Add fdopendir(), from Solaris/Linux.
2008-12-05 13:08:53 +00:00
reed
c2af20cf20
Add missing copyright and license.
...
This license is identical to that on the pam_krb5.c file minus the
other copyrights and the unrelated contract attribution.
From email communication with the author, Frank Cusack.
2008-12-02 22:52:06 +00:00
christos
c450dd749d
correct EBADF bogus comment.
2008-12-02 19:20:06 +00:00
cegger
83776b8eea
check error case for kvm_getlwps or SIGSEGV occurs due to dereferecing a NULL pointer.
...
return NULL if there are no threads or proceed further through all loops.
Fixes PR 40004. Ok rmind@
2008-11-29 18:24:58 +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
dholland
d5870e1cc6
Clarify that the "amaster" argument of forkpty() is only defined upon
...
return in the parent process, but the tty name is available to both
the parent and child. Bump date.
2008-11-28 07:17:17 +00:00
pooka
0b7df1d2e2
LIBDPLIBS on librumpvfs
2008-11-27 16:14:46 +00:00
wiz
11655fdf0f
Fix two mdoclint warnings.
2008-11-26 19:05:55 +00:00
pooka
a947a86fee
support:
...
a) readdir cookies and eofflag
b) file handle routines.
File handle routines are REALLY ugly and are not stable, i.e.
the file handle will be lost if the file server goes byebye.
They probably should be redone to not use getfh(), but for nullfs
I wanted to make them the same as when the file system is accessed
without the null layer. Well, turns out it doesn't pass anyway
since the kernel adds the fsid tags for fhandle_t. Anyway, it's
useful for some limited hacking purposes, so I'll commit this
since it works .. kinda.
2008-11-26 14:02:23 +00:00
pooka
e61394a6b8
i'm almost certain that puffs_cooie_t is supposed to be puffs_cookie_t
2008-11-25 11:49:08 +00:00
pooka
24bc96c743
Add BUGS section which notes that dynamic linker features in dealing
...
with link sets prevent from including more than one file system on
the link line and that the rest must be loaded dynamically at runtime.
2008-11-25 06:44:19 +00:00
martin
10b0d64e49
Remove __LIBC12_SOURCE__
2008-11-24 16:10:27 +00:00
pooka
d0303b2f28
Return ENODEV instead of ENOENT if the file system is not available.
2008-11-24 05:54:39 +00:00
pooka
945e7d735e
rump_vfs_load -> rump_module_load
2008-11-21 06:10:15 +00:00
pooka
9c035d43d1
dlerror() resets the error message, so save it since we want to
...
access it twice.
2008-11-21 06:07:23 +00:00
matt
0ad7281825
Add new ptree (Patricia / RADIX tree) implementation to NetBSD.
2008-11-20 23:50:08 +00:00
pooka
e10fef6cd2
Split vfs out of rumpkern into rumpvfs. Non-fs rumps no longer
...
include the file system code. File system rumps explicitly need
to include rumpvfs from now on.
2008-11-19 14:10:48 +00:00
wiz
c099cd9e1e
Remove trailing whitespace.
2008-11-17 15:21:43 +00:00
wiz
6c6bf72afb
Bump date for new section.
2008-11-17 15:21:22 +00:00
ahoka
6afdea3900
SEE ALSO
...
efun(3)
2008-11-17 14:59:57 +00:00
pooka
57f1031888
Use RUMP_VOP instead of prehistoric rump_vp.
2008-11-17 13:22:15 +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
ad
18e73e1ebe
Replace semid_t with intptr_t. No function change. This is a libc/kernel
...
private interface and so the name change should not affect any third
party code.
2008-11-14 15:49:20 +00:00
pooka
02d2ab30dc
Detach from console by default unless P2K_DEBUG is set in the
...
environment. We can't pass this as a flag, since rump_foo should
remain usage-compatible with mount_foo and therefore can't accept
puffs flags as command line parameters.
2008-11-14 13:43:20 +00:00
pooka
462f2a64a0
note that puffs_daemon() must be called *before* puffs_mount()
2008-11-14 13:27:24 +00:00
pooka
e489c3824a
fix typographical snafu
2008-11-14 13:10:13 +00:00
pooka
b2fa04c6b2
Now that MKPUFFS is default, kill it as advertised.
...
While there, give puffs and refuse files sensible syspkg entries.
2008-11-12 13:17:27 +00:00
pooka
0f81d3e0a2
reference rump_nfs
2008-11-12 06:32:08 +00:00
reed
a4bfac4a14
Reference secmodel_securelevel(9) manual page.
2008-11-11 00:09:36 +00:00
pooka
f455f7ee91
* use advisory file locks to avoid multiple mounts on the same device
...
(multiple rdonly mounts are still allowed)
* shuffle some assignments to avoid leaking resources in error branches
2008-11-07 00:18:33 +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
0927a61656
Add missing word.
2008-11-01 14:04:52 +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
snj
c65dcf2d06
Tweak some wording.
2008-10-31 18:07:18 +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
a2d73f8239
Sync the man page with recent addition of few wrappers.
2008-10-31 11:55:40 +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
apb
8a9d9ec446
s/AWK/TOOL_AWK/. Problem reported by Greg Oster.
2008-10-27 20:56:28 +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
fc9a1e8a64
use LIBDPLIBS+= not =.
2008-10-27 07:57:41 +00:00
mrg
6b767a6846
don't set LIBDPLIBS in libpam/modules/Makefile - it is not necessary
...
and it interferes with the compat lib build. don't use LIB_ROOT_DIR.
2008-10-27 07:48:27 +00:00
mrg
861b38e0f4
add to LIBDPLIBS, not assign to it.
2008-10-27 07:26:55 +00:00
uwe
55247fa322
Fix typo in comment.
2008-10-27 00:52:07 +00:00
uwe
47cd7b4502
Pull down revision 1.3.6.1 by skrll@ (adapted to include reg::r_gbr).
...
struct mcontext != struct reg on sh3.
Fix PTHREAD_UCONTEXT_TO_REG / PTHREAD_REG_TO_UCONTEXT to deal with this.
2008-10-27 00:47:22 +00:00
mrg
48ca1b1f37
XXX: fix compat/libpam static build -- find the right libc via _CURDIR
...
XXX: not .CURDIR, if _CURDIR exists.
2008-10-26 07:44:12 +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
45ce2feab7
use libc/libcincludes.mk.
2008-10-26 07:28:49 +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
3912b43d37
if LD32DIR is defined, install into /usr/lib/${LD32DIR}/i18n.
2008-10-26 07:06:07 +00:00
mrg
f2a73868d6
build libi386 / libsparc in 32 bit mode on amd64 / sparc64, respectively.
2008-10-26 07:05:33 +00:00
mrg
c2a6935df8
look for <i386/vm86.h>
2008-10-26 07:05:00 +00:00
mrg
fb8d95d826
check for ${PTHREAD_MACHINE_ARCH} before ${MACHINE_ARCH} or ${MACHINE_CPU}
2008-10-26 00:00:27 +00:00
mrg
18c9521083
look for ${KVM_MACHINE_ARCH} before ${MACHINE_ARCH} and ${MACHINE_CPU}
2008-10-25 23:59:42 +00:00
mrg
4e9d08ba3d
use <i386/foo.h> in a few places.
2008-10-25 23:59:06 +00:00
mrg
3e7eaeda40
change MACHINE_CPU occurances to CRYPTO_MACHINE_CPU, defaulting the
...
latter to the former if not already defined.
2008-10-25 23:58:35 +00:00
mrg
ed79731b5f
use <sparc/pmap.h> and <sparc/kcore.h> so this builds properly with
...
a 64 bit "cc -m32".
2008-10-25 19:09:10 +00:00
mrg
15378e3afa
remove an unncessary .PATH element that doesn't exist (and never did?)
2008-10-25 19:07:26 +00:00
yamt
639a0868fd
remove ; after __weak_alias()
2008-10-25 14:14:11 +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
snj
682ea0e2b3
s/explicitely/explicitly/
2008-10-19 21:27:46 +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
43819fe5ab
Do not recommend to mix affinity(3) with pset(3).
2008-10-18 03:37:41 +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
pooka
46b5f75de9
build librumpnet
2008-10-16 09:44:12 +00:00
ad
6f7d0483cf
pthread_attr_getschedparam: allow without preceding setparam on the
...
attr structure.
2008-10-10 09:13:20 +00:00
christos
b30f2079e1
remove "limits" where it is not appropriate.
2008-10-09 14:40:11 +00:00
ad
8572b64ab0
Clarifications for PTHREAD_DIAGASSERT.
2008-10-08 10:11:11 +00:00
ad
beaa63b638
Disable diagnostic assertions by default and just return error codes like
...
other systems. Allows poorly written applications to appear working. If you
are developing pthread apps please turn it on manually by setting the
environment variable.
2008-10-08 10:03:28 +00:00
ad
fdc51b51d9
Adjust the compat stuff slightly so that the changes are mostly self
...
contained (Makefile, pthread_compat.c).
2008-10-08 08:27:07 +00:00
pooka
5877c6dc5e
Embed library build version into the init call and refuse to init
...
if they don't match. In other words, this is a lightweight library
major number.
2008-10-07 23:16:59 +00:00
pooka
eadc5f75ae
check ukfs_init() return value
2008-10-07 23:14:58 +00:00
pooka
10f58aee6b
adapt to RUMPCRED_SUSER change
2008-09-30 19:26:23 +00:00
pooka
49d75a288d
Do not clear curlwp after request if we have unmounted. This avoids
...
an annoying side effect of the reference counting nightmare, namely
trying to vrele() a recently-ceased-to-be cwd.
2008-09-30 17:18:46 +00:00
aymeric
e56ab6501a
have '$' include the last character in the line when embedded in a command.
...
This fixes c$, d$, y$, and so on in vi mode.
2008-09-30 08:37:42 +00:00
pooka
d93a348b24
remove verbosity attack
2008-09-29 15:59:54 +00:00
ad
844fcfc979
make PTHREAD__COMPAT=1
...
Builds a libpthread that can be dropped into a NetBSD 2/3/4 chroot.
This makes threading work in the chroot when using a NetBSD 5 kernel, no
other modifications required.
2008-09-29 08:48:15 +00:00
christos
93d0aacf67
Fix a little lint.
2008-09-28 18:54:55 +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
joerg
af4f585309
Switch to libarchive in src/external/bsd.
2008-09-21 19:45:59 +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
bd88cf3b5a
PR/7505: Obata Akio: add missing bn_const.c
2008-09-19 14:50:53 +00:00
christos
6f1e299202
From Ilya Dogolazky: Fix return value doc.
2008-09-17 22:08:52 +00:00
haad
664f39465e
Bump libprop minor number, I forgot to do it when I have added
...
prop_array_add_* routines. In version 1.2 of prop_array_util.c.
Pointed by bad@.
2008-09-15 18:19:25 +00:00
drochner
dc7ba38823
fix the -0.0 case, fixes a gm4 test error reported by wiz
...
(normally, the libm implementation should be used)
2008-09-14 13:38:38 +00:00
wiz
7afae79e13
Bump date for previous.
2008-09-13 09:20:37 +00:00
rmind
0f80b1578d
Arguments were swapped for cpuset_set(), cpuset_clr(), cpuset_isset()
...
functions, but man pages were not updated (hi Christos!).
2008-09-12 13:39:04 +00:00
christos
628eb1017e
PR/39513: Stathis Kamperis: reboot(2) doesn't explicitly mention that combining
...
options is possible
Also remove RB_DFLTROOT.
2008-09-11 17:03:23 +00:00
christos
7ea3b31b66
PR/39519: Nozomu Ando: Fix incorrect change from bind9 that broke IPv4 mapped
...
addresses.
2008-09-11 15:40:43 +00:00
joerg
d3595ddff7
Consistently include "nbtool_config.h" when cross-compiling.
2008-09-11 12:58:00 +00:00
joerg
65f930bc37
Remove one remaining sccsid.
2008-09-11 12:33:55 +00:00
joerg
3ae583451f
Prepare use of strtoull, strtoumax and strtoimax in tools/compat by
...
including nbtool_config.h.
2008-09-10 18:08:58 +00:00
joerg
52c4a82ef2
In preparation for providing a db fallback in libnbcompat, remove
...
sccsid and conditionals around __RCSID. lint understands __RCSID enough
to ignore it, undefining LIBC_SCCS is superseded by MKSTRIPIDENT.
No functional changes.
2008-09-10 17:52:35 +00:00
christos
872a7369cc
Allow a single process to control multiple ttys (for pthreads using _REENTRANT)
...
using multiple EditLine objects. Mostly from Preston A. Elder.
2008-09-10 15:45:37 +00:00
apb
7318d748c1
Mention the word "regexp" and the fact that this inteface is obsolete
...
in the NAME section.
Previously, "man -k regex" printed the following two lines
with no hint that you needed to do "man 3 regexp" to get to
the man page associated with the first of the two lines:
regcomp, regexec, regsub, regerror (3) - regular expression handlers
regex, regcomp, regexec, regerror, regfree (3) - regular-expression library
2008-09-08 22:14:11 +00:00
pooka
24da753b34
fix type for a few functions
2008-09-07 15:14:31 +00:00
apb
a1dad6e718
Fix some errors in examples, noticed by Robert Elz:
...
* use \e in the source to get a backslash in the output.
* test whether the result from shquote[v]() is -1 before, not after,
adding 1 to it.
2008-09-07 08:55:46 +00:00
wiz
91eff5cc84
Drop trailing whitespace.
2008-09-06 15:43:27 +00:00
pooka
8591ab211b
Add AsiaBSDCon 2008 paper to SEE ALSO.
2008-09-06 12:39:49 +00:00
lukem
4e3bc9a2d6
Expand the description of bsize, and correct the description of the default.
2008-09-05 06:25:04 +00:00
lukem
490ac90f8e
Add strunvisx(3) as a link to unvis(3)
2008-09-05 04:52:34 +00:00
dholland
629defb951
Clarify that the historic V7 sticky file semantics no longer apply.
2008-09-05 03:28:15 +00:00
pooka
1acae5309f
Fix double free when i/o descriptor is violently closed. Bug was
...
introduced in rev 1.27.
fix provided by Taylor R Campbell in lib/39353
2008-09-04 15:30:36 +00:00
lukem
6fb06e2c97
In strsvisx(), don't attempt to read the "next" character past the end
...
of the provided length.
2008-09-04 09:41:44 +00:00
lukem
ec3a8384e6
support MAKEVERBOSE
2008-09-03 07:12:28 +00:00
christos
350c055a53
update to 4.26
2008-08-30 12:16:52 +00:00
dholland
43987efbe4
Grammar police.
2008-08-29 05:48:40 +00:00
gmcgarry
3c9a95916d
Wrap compiler-specific flags with HAVE_GCC and HAVE_PCC as necessary. Add a few flags for PCC.
2008-08-29 00:02:21 +00:00
christos
5022bd798d
Ignore whitespace in format string from Andy Shevchenko
2008-08-28 16:41:21 +00:00
joerg
dcb3546b5c
Fix __log2 to not loop for 0x80000000 and higher.
2008-08-28 11:00:43 +00:00
christos
80a5932343
setup _POSIX2_C_BIND per SUSv3, from Andy Shevchenko
2008-08-27 08:56:49 +00:00
christos
40d362f8e0
malloc(3) and getenv(3) affect errno; make sure we save and restore it
...
Reported by Andy Shevchenko
2008-08-27 08:49:03 +00:00
christos
40d6ddde20
system(NULL) should return if the command interpreter is there or not.
...
Andy Shevchenko
2008-08-27 06:45:02 +00:00
joerg
40b37a3bf2
Convert db from UCB types to POSIX types. Prefer uint8_t for u_char as
...
it is mostly about the wire format.
Patched libc.so is bit-identical.
OK matt@
2008-08-26 21:18:38 +00:00
drochner
14744ddade
fix range of strtouq(), from Henning Petersen per PR lib/39399
2008-08-26 12:21:24 +00:00
lukem
4638a08a72
Use Qq instead of Qc to quote a single word
2008-08-26 05:04:19 +00:00
joerg
8609f98c0c
mpool.libtp seems to be an ancient copy of mpool.c, nuke it.
2008-08-25 21:24:07 +00:00
joerg
245e086321
Unify the implementation of strto{l,ul,ll,ull,imax,umax,q,uq} into one
...
version for signed and one version for unsigned data types.
Add a check for supported bases and set errno (userland) or panic
(kernel, libsa) otherwise.
Make strto{ll,ull,imax,umax} normal symbols and just keep the underscore
versions as strong alias.
Obtained from DragonFly, based on the wide char version from Citrus.
Reviewed by christos@
2008-08-20 12:42:26 +00:00
gmcgarry
77023558e8
Changee __attribute(__weak__) to __weak_reference(). Produces same object code
...
and matches lib/csu/common_elf/common.h. Fixes linkage with PCC.
2008-08-17 10:51:19 +00:00
rtr
e5321bd81b
revert previous
2008-08-17 10:50:50 +00:00
dholland
377b231974
Fix grammar. Noted by Taylor R Campbell in PR 39369.
2008-08-17 09:40:59 +00:00
rtr
1becd174de
fix comment iff -> if
2008-08-17 09:26:45 +00:00
wiz
b9a5e63c26
Bump date for previous.
...
Sort ERRORS, and merge two entries for the same errno value.
2008-08-14 18:00:08 +00:00
matt
8165c33c80
Implement following constants and add support their to the UFS family of file
...
systems:
_PC_2_SYMLINKS
_PC_SYMLINK_MAX
From andy dot shevchenko at gmail dot com.
2008-08-14 16:19:25 +00:00
pooka
10b4d05961
Fix rump_vfs_sync() credarg also.
2008-08-14 15:24:18 +00:00
pooka
190154b4de
Fix arg to RUMP_VOP_READDIR, NULL no longer works there.
2008-08-14 15:22:41 +00:00
tnozaki
cd0f2012d3
SUSv3 says, if not printable wide-character exists, return -1.
2008-08-12 21:59:27 +00:00
tnozaki
73651b99df
add _CTYPE_R(printable) bit for ALL_80_TO_FF_SW1 area.
...
now wcwidth(wc) looks whether wc is printable or not.
2008-08-12 21:25:31 +00:00
tnozaki
b5174f925f
SUSv3 says, wcwidth(wc) returns:
...
1) wc is nul wide-character, return 0.
2) wc is printable wide-character, return column width.
3) else, return -1.
but our implementation, case 3) returns 0. it's wrong!
2008-08-12 20:51:25 +00:00
pooka
3fd391abc8
void * -> puffs_cookie_t
...
no functional change
2008-08-12 19:51:55 +00:00
pooka
ff42332733
Replace void * by puffs_cookie_t where appropriate. No functional change.
2008-08-12 19:44:39 +00:00
skrll
0b99767bfe
Remove unnecessary include.
2008-08-11 21:45:24 +00:00
pooka
71043aa4cb
clear cached puffs_cc's in puffs_exit()
2008-08-11 16:23:37 +00:00
pooka
7602ecfa8f
* make sure we come out of mainloop in the main context. otherwise in
...
certain cases the server would jump to hyperspace when unmounted
* sprinkle some debug prints
2008-08-11 15:59:01 +00:00
pooka
44053cbe13
Avoid pid 0
...
XXX: pid allocation should not be done here.
2008-08-08 14:16:24 +00:00
matt
c331e46238
Add support for missing _SC_* constants for sysconf().
...
From andy dot shevchenko at gmail dot com
2008-08-06 17:17:03 +00:00
matt
f0a4a8908c
Add a missing dependency
2008-08-06 16:22:48 +00:00
plunky
e6fde5136f
For convenience, pad the structures for NAP, GN and PANU profiles
...
to be the same size.
2008-08-06 14:21:33 +00:00
lukem
c15f2bdde0
Revert previous addition of '-e sedcmd'. Still retain the usage improvements.
2008-08-05 02:08:13 +00:00
lukem
0cc7d83887
Redo previous in a much simpler way.
...
Inspired by and fixes PR 39285.
2008-08-05 02:06:53 +00:00
lukem
d3eb13d073
Add '-e sedcmd' to makelintstub, to translate filename to syscall name.
...
Improve usage, etc.
Invoke makelintstub with -e 's/^tmp_//' when building LintSysNormal.c
Fixes build problem that matt@ highlighted to me.
2008-08-05 01:54:47 +00:00
matt
cac8e44915
Add C99 functions imaxabs and imaxdiv.
2008-08-04 21:29:27 +00:00
matt
01b36ae8ad
Use WEAK_ALIAS
2008-08-04 20:26:38 +00:00
matt
e796a34c9c
Use WEAK_ALIAS.
...
Add imaxabs weak alias.
2008-08-04 20:21:26 +00:00
lukem
29e7a5c114
Prefix filenames of tomporarily generated .S files with "tmp_", so that the
...
".if exists(foo.S)" check doesn't get confused by ${.OBJDIR}/foo.S.
Fixes PR/39217
2008-08-04 00:53:51 +00:00
veego
cca63e16c3
Restore .hx support for avoiding unneeded regeneration of header files
...
Fix PR lib/39185
Partly restore the changes which were removed during the Heimdal 1.1 update:
src/lib/libasn1/Makefile 1.28 -> 1.29
src/lib/libhdb/Makefile 1.21 -> 1.22
src/crypto/dist/heimdal/lib/asn1/gen.c 1.8 -> 1.9
Add .hx support in 'new' heimdal libraries:
src/lib/libgssapi/Makefile
src/lib/libhx509/Makefile
Add a new entry in doc/HACKS for this changes.
2008-08-03 07:16:58 +00:00
matt
2b0c4dcffd
Change pthread_mutex_t to use the amount of space as and be congruent to
...
the version used in the SA version of pthreads. This preserves binary
compatibility between both versions of the library.
2008-08-02 19:46:30 +00:00
matt
c0038aadef
Change some type to eliminate some lint warnings.
2008-08-02 16:02:26 +00:00
pooka
541195ef5d
Introduce ukfs_vfstypes() which returns the available file system
...
types loaded into rump. Now it is possible to iterate over all
file system types supported by a rump program in an attempt to
access an unknown file system image instead of having to know
beforehand which type of file system is on the image.
2008-08-01 19:52:10 +00:00
dillo
2a16dc1a4e
Add API version 2.6 variant of fuse_setup.
...
Reviewed by agc.
2008-08-01 15:54:09 +00:00
pooka
b6113580a4
__{BEGIN,END}_DECLS
2008-08-01 14:50:28 +00:00
pooka
c19f1a2afd
Support ukfs_modload(), which dlopens and vfs_attaches rump file
...
system modules for use. Sneakily this solves the problem with the
dynamic linker not wanting to handle the modules link set for
binaries where more than one file system library is included during
the link phase and therefore only one of the file systems getting
vfs_attach()ed in rump "boot". But more importantly, this is really
TRTTD, since now applications can be built, linked and shipped
completely independently of the file systems they support.
tested by Arnaud Ysmal
2008-08-01 14:47:28 +00:00
pooka
6fe369e772
Nuke __VFSOPS_EXPOSE, it hasn't been used in ages.
2008-07-30 18:10:38 +00:00
joerg
9acf218ba1
Before using the slightly more involved bitmap tables,
...
check that the charset for strspn/strcspn is non-trivial.
An empty charset is either a direct return or a strlen and
a single charset a simple loop.
2008-07-30 16:13:59 +00:00
pooka
e3c0c9ec57
No reason to forward def componentname anymore
2008-07-30 14:59:47 +00:00
pooka
d2b954cb75
Include <sys/types.h> for completeness, uid_t etc. in prototypes
...
noticed by Arnaud Ysmal
2008-07-30 14:57:40 +00:00
christos
365dab42f3
handle EINTR in the termios operations, reported by the GHC folks
2008-07-30 13:00:46 +00:00
pooka
db96f8c4cc
fix pasto
2008-07-29 21:11:17 +00:00
lukem
a703e9a7ca
Disable assembler warnings on mipseb and mipsel for mcount.c
...
Workaround for PR#39192
2008-07-29 14:20:12 +00:00
pooka
bdf6e0b034
Install rump libraries and utilities to the base system and remove the
...
private non-installed build infrastructure from sys/rump.
breakdown of commit:
* install relevant headers into /usr/include/rump
* build sys/rump/librump/rumpuser and sys/rump/librump/rumpkern
from src/lib and install as librumpuser and librump, respectively
+ this retains the ability to test a librump build with just the
kernel sources at hand
* move sys/rump/fs/lib/libukfs and sys/rump/fs/lib/libp2k to src/lib
for general consumption, they are not kernel-space dwellers anyway
* build and install sys/rump/fs/lib/lib$fs as librumpfs_$fs
* add chapter 3 manual pages for rump, rumpuser, ukfs and p2k
* build and install userspace kernel file system daemons if MKPUFFS=yes
is spexified
* retire fsconsole for now, it will make a comeback with an actually
implemented version shortly
2008-07-29 13:17:40 +00:00
dsl
9edd12efca
Change the gross #defines HVIS and SVIS into local functions.
2008-07-25 22:29:23 +00:00
christos
674681d3c0
fix gcc warnings from Alexander Shishkin
2008-07-25 14:05:25 +00:00
tnozaki
97d29a42cd
add workaround for PR/39175(Curses regression causes disoptimal and
...
confusing output), act as rev1.25 does when wcwidth == 1.
2008-07-23 13:32:41 +00:00
lukem
ae07e87382
Enable MAKEVERBOSE support.
2008-07-21 15:34:58 +00:00
lukem
8897ce05a0
Remove the \n and tabs from the __COPYRIGHT() strings.
...
Tweak to use a consistent format.
2008-07-21 12:05:43 +00:00
veego
e6e078517c
Add CLEANFILES for ${BUILT_SRCS} (vis.h)
2008-07-20 16:25:35 +00:00
veego
5eea48350f
Add a CLEANFILES line to remove the generated file defs.h
2008-07-20 14:36:52 +00:00
pooka
6ebb8696c9
add pthread_cond_has_waiters_np()
2008-07-18 16:17:11 +00:00
drochner
1914237fbe
include <stdlib.h> explicitely, for exit(), getprogname() etc.
...
(it happens to be pulled in by the yacc skeleton, but we shouldn't
rely on this)
2008-07-17 16:24:55 +00:00
dholland
d3dda4ea44
Clarify one of the process-group-ID cases by saying "process group ID"
...
instead of just "group ID". This was sitting in my tree and I forget
the exact genesis - I think it came up in chat a couple months ago.
2008-07-13 15:16:26 +00:00
christos
df0a282e52
Don't bother with SIGSTOP it cannot be caught or ignored. From Jess Thrysoee
2008-07-12 15:27:14 +00:00
gmcgarry
686556951e
Add test for HAVE_PCC with HAVE_GCC which turn off compiler warning flags.
2008-07-12 12:29:42 +00:00
gmcgarry
396359b261
Check MKCOMPLEX variable to build complex support into libm.
2008-07-12 12:23:13 +00:00
gmcgarry
495a069c8d
Test MKATF variable to compile ATF libs.
2008-07-12 12:20:08 +00:00
gmcgarry
99f83f7619
Nuke __strong_alias() to avoid definition loop.
2008-07-08 00:23:28 +00:00
gmcgarry
5aa0bc7608
Selector registers are 16-bit and binutils 2.18 insists that only 16-bit
...
accesses are permitted on them. Therefore, change movl to movw. No change to
machine code generated.
2008-07-07 13:01:16 +00:00
tnozaki
c71a9f1dad
use mbrtowc() instead of mbtowc().
2008-07-04 16:52:10 +00:00
tnozaki
b29240a183
use nl_langinfo(CODESET) instead of setlocale(LC_ALL, "").
2008-07-04 16:24:45 +00:00
tnozaki
c1cfc49998
fix cursor position problem with the character wcwidth > 1.
...
discussed in tech-userlevel, ok'ed by jdc@ thanks!
2008-07-04 15:51:35 +00:00
rmind
7781a976a7
Avoid calling a syscall when argument to sbrk(2) is zero.
...
OK by <ad>.
2008-07-02 20:07:43 +00:00
rmind
2a94bd63c1
Move scheduling functions from librt to libc.
...
Fixes PR/38657.
2008-07-02 20:05:16 +00:00
matt
48717a981d
Move rb.c from sys/lib/libkern to common so it can be in both libc and libkern.
2008-06-30 19:03:59 +00:00
ad
b4c1afd422
Shut lint up.
2008-06-28 16:50:43 +00:00
ad
27e50f7c64
Avoid spurious assertion failure.
2008-06-28 10:37:20 +00:00
ad
0e006eeb6f
Minor correction to previous.
2008-06-28 10:36:12 +00:00
ad
cbd43ffa55
Now that we have all the scheduling gunk, make these do something useful:
...
pthread_attr_get_np
pthread_attr_setschedparam
pthread_attr_getschedparam
pthread_attr_setschedpolicy
pthread_attr_getschedpolicy
2008-06-28 10:29:37 +00:00
ad
2a7116daf3
ttyname_r is another of the strange functions that returns its error code
...
instead of setting errno.
2008-06-25 11:47:29 +00:00
ad
3ae2f84118
Add _SC_TTY_NAME_MAX.
2008-06-25 11:46:11 +00:00
ad
5c6eb305b3
Fix MLINKS line
2008-06-25 11:19:28 +00:00
ad
c6f43a476e
Crank libc minor for getlogin_r
2008-06-25 11:12:01 +00:00
ad
5f64faa3a9
Add getlogin_r. Manual page changes mostly lifted from FreeBSD.
2008-06-25 11:10:24 +00:00
ad
d29b52efe8
Return -1 for the unsupported realtime extensions.
2008-06-25 11:09:20 +00:00
ad
403a399142
pthread_attr_setstacksize: EINVAL if the requested size is less than
...
sysconf(_SC_THREAD_STACK_MIN).
2008-06-25 11:07:07 +00:00
ad
39a9e71121
pthread_join: explicitly test for cancellation.
2008-06-25 11:06:34 +00:00
drochner
39ba286079
as in exp(), treat +/-Inf and NaN arguments specially, should fix
...
eg expf(-Inf) which was Nan previously
(We could avoid touching the i387 on amd64 in these cases, but we'd
need to bypass the ABI abstraction macros, so leave it the old way
for now.)
2008-06-24 17:27:56 +00:00
ad
e7bd22925c
A few more POSIX defs for threads.
2008-06-24 14:06:55 +00:00
ad
6d153667e5
pthread_kill, pthread_sigmask: return errno, not the return from the system
...
call. Found by VSTHlite.
2008-06-24 13:45:07 +00:00
christos
0ec2ee405f
No need for pthread anymore.
2008-06-23 14:52:11 +00:00
ad
10ba267505
Split cond_signal/cond_broadcast into inline and non-inline parts, like
...
the kernel.
2008-06-23 11:01:19 +00:00
ad
d9a30823e2
Move call to pthread__self() later.
2008-06-23 11:00:53 +00:00
ad
380c3da007
Split choose_arena() back out into inline and non-inline portions.
2008-06-23 10:46:25 +00:00
ad
3e1711d6de
pthread__threadreg_get: mark it const.
2008-06-23 10:39:38 +00:00
ad
edbc7575cc
pthread_curcpu_np: remove hack for pthread_dummy_lwpctl.
2008-06-23 10:38:39 +00:00
drochner
bc43bac5ca
-fix an obvious mistake in fpcw check
...
-replace ARG_DOUBLE_ONE_HALF by _MSW/_LSW because this reflects the
intention and also matches the terms used in C code,
also make the code where the fpcw overwrites the argument a bit
self-documenting
(this abstraction sucks because it forces to write inefficient code)
2008-06-23 10:24:13 +00:00
ad
7a21650601
Install manual pages for the atomic ops.
2008-06-23 10:22:40 +00:00
christos
1d1021c331
add macros for the upper half of the double arguments.
2008-06-23 00:14:46 +00:00