Commit Graph

9594 Commits

Author SHA1 Message Date
he 9ac3a85e48 Only compile the floatx80-using functions if the arch in question
defines the FLOATX80 macro.  Fixes build problem for arm ports.
2004-09-27 10:16:24 +00:00
yamt f659b39d81 correct a function prototype. 2004-09-27 07:07:04 +00:00
lukem 115b984fd6 correct the va_list arg for nss_method 2004-09-27 07:00:52 +00:00
jmmv 8a1eb34d66 Add support to build the mac68k port with soft-float enabled (i.e., setting
MKSOFTFLOAT=yes).  The main purpose of this feature is to let NetBSD work
in machines with the 68040LC chip (those that have the FPU bug).

All the work has been done by Bruce O'Neel <edoneel AT sdf.lonestar.org>,
with some very minor changes by me; the patches were being posted to the
port-mac68k mailing list.  It has been tested for a long time by several
users, including me.

I have just verified that regular releases, as well as soft-float ones,
continue to build.

There have been no objections to this patch since I asked for them in July
in the port-mac68k list.
2004-09-26 21:13:27 +00:00
yamt d94faebdc7 wctomb isn't supposed to set errno. 2004-09-26 00:51:39 +00:00
soda 89d5b6ffb2 forgot to replace #else with #endif, thanks yamt again. 2004-09-26 00:35:51 +00:00
yamt 8eaa138d56 _FUNCNAME(ctype_wcrtomb):
set *nresult on error rather than using stack garbage.
2004-09-26 00:17:15 +00:00
soda 63504487d1 oops, forgot to add "else" 2004-09-25 23:56:44 +00:00
soda 879ba02666 corrent an error in previous commit:
don't corrupt return value on error case, pointed out by yamt
2004-09-25 23:51:31 +00:00
soda bb8f03e106 correct the return values of wcrtomb(3) and wctomb(3).
These return values should include the length of shift sequence
to restore the initial shift state.
2004-09-25 22:53:46 +00:00
lukem 7184648d82 Try nsdispatch "getgrouplist" before iterating the getgrent() list.
Implement a dns (hesiod) backend which tries a grplist hesiod lookup.
Convert back to using getgrent() similar to rev 1.15, instead of
using the private _getgrent_user() from getgrent.c.
2004-09-25 12:27:35 +00:00
christos f42653853a Put back issetugid() check for hostaliases.
XXX: this is suboptimal, It would be better if we propelry checked
for access.
2004-09-25 05:33:01 +00:00
lukem 0b757c12fd ANSI KNF 2004-09-25 02:55:25 +00:00
tshiozak 922c0d0065 add system dependent strings support.
this hopefully allows to use .mo files generated by gettext-0.12 or later.
2004-09-23 21:35:27 +00:00
tshiozak 29be49b448 - add hash table support.
- make use of __UNCONST() instead of LINTED.
2004-09-23 16:44:26 +00:00
dyoung 6c7d5c9634 Process the new files in libpcap 0.8.3.
Match the end-of-line after file extensions, so that *.[ch] files
with version numbers in their pathnames (e.g., libpcap-0.8.3/gencode.c)
do not match the manual-page regular expression.
2004-09-22 19:35:47 +00:00
dyoung 5c852952b0 Import libpcap 0.8.3 from tcpdump.org---getting it right this time, I hope. 2004-09-19 21:57:48 +00:00
dyoung 7e3909436f Import libpcap 0.8.3 from tcpdump.org 2004-09-19 21:31:39 +00:00
christos 2611d5a68f KNF; Simplify some logic, so that lines don't wrap. Explain why we
break, continue, or return from the tty scanning loops.
2004-09-18 20:14:22 +00:00
yamt 2936303c19 openpty: just check errors of syscalls,
instead of checking permission beforehand in userland.
2004-09-18 16:44:38 +00:00
jdolecek 62b15febd3 make othercase() return int rather than char, to avoid sign extension
bug with character codes >= 128

