Commit Graph

17867 Commits

Author SHA1 Message Date
ginsbach
862d86e79e ISO 8601 and RFC 3339 specify that an offset can be up to 23:59 and
not 12:00 east/west.  Just proves that one shouldn't use other
implementations as a canonical reference.  Thanks to all who pointed
this out.
2015-10-30 03:18:10 +00:00
christos
f4d28d09d8 Add tzgetgmtoff() prototype I forgot to commit. 2015-10-30 03:08:56 +00:00
ginsbach
a5eaa096be Reject timezone offsets more than 12 hours (east or west). 2015-10-30 01:49:36 +00:00
wiz
4bdb969ddc Whitespace. 2015-10-29 22:42:55 +00:00
kamil
ed6e96ca70 Correct typos in comments
Pointed out by Edgar Fuss and J. Lewis Muir.
2015-10-29 20:29:24 +00:00
christos
fb1c722214 another lint warning for compat. 2015-10-29 19:18:32 +00:00
christos
5eac10702e - use #defined constants (from gisbach)
- back to setting tm_zone to NULL when we don't know.
2015-10-29 19:18:19 +00:00
christos
d690aea660 new tzgetgmtoff 2015-10-29 17:55:09 +00:00
christos
4ba084a19e PR/50380: Balazs Scheidler: strptime() returns incorrect values in tm_gmtoff
- Always offset in seconds.
- Handle arbitrary timezones.
2015-10-29 17:54:49 +00:00
christos
37de2f9dd3 Add tzgetgmtoff(3) 2015-10-29 17:53:04 +00:00
christos
cefa99b2ad Document tzgetgmtoff(3) 2015-10-29 17:51:58 +00:00
christos
1aed602970 Add tzgetgmtoff, delint compat 2015-10-29 17:49:24 +00:00
wiz
f0f2f50bf3 More articles, less typos. 2015-10-29 06:57:34 +00:00
uwe
1d644ad7b0 Document update_panels(). 2015-10-29 02:36:01 +00:00
uwe
e47dc51a2a Fix typo missed by wizd(8). 2015-10-29 02:33:46 +00:00
wiz
ed8dd38836 Improve wording. 2015-10-28 10:22:40 +00:00
wiz
9b23e645c3 Fix whitespace. 2015-10-28 10:18:54 +00:00
wiz
8249bf064f Fix xrefs.
XXX: someone should write stdscr(3)
2015-10-28 10:18:43 +00:00
uwe
0c624ce435 Provide descriptions of panel functions. 2015-10-28 02:23:50 +00:00
uwe
fe1865411c Skeleton manual pages for libpanel functions. No content yet. 2015-10-27 23:42:55 +00:00
uwe
ab1c44cb65 Manual page for libpanel. 2015-10-27 23:13:18 +00:00
uwe
5858a2db3d First cut at ETI libpanel. Lacks man pages and tests.
Not hooked into the build yet.
2015-10-26 23:09:49 +00:00
christos
4dddbc1f8d put the state back after it is used. 2015-10-26 19:41:19 +00:00
christos
208f128939 PR/50367: Stefan Schaeckeler: Apply fix to obey RES_CHECKNAME to getnetbyaddr
and getnetbyname.
2015-10-26 19:28:53 +00:00
christos
a7b9f27a41 PR/50367: Stefan Schaeckeler: libc resolver library does not resolve host
names with underscores ("_"). According to resolv.conf(5) RES_NOCHECKNAME
is on by default; well, it is and gethostbyname(3) obeys it
(gethnamaddr.c:maybe_ok), but getaddrinfo(3) up till this commit not.
XXX: pullup-7, pullup-6
2015-10-26 14:48:04 +00:00
roy
4557363ec4 Use strerror(3) instead of strerror_r(3) and an arbitary buffer size which could be too small. 2015-10-26 11:44:30 +00:00
pooka
3a6246a644 Don't include daemon.c in RUMPRUN=yes mode.
The standard implementation uses fork(), needs an alternative
implementation for Rumprun.
2015-10-25 16:01:04 +00:00
christos
0fe5419e98 Use the full buffer for the conversion; ideally we should be dynamically
allocating this. From Jilles Tjoelker
2015-10-21 21:45:30 +00:00
christos
234792da04 make sure we have space for NUL and NUL terminate buffer array (Jilles Tjoelker) 2015-10-19 00:36:27 +00:00
uwe
3ae7b58008 Fix x/y edito. 2015-10-17 00:35:25 +00:00
christos
1616498e3d these are syslog-like 2015-10-14 15:54:21 +00:00
christos
f9589d4feb Release 2015g - 2015-10-01 00:39:51 -0700
Changes affecting code

    localtime no longer mishandles America/Anchorage after 2037.
    (Thanks to Bradley White for reporting the bug.)

    The localtime module allows the variables 'timezone', 'daylight',
    and 'altzone' to be in common storage shared with other modules,
    and declares them in case the system <time.h> does not.
    (Problems reported by Kees Dekker.)

    On platforms with tm_zone, strftime.c now assumes it is not NULL.
    This simplifies the code and is consistent with zdump.c.
    (Problem reported by Christos Zoulas.)

  Changes affecting documentation

   The tzfile man page now documents that transition times denote the
   starts (not the ends) of the corresponding time periods.
   (Ambiguity reported by Bill Seymour.)
