Commit Graph

17966 Commits

Author SHA1 Message Date
christos 6ddc858cb0 mention ip6addrctl 2015-12-13 14:54:17 +00:00
christos 1e3e3fab0f Implement the address selection policy; from FreeBSD 2015-12-13 02:02:59 +00:00
wiz 7e13424c5b Whitespace nit. 2015-12-12 23:55:42 +00:00
nros 33961e7b90 Add manpage to the fma function in libm.
The manpage is taken from the FreeBSD project since the fma implementation is
based on the one in FreeBSD.
2015-12-12 19:05:45 +00:00
joerg 69a50ce4a2 Counting from 0 to n-1 can go wrong badly, if n is unsigned and zero and
the counter variable is not of a type larger than n. Fixes PR 50490.
2015-12-11 21:22:57 +00:00
wiz f36df50d9f Markup improvements. 2015-12-10 21:32:35 +00:00
wiz d7f847e7d4 Fix date. 2015-12-09 08:30:03 +00:00
gson 07d2388506 unbreak the build 2015-12-08 16:53:27 +00:00
christos a25476cdad PR/50506: Tobias Nygren: kqueue(2) lacks EV_DISPATCH/EV_RECEIPT support 2015-12-08 14:52:06 +00:00
christos 8d14d38c26 If we did not setup the tty, don't reset it. 2015-12-08 12:57:16 +00:00
christos a2993d741e Only reset the terminal if we have a tty (Boris Ranto) 2015-12-08 12:56:55 +00:00
christos a40b6ba18c more changes I forgot to commit 2015-12-08 12:51:21 +00:00
christos 5fd02f85b5 preserve a copy of the tm so we can check later. 2015-12-08 12:51:04 +00:00
pgoyette c423c59d2d Update to match reality. For these functions, we still try the system
call first, and only fall back to /dev/clockctl if the system call
fails.
2015-12-07 23:20:57 +00:00
christos 5e2a9cf1aa - Add support for "midnight" "noon", dawn etc.
- Add validation to date/time strings by checking that mktime did not change
  the fields of struct tm from the ones requested
- Allow the format "year monthname day".
From kre
2015-12-07 20:55:49 +00:00
christos 640422f86c Fix west australia offset, from kre 2015-12-06 14:43:59 +00:00
christos 772b3284c4 It is wrong to -I/usr/include/ssp 2015-12-03 13:11:45 +00:00
christos a08e968bd0 PR/44915: Havard Eidnes:
- Convert NS_NOTFOUND to EAI_NONAME instead
  of EAI_NODATA which more inline with what other OS's do.
- Convert NO_DATA to NS_NOTFOUND since there is no equivalent mapping
  for nsswitch (perhaps we could add one so what we could recover the exact
  error and return EAI_NODATA?)
- If we end up following a CNAME chain that does not find any data return that
  instead of internal error.

XXX: pullup-7
2015-12-02 18:09:53 +00:00
wiz 374d132d42 Drop trailing whitespace. 2015-11-29 21:38:10 +00:00
pgoyette 121d6f085a Initial documentation of the internal syscalls that implement the librt
posix semaphores.  As requested in PR kern/37427

XXX Feel free to expand this page!
2015-11-29 06:10:01 +00:00
plunky 5197ec91c8 fix spelling Multiplexor->Multiplexer 2015-11-28 07:47:30 +00:00
wiz a1d408828c Sort sections. Mark up NULL. End Bl with El. 2015-11-26 09:48:21 +00:00
christos 600fe0a3fe fix memory leaks (from Rin Okuyama) 2015-11-26 01:05:08 +00:00
christos f5cb16e708 Always copy the area buffer, even when the length was the same
(from Rin Okuyama)
2015-11-26 01:03:22 +00:00
christos 55be0c146d Fix documentation inconsistencies, and add some clarifications (from kre) 2015-11-26 01:00:54 +00:00
christos 51dbeaccf4 Patch from kre:
- fix missing/inconsistent abbreviations
- set dst only if we are using localtime.
- properly check for errors where there were missing checks
- handle errno properly including saving and restoring.
2015-11-26 01:00:02 +00:00
christos f464a786c5 From PR/50092:
- handle calling _ti_readterm with an existing initialized terminal
- simplify free code
Also:
- fix an inconsistency in userdefs count computation
2015-11-25 19:13:49 +00:00
christos 30fc0caf54 We have the max length; use snprintf. 2015-11-25 18:46:59 +00:00
christos db71acfd71 PR/50092: Rin Okuyama: Fix memory leak. 2015-11-25 18:46:24 +00:00
christos 7ddef8633d PR/50092: Fix memory leak. 2015-11-25 18:38:21 +00:00
christos 7099a15c75 PR/50092: don't leak screen on multiple setterms. 2015-11-24 01:59:32 +00:00
christos e804370940 fix ti_puts prototype 2015-11-23 22:35:28 +00:00
kamil 43589aae40 Note to update major of libpanel(3) for new major of curses(3) 2015-11-22 04:56:00 +00:00
kamil 15fb689c63 Plug-in libpanel(3): Z-order for curses windows 2015-11-22 04:44:30 +00:00
kamil 51fc1f0d9d Specify path of a local internal header of libpanel 2015-11-22 04:30:33 +00:00
kamil 93a51714f2 Set LIBDPLIBS in libpanel for the required curses dependency 2015-11-22 04:26:14 +00:00
kamil 60586773ca Set the INCSDIR value of panel.h to /usr/include 2015-11-22 04:23:32 +00:00
kamil 71ae6a01f6 Define man page links of the libpanel functions 2015-11-22 04:21:39 +00:00
kamil 596a81a358 Update the list of libpanel man pages 2015-11-22 04:16:22 +00:00
pgoyette 2904172c27 Remove duplicated 'i' from list of numeric formats 2015-11-19 10:03:26 +00:00
wiz 09534ff4a3 Bump date for previous. 2015-11-19 07:03:13 +00:00
christos 14fcefd52e Introduce a HASH_BSIZE macro to return the blocksize; in the 64K case this
returns 0xffff to avoid overflow. This is used where sizes are stored.
2015-11-18 18:22:42 +00:00
pgoyette 9d449a8fd8 Update RETURN VALUE to match reality and POSIX 2015-11-18 13:19:52 +00:00
christos 60aa2a0eb6 Account for the -1 hack to fit 0x10000 in a short in hash_page.c 2015-11-18 13:00:46 +00:00
christos 057be2c9f2 If MAX_BSIZE == hashp->BSIZE (65536) then it does not fit in a short, and
we end up storing 0... This means that every entry needs a page. We store
MAX_BSIZE - 1 here, but it would be better to always store (avail - 1) here
so that we don't waste a byte and be consistent.
2015-11-18 00:23:39 +00:00
christos 8b926f831a PR/50441: Manuel Bouyer: hash seq enumeration skips keys on big data.
XXX: pullup-7
2015-11-17 20:19:55 +00:00
christos 53ba0e3d35 revert 0b documentation. 2015-11-13 16:00:32 +00:00
christos 50ccfe1eab Generalize the test, compare on the protocol semantics instead of the name
since it could be udp6...
2015-11-13 15:23:17 +00:00
christos 6cd5630e13 Do proper accounting for the extra -1 slot. Perhaps this is too confusing
and it would be better to just access the array with [fd + 1] instead?
2015-11-13 15:22:12 +00:00
tron 25c8e9abea Remove now unnecessary cast. 2015-11-13 11:43:26 +00:00