blymn
93ae143731
Do not free the first element of the fields array. This fixes pr 17754.
2002-08-02 14:10:25 +00:00
tshiozak
0b03f5f98b
remove an obstructive ?: operator of the check added in the last commit by
...
itojun-san.
2002-08-02 12:27:32 +00:00
blymn
4e295cd045
Allow REQ_RIGHT_CHAR to get to the end of the line.
2002-08-02 11:49:18 +00:00
blymn
a5ab810726
Refresh window after a driver command.
2002-08-02 11:48:02 +00:00
soren
819df08c48
stat(2) can return ENXIO.
2002-08-02 08:08:26 +00:00
itojun
73811081f9
correct use of strlcpy (really need to enforce length, so use memcpy)
2002-08-02 08:02:36 +00:00
itojun
463bfdcd98
use strlcpy where appropriate
2002-08-02 07:50:35 +00:00
tshiozak
19debadf5c
fix a bug of setlocale when changing locales with LC_ALL for the first
...
argunemt and with a string containing many slashes for the second argument.
This bug may cause setlocale() to destroy static datas.
If a setuid program calls this function as 'setlocale(LC_ALL, "");',
this might be vulnerable, although there are few programs having such
vulnerability. This bug probably affects every versions of NetBSD,
including 1.4, 1.5 and 1.6.
XXX: This part of setlocale is unseemly, thus we had better rewrite it in
the future.
2002-08-02 07:12:51 +00:00
nathanw
b18986f532
#include <string.h> for prototypes of strlen and strcpy.
2002-08-01 23:46:37 +00:00
itojun
cf0cafaa38
correct range check. from openbsd
2002-08-01 05:22:43 +00:00
jdolecek
06a4a82134
restore the previous form of the condition checking malloc() return value, which
...
was changed in previous revision
2002-07-31 12:57:36 +00:00
itojun
891518d386
allow calloc(0, x) and calloc(x, 0). sync w/openbsd
2002-07-31 09:26:49 +00:00
itojun
2cd481ef73
plug memory leak. from ebisawa@iij, sync w/kame
2002-07-31 07:00:22 +00:00
soren
a6eb4c51f7
Make pmap_set(3) prototype match reality.
...
Fixes PR lib/6064.
2002-07-31 01:46:02 +00:00
itojun
151d7bb9f3
regen openssl manpage from 0.9.6e source.
2002-07-31 01:45:20 +00:00
blymn
fa8f5d02f8
Reposition form cursor after field redrawn when setting a field value,
...
since the field set may not be the current one. This fixes PR 17533.
2002-07-31 01:28:32 +00:00
darrenr
5d8479d5bd
patch from openbsd to fix bounds checking, eliminating an overflow condition.
2002-07-30 14:57:31 +00:00
itojun
c68c6aa7e0
die if integer overflow. from openbsd
2002-07-30 09:45:02 +00:00
matt
1cddd41e0c
Convert to use register prefixes. (0 -> %r0, etc.)
2002-07-30 06:07:56 +00:00
matt
b79865a0af
To make things clearer, use register prefixes in asm() code.
2002-07-29 21:54:35 +00:00
wiz
47c1285a48
ispell.
2002-07-29 13:30:13 +00:00
wiz
0fa6dc022d
Whitespace cleanup.
2002-07-29 13:26:56 +00:00
blymn
09440e9036
Added new menu style O_RADIO which implements a radio button style
...
menu selection. Thanks go to rtr(at)wasabisystems.com for doing
most of the work on this.
2002-07-29 13:03:51 +00:00
blymn
eeeb970336
Add conditional with the debug stuff in it so a debug version of libmenu
...
can be built by defining DEBUG_MENUS in the environment.
2002-07-29 12:58:10 +00:00
itojun
0c0bf329c4
query ip6.arpa then ip6.int for IPv6 reverse lookup. follows RFC3152.
2002-07-29 10:01:58 +00:00
blymn
90d6019c5e
* Fix bad function reference.
2002-07-29 05:23:30 +00:00
blymn
d0d41d9fd4
* Fix cursor motion bugs referred to in pr 17480
...
* Handle cursor motion for justifications other than left justified.
2002-07-29 05:17:37 +00:00
christos
f04f8bc949
add utmpname()
2002-07-28 21:45:39 +00:00
christos
f084e3ca9b
make this behave like utmp, ie. return all entries and setutent() rewinds.
2002-07-28 20:46:43 +00:00
christos
a2e4cf52ec
use the fname we passed in.
2002-07-28 00:45:11 +00:00
christos
7908c76c97
Add utmp processing functions
2002-07-27 23:57:39 +00:00
christos
8720535dd6
add utmpx/wtmpx processing routines.
2002-07-27 23:49:23 +00:00
christos
fef92308ac
add lastlogx implementation.
2002-07-27 19:38:29 +00:00
christos
d1ccf94413
reset fp when we are done with it.
2002-07-27 15:44:45 +00:00
simonb
e438da348e
Sprinkle some KNF.
2002-07-23 00:03:36 +00:00
christos
ce8a71a179
make this compile with -DREDEBUG again.
2002-07-22 12:56:17 +00:00
mjl
a32f58ffa9
Correct wrong comparison in example.
2002-07-21 19:04:03 +00:00
yamt
62d438e597
reflect current value of MAXSYMLINKS. from FreeBSD.
2002-07-20 17:56:28 +00:00
mjl
c455730141
Correct #ifdef'ed out usage of memset
2002-07-20 14:18:45 +00:00
yamt
b12240e0dd
don't test PIC here.
2002-07-20 08:54:04 +00:00
yamt
e8f5276e42
for _I18N_DYNAMIC, use CSHLIBFLAGS instead of CPICFLAGS.
2002-07-20 08:51:32 +00:00
grant
6742cb1812
sweep of errx/warnx, remove unnecessary trailing \n
2002-07-20 08:36:17 +00:00
mycroft
c70a898b67
Fix multiple bugs:
...
* Select dense or sparse space based on the prefetchable flag, like the kernel
does. In particular, non-prefetchable mappings are forced to sparse space.
* If no window is matched, return MAP_FAILED, rather than falling through and
blowing chunks.
* Ignore addr_shift (set it to 0) for dense mappings.
2002-07-19 22:03:39 +00:00
blymn
119539a3a6
Add idcok to documentation.
2002-07-19 13:36:48 +00:00
blymn
8d2591041a
* Added new function idcok - this closes PR 10802
...
* Added sentinels to the line structures when in debug mode to try
to pick up data overwrite problems, if they occur.
2002-07-19 13:22:41 +00:00
wiz
18c66da5b7
Two typos.
2002-07-18 10:41:17 +00:00
jdolecek
65822e1b55
Remove sa_sigaction member of struct sigaction, accidentaly added here
...
in rev. 1.26.
Problem pointed out by Antti Kantee.
2002-07-15 07:48:57 +00:00
matt
778e246527
Add sinf/cosf.
2002-07-14 19:55:24 +00:00
fvdl
d97eddb8d3
Remove fs and gs kludge.
2002-07-14 12:29:59 +00:00
scw
2675306718
Add IEEE FP mode control functions and definitions for SH5.
2002-07-12 12:20:24 +00:00