2015-10-09 17:21:45 +00:00
martin
59db503a23 Fix the -m32 compat build for sparc64 after recent sparc/include/types.h
changes. XXX I suspect this variant has not been tested in real life.
2015-10-07 11:56:41 +00:00
christos
a786eb43af PR/50295: Fix clock_nanosleep return value documentation. 2015-10-02 19:52:49 +00:00
christos
4a21fa14fc Neither libproc or librtld_db require CTF 2015-09-28 17:12:12 +00:00
christos
c9b640c057 need uvm_param.h now. 2015-09-26 20:28:55 +00:00
christos
e09cabee76 args are flipped. 2015-09-25 19:27:31 +00:00
christos
a94376db50 use provide KERN_PROC_PATHNAME in PROC_ARGS. 2015-09-25 19:18:28 +00:00
christos
c09ba22ef4 Restore previous: only build libproc and librtld_db for dtrace since many
archs are not supported.
2015-09-25 11:39:08 +00:00
christos
dc1fa8fa85 we always build librtld_db and libproc. 2015-09-25 11:35:05 +00:00
martin
2f0225ffc2 librtld_db depends on libproc, so conditionalize it as well 2015-09-25 10:08:35 +00:00
martin
e662b1ba49 libproc depends on libctf, so conditionalize it with the same condition 2015-09-25 07:41:53 +00:00
christos
46e2ed0d2c make dtrace follow libproc. 2015-09-24 18:37:33 +00:00
christos
85dc0057a4 Hello lint. 2015-09-24 15:30:39 +00:00
christos
58ad14e816 Hook up libproc and librtld_db into the build 2015-09-24 14:48:36 +00:00
christos
80a7733395 Add kinfo_getvmmap from FreeBSD 2015-09-24 14:39:20 +00:00
christos
1ede8275d7 - fix various leaks on error
- don't use the wrong error variable in switch
- always set the error return code
- return consistent errors when the input data cannot be handled.
2015-09-22 16:16:02 +00:00
christos
525756d35c be more forgiving, and don't abort on unexpected errors. 2015-09-22 16:15:08 +00:00
christos
b350f7a434 Handle herrors properly so that postfix can return 4XX codes when appropriate.
Pointed out by Viktor Dukhovni.
2015-09-22 14:46:09 +00:00
joerg
605a3a0b27 Drop .proc. It is ignored by GNU as anyway. 2015-09-22 13:27:13 +00:00