Commit Graph

13622 Commits

Author SHA1 Message Date
drochner
e712404ece let the previous fix apply to acos rather than atan2,
and get rid of #ifdef vax
2010-01-20 16:49:42 +00:00
tnozaki
1166d8dc53 PR/42630 asin(2.0) and acos(2.0) doesn't return NaN.
reported by NARUSE, Yui -san, Thanks!
2010-01-20 16:31:35 +00:00
christos
6fbbcd94ce PR/42646: Joachim Kuebart: Shell crashes in libedit when window size changes
(SIGWINCH). Return NULL if el_gets() gets interrupted.
2010-01-20 01:15:52 +00:00
christos
654f9c04e7 Fix wrapper for EL_EDITOR, from Michael L. Hitch 2010-01-19 22:38:08 +00:00
christos
081c24c702 PR/42637: Joachim Kuebart: Shell tab completion crashes due to libedit stack
smashing
2010-01-18 19:17:42 +00:00
wiz
64e964907b Close file handle after using it. Found by cppcheck. 2010-01-17 23:17:08 +00:00
wiz
f9884f518a Free malloc()ed buffer in error case. Found by cppcheck. 2010-01-17 23:13:32 +00:00
wiz
62523e18d5 Close file handles in error cases. Found by cppcheck. 2010-01-17 23:12:30 +00:00
wiz
ccf859cb7b Close file handle in error case. Found by cppcheck. 2010-01-17 23:10:20 +00:00
wiz
7bd4f0a241 Close log file handle after using it. Found by cppcheck. 2010-01-17 23:09:02 +00:00
wiz
15989318ee Close file handle after using it. Found by cppcheck. 2010-01-17 23:06:31 +00:00
joerg
56da4fa7b5 Move AMD64's bswap64 implementation from libc to src/common and share it
with the kernel.
2010-01-14 02:09:46 +00:00
christos
139d3d5a3b - call the mapping function directly instead of el_wset().
- save the strings passed to the mapping function so that they don't get
  re-used. This leaks. To fix it properly we could either pass a flag to
  free particular entries before re-using, or allocate all of them.
  Allocating all of them wastes memory, allocating some of them makes
  the code more complex.
This fixes compatibility binding (shell tab completion for example)
2010-01-12 19:40:50 +00:00
christos
c9043bbf6e - in the argv conversion, handle NULL as NULL
- when printing tab/nl print them, don't handle them specially.
2010-01-12 19:37:18 +00:00
pooka
b95be6c682 Add convenience routine puffs_unmountonsignal(), which does exactly that. 2010-01-12 18:42:38 +00:00
christos
de3b931d80 merge conflicting error sections. 2010-01-12 15:51:01 +00:00
christos
a61eab08ce remove weak reference for now. 2010-01-11 23:38:24 +00:00
joerg
00711901b6 Use a proper char */size_t pair in __sfileext to keep track of the line
buffer for fgetln and fgetwln. Simplifies code by dropping the INT_MAX
related logic. Drop conditionals around FREELB, free(NULL) is valid.
2010-01-11 20:39:29 +00:00
christos
5f7c431ef4 Add exp2 and exp2m 2010-01-11 16:28:39 +00:00
joerg
635076e0b1 Fix mdoc(7)/man(7) mix up. 2010-01-08 23:14:13 +00:00
joerg
69ebc5167f Fix up mix of man(7)/mdoc(7). 2010-01-08 19:20:21 +00:00
joerg
71f3cc8605 Try to fixup the mess of mdoc(7)/man(7) mixture as created by the merge. 2010-01-08 17:16:56 +00:00
pooka
ffe194d485 Use typecast instead of ULL for a less whiny lint on LP64. 2010-01-07 23:03:26 +00:00
pooka
cf755ff393 Rewrite puffs_exit() in terms of the PUFFSOP_UNMOUNT kernel request.
Now server exit is a lot quite cleaner than previously.
2010-01-07 22:49:19 +00:00
pooka
0dd997522d Be slightly more forgiving about unknown operation types. 2010-01-07 22:46:11 +00:00
pooka
b3cd880417 Set high bit on server->kernel requests to better differentiate
between the direction of the request.
2010-01-07 22:40:11 +00:00
pooka
a63d44abdb Dump contents of struct vattr -- i never remember which members
the kernel passes when, so this helps tapping that info.
2010-01-07 20:47:47 +00:00
pooka
d0f464047a * make indentation a little less ridiculous
* note that interfaces provided by <puffsdump.h> are not stable and
  are to be used only for debug builds