fixes PR lib/26986 by Alexander Becher
2004-09-18 11:47:37 +00:00
hubertf 2fa09966de Change copyright to 2-clause BSD-copyright.
Changed with explicit permission of Thorsten Lockert (tholo sigmasoft com)
2004-09-15 19:45:17 +00:00
thorpej 60fd0955b1 Un-comment-out Xr to uuidgen(1). 2004-09-13 23:36:25 +00:00
thorpej 523777c603 Add HISTORY section. 2004-09-13 23:24:15 +00:00
wiz a1c60f9187 New sentence, new line. -1 needs a backslash. Fix a typo.
Fix an article. Comment out Xr to uuidgen(1), since we do not have that.
2004-09-13 22:52:39 +00:00
thorpej de1dfb1250 DCE 1.1 RPC compatible UUID routines for libc, adapted from FreeBSD.
Encode/decode to big/little endian binary blob routines adapted from
kernel.

PR 23470.
2004-09-13 21:44:54 +00:00
christos 0d0ad08914 cut out the middle-man and use el_insertstr() directly. 2004-09-08 18:15:57 +00:00
christos 742c0a6b61 make rl_inhibit_completion visible. 2004-09-08 18:15:37 +00:00
simonb 965b11f656 Fix non-ELF case in _nsloadmod(). 2004-09-08 10:52:56 +00:00
jrf 190b2e4c51 Replaced strncpy with strlcpy. Thanks to Peter Postma who
pointed them our in PR #25762. Approved by christos@NetBSD.org.
2004-09-07 13:20:39 +00:00
jmmv eb6866861c s/password databases/group databases/ 2004-09-02 11:43:18 +00:00
uwe e8d7ac57c1 Add missing .Ed reported by new mdoc. 2004-08-31 17:11:33 +00:00
thorpej 70638a64cb Error out if we try to build with GCC 3.3 or later; we should be using
the GCC-supplied crtbegin / crtend in the GCC 3.3 or later case.
2004-08-28 00:19:22 +00:00
thorpej 8d13a4aafe Switch to using GCC's supplied crtbegin / crtend files. 2004-08-28 00:18:38 +00:00
wiz 484705032c Bump date for removal of net.key.random_int. 2004-08-27 14:35:11 +00:00
itojun 8ba8c58e74 remove net.key.random_int 2004-08-27 04:58:10 +00:00
thorpej cf21167821 pdtpaddr -> pdppaddr 2004-08-27 01:13:31 +00:00
thorpej 08456b0802 Use ANSI function decls. 2004-08-26 21:23:06 +00:00
thorpej 5c50ce218e Remove the "allows linking without crtbegin / crtend" hack. 2004-08-26 21:21:33 +00:00
thorpej b979dc154e Use ANSI function decls. 2004-08-26 21:21:05 +00:00
thorpej 54fe33a634 Use ANSI function decls. 2004-08-26 21:09:52 +00:00
thorpej a41fd2dbc8 - Use ANSI function decls.
- Use __used__, not __unused__ attribute for ___start().
2004-08-26 21:07:14 +00:00
thorpej 68e26dcdb6 _strrchr()'s second argument is actually an int. 2004-08-26 21:01:12 +00:00
thorpej 352bb3a6aa Use ANSI function decls. 2004-08-26 20:57:47 +00:00
thorpej 11b5ec27b8 Remove sysident.h-related comment; that stuff is handled by crti.c these
days.
2004-08-26 20:51:27 +00:00
pooka f213e15f84 The values for the parameter "how" are defined in sys/signal.h, not signal.h 2004-08-25 11:56:50 +00:00
christos 9b6268f92e make sure that we round up to 1K. 2004-08-24 12:41:06 +00:00
nathanw 7c7a36f21d In nanosleep(), loop until the timer fires or a signal is taken; other
spurious wakeups (such as those caused by gdb) should not cause
nanosleep to return prematurely.
2004-08-24 02:08:08 +00:00
nathanw f83d3766b4 Mark when a thread has taken a signal. 2004-08-24 01:46:30 +00:00
nathanw 3f53b40ca7 Local whitespace police. 2004-08-24 01:45:54 +00:00