Commit Graph

5639 Commits

Author SHA1 Message Date
itojun
1545be872f on setlocale() failure, back out changes made to current_locale[],
and return NULL.  from: From: Shingo WATANABE <nabe@nabechan.org>
2000-12-20 11:44:36 +00:00
cgd
3e7f7ef82d __CONCAT does token pasting, not string concatnation. if something like:
__CONCAT("PATH=",_PATH_STDPATH);
actually works to concantate strings, it's because the preprocessor expands
it into "PATH=""whatever _PATH_STDPATH is" as separate strings, and then
ANSI string concatenation is performed on that.  It's more straightforward
to just use ANSI string concatenation directly, and newer GCCs complain
(rightly) about mis-use of token pasting.
2000-12-19 23:09:02 +00:00
cgd
b2b63ed4f4 Newer GCCs give warnings when the result of preprocessor token pasting
is not itself a valid (single) preprocessor token.  In other words, don't
use __CONCAT() to add a structure member name to a pointer dereference.
2000-12-19 22:20:48 +00:00
jdc
606508da77 Rename variables refering to termcap capabilities from NN to __tc_nn. Case
adjusted to match termcap capability.  A few other variable names renamed too
(ones related to or derived from termcap variables).
2000-12-19 21:34:24 +00:00
christos
ee5e1d12cf fix nested extern declaration. 2000-12-19 21:17:37 +00:00
christos
5b7386b25e fix missing formatting escape. 2000-12-19 21:17:16 +00:00
kleink
f5f3357a95 Bump libc minor to 68: addition of __{diag,}assert13. 2000-12-19 14:33:24 +00:00
kleink
f02540ff10 C99: Print the name of the function enclosing the assertion, if possible. 2000-12-19 14:32:59 +00:00
lukem
741ea8dc94 fix typo in _nis_grscan(). "if (data); free(data);" -> "if (data) free(data);"
noted by Jacques Vidrine <nectar@FreeBSD.org>
2000-12-17 22:09:12 +00:00
blymn
4185942834 Added early release version of libform - please be gentle. 2000-12-17 12:04:30 +00:00
tsubai
7ec5b1f483 Fix weak alias. 2000-12-16 01:40:38 +00:00
itojun
089af300b1 fix mmap() return value validation. comment from freebsd-audit. 2000-12-15 06:37:21 +00:00
bjh21
148c9ed7ee Resync with arm32:
byte_swap_2.S 1.4
  byte_swap_4.S 1.3
2000-12-14 20:47:26 +00:00
mycroft
e4a2f51cc9 Adjust to not use ALTENTRY(). 2000-12-14 20:17:32 +00:00
mycroft
ffb377199e Make this link right again! 2000-12-14 20:03:42 +00:00
bjh21
f213bb8702 Use _C_LABEL rather than _C_FUNC. 2000-12-14 19:40:22 +00:00
bjh21
d0ec536a8d Sync with arm32. 2000-12-14 19:27:34 +00:00
itojun
3280f611f6 check strdup failure. reported by freebsd-audit.
sync with citrus.
2000-12-14 02:06:12 +00:00
simonb
1bb9a3396c Remove all the .abicalls assembler directives - "SYS.h" already has that. 2000-12-13 23:29:06 +00:00
simonb
488ef36c45 Another bare minimum __syscall. 2000-12-13 23:18:40 +00:00
scw
71ce3fbb0f No need to initialise globals BC and UP to NULL; this happens anyway
for BSS variables.
(Quells a linker warning on m68k because BC and UP are also declared
but not initialised in libcurses/curses.c)
2000-12-13 22:14:40 +00:00
garbled
41f8bfbc99 Radixsort wants a const u_char ** as a fisrt argument, not just a
u_char **.  Fix this manpage.
2000-12-13 22:11:24 +00:00
scw
e86cd7609a The bare minimum to get m68k libc working again... 2000-12-13 21:46:23 +00:00
martin
772baecb3a Add simple __syscall.S to make libc compile on sparc64 again. 2000-12-13 20:25:04 +00:00
pk
efd94d5369 Add required __syscall.S stub. 2000-12-13 10:29:40 +00:00
matt
b0bf2adc11 This should convert to syscall but that's too hard. So punt. XXX 2000-12-13 07:50:48 +00:00
mycroft
344549013e Add the obvious, trivial __syscall() stub. 2000-12-13 07:49:17 +00:00
matt
3a17b3526a Don't need __syscall.S here either. 2000-12-13 07:44:34 +00:00
matt
44e25a6200 Add __syscall.S back to sys/Makefile.inc. Remove from arch/i386/gen/
Makefile.inc.  If your architecture doesn't have __syscall.S, *add it*.
2000-12-13 07:42:47 +00:00
matt
0e233d1597 Add a VAX version of __syscall. XXX Doesn't handle if syscall number is
> 0xffffffff or < -0xffffffff.
2000-12-13 07:34:54 +00:00
matt
9a6a3ec1b5 Add __syscall.S to arch/i386/gen/Makefile.inc along with all the other
sys .S files.  Remove from arch/i386/Makefile.inc since it doesn't belong
there.
2000-12-13 07:14:43 +00:00
enami
44db4d16cc KMSRCS is different from SRCS. Put __syscall.S in latter. 2000-12-13 07:05:55 +00:00
simonb
0e35eedd7e Move __syscall.S to the arch specific Makefile.inc's where it is
implemented.
2000-12-12 22:38:42 +00:00
briggs
9875721d50 Fix an old typo: s/ket_t/key_t/ 2000-12-12 17:07:49 +00:00
briggs
c6ba879207 Add a cross-reference to ftok(3). 2000-12-12 16:47:05 +00:00
ad
a8159f35f2 Add to major-bump TODO: hash function should take the same arguments. 2000-12-12 15:45:04 +00:00
kleink
64b3c7fc9d Reflect current situation: we're using the tzcode-maintained strftime now. 2000-12-12 15:36:49 +00:00
kleink
12f15ca014 Merge strftime from tzcode2000g. 2000-12-12 15:35:31 +00:00
kleink
b883dd18d1 Merge tzcode2000g. 2000-12-12 15:25:41 +00:00
kleink
8e2eabaa3d Import tzcode2000g. 2000-12-12 15:21:09 +00:00
mycroft
0878972b4c Adjust for changes in asm.h. 2000-12-12 07:35:39 +00:00
mycroft
62664869a2 Add trivial implementation. 2000-12-12 07:10:25 +00:00
mycroft
3340188285 Minor cleanup. 2000-12-12 07:10:14 +00:00
ad
ea1b0bdc3e Argh. Use __weak_alias on the RMD160 functions. 2000-12-11 19:12:35 +00:00
ad
c15d1647fc The second argument to xxData() is a size_t. 2000-12-11 18:57:46 +00:00
is
aaed06d422 Identical on m68k. 2000-12-11 16:17:18 +00:00
mycroft
731305d114 Handle __syscall() in user-level code for i386. 2000-12-10 21:27:37 +00:00
christos
39b08b8fe0 remove redundant declarations of h_errno and __hostalias 2000-12-10 04:19:53 +00:00
christos
86af4f2cf9 fix duplicate declaration of __glue. 2000-12-10 04:17:28 +00:00
christos
c2285c0805 remove dedundant declaration of _svc_getreq_common; declared in <rpc/svc.h> 2000-12-10 04:12:03 +00:00