* remove a few unimplemented/used dump interfaces
2010-01-07 18:09:07 +00:00
skrll
5ddaffd107 Deal with PLABELs in _lwp_makecontext 2010-01-07 12:31:10 +00:00
phx
7377320537 Jump through the PLT in PIC mode to fix the DT_TEXTREL warning on creating
the shared object.
2010-01-06 14:10:57 +00:00
jakllsch
ec1d44ba55 Fix copy-paste-o. Per the HID spec, Global Item Tag 0b001101nn is
Physical Minimum, not a alias for Physical Maximum.
2010-01-05 17:57:06 +00:00
pooka
304a850cb9 fix typography 2010-01-04 22:04:50 +00:00
wiz
0d3270a169 Bump date for historyw -> history_w. 2010-01-03 19:05:26 +00:00
christos
73eda9fe27 rename historyw -> history_w for consistency.
add wide tst code and make it the default.
2010-01-03 18:27:10 +00:00
tsutsui
47ef4e54e9 Include "nbtool_config.h" for src/tools/zic/ and
remove bogus -DNOID to disable __RCSID().

XXX: should we also remove #ifndef lint from scheck.c and zic.c?
2010-01-02 10:42:49 +00:00
dholland
c281fbb701 POSIX says realpath(NULL, foo) is supposed to yield EINVAL rather than
being allowed to crash. Go figure. Closes PR lib/42559 from Stathis Kamperis.
2010-01-01 19:59:21 +00:00
mlelstv
86162a51cc Import tzcode2009k.
- now understands 64bit time_t and 64bit data in timezone files.
- localtime(), gmtime(), asctime() and ctime() may now fail with
  a NULL result if time_t cannot be represented by struct tm.
2009-12-31 22:49:15 +00:00
christos
4168f34493 expose the encode and decode string functions for the benefit of history
and readline.
2009-12-31 18:32:37 +00:00
christos
dc8498bec8 - Document and enable wide character support.
- Fix read function compatibility.
2009-12-31 15:58:26 +00:00
christos
0b9ae3fdf0 Fix wide build, test it, but don't turn it on yet. 2009-12-30 23:54:52 +00:00
christos
34e53048e6 Wide character support (UTF-8) from Johny Mattsson; currently disabled. 2009-12-30 22:37:40 +00:00
mrg
35ea637d2b avoid some subdirs that need -lcrypto, for MKCRYPTO=no. 2009-12-29 23:01:09 +00:00
christos
8106943a02 reduce diff with tcsh 2009-12-28 22:15:36 +00:00
christos
b90e7198e7 improve on the listing display by printing only one character after the
filename not two, and no trailing blanks. I will revisit this when I write
the ls-F code.
2009-12-28 21:55:38 +00:00
christos
c8b67cd8d5 Reduce diff with tcsh's editor. No functional change intended. 2009-12-28 21:54:21 +00:00
christos
969676ec74 Fix bug where tab completion on the second or > line that caused listing
ended up corrupting the display by an extra space in the beginning. Reported
by Mac Chan.
2009-12-28 21:52:43 +00:00
pooka
3454464e10 Technically we're supposed to use flags from the RUMP_NAMEI namespace
instead of NAMEI directly.  Probably doesn't matter in practise,
since the chances of this running on non-NetBSD are low.  But make
it correct anyway.
2009-12-23 01:15:11 +00:00
pooka
81eb543b62 Use NAMEI_INRENAME to improve the situation with detecting on when
to save componentname instead of looking at SAVESTART.  Not perfect,
but better.  Also, try to be more forgiving of kernel bugs.
2009-12-23 01:11:39 +00:00
wiz
16aa486655 Sort ERRORS. 2009-12-20 02:16:40 +00:00
pooka
0a9d896555 Remove note about portability, since PF_UNSPEC will cause socketpair()
to EAFNOSUPPORT on NetBSD(!).  Additionally, at least slowaris and
linux talk only about PF_LOCAL.  Finally, since I'm reading a NetBSD
man page, I foremost care about the code working on NetBSD.
2009-12-19 23:00:10 +00:00