Commit Graph

12913 Commits

Author SHA1 Message Date
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