matt
3a1b5096a9
More vax -> __vax__ cruft.
1998-10-19 03:32:27 +00:00
matt
ef01540446
Change #ifdef vax to __vax__.
1998-10-19 02:54:57 +00:00
matt
52ca69699c
Make this work for shared libraries.
1998-10-19 01:37:35 +00:00
matt
11627a3416
Don't write the NUL at the end of string.
1998-10-19 01:35:00 +00:00
dbj
f9bda95727
Backed out previous fclose(NULL) change.
1998-10-18 23:48:18 +00:00
dbj
f8b2da8194
Fix pr lib/6322
...
fclose(NULL) used to segfault. Now it returns EOF and sets errno to EBADF.
1998-10-18 19:27:33 +00:00
kleink
cd85b5e5ac
Protect __atexit manipulation and traversal with a mutex.
1998-10-18 14:36:30 +00:00
christos
dfa4e2c867
Portability. Use #ifdef BSD4_4 for sin_len
1998-10-18 14:22:05 +00:00
kleink
3e8c90f694
Replace use of getdtablesize() with (the non-deprecated) sysconf(), hence no
...
need for an internal name for the former any more; suggested by Matthew Green.
1998-10-18 13:56:21 +00:00
itohy
7b5b0b24ce
Fix fts_close() not to (implicitly) read free()'ed memory.
...
This fix closes PR #6181 .
1998-10-17 17:40:44 +00:00
kleink
45f04f24af
Need "namespace.h" for getdtablesize().
1998-10-16 20:48:06 +00:00
kleink
bedf769000
getsubopt() isn't used internally.
1998-10-16 20:35:20 +00:00
kleink
571ab7ae88
Need an internal name for herror().
1998-10-16 20:26:02 +00:00
christos
f2e15d15fa
Fix the non pic version too.
1998-10-16 14:11:53 +00:00
christos
3d8121f3df
PR/6285: Tom Ivar Helbekkmo: sigsetjmp/siglongjmp broken after current signal
...
changes.
1998-10-16 13:28:39 +00:00
kleink
d898f65fdd
Need an internal name for tzname.
1998-10-16 12:56:44 +00:00
kleink
796b7ae4bf
Need an internal name for signal().
1998-10-16 12:47:45 +00:00
kleink
73ef151b8c
Need an internal name for fgetln().
1998-10-16 12:39:54 +00:00
kleink
ae6ea9e14d
Use strtok_r() instead of strtok(), lest the application be surprised by
...
strtok()'s internal marker having changed.
1998-10-16 11:24:30 +00:00
kleink
a292d8ec80
(bcmp(), bcopy(), bzero()) -> (memcmp(), memcpy(), memset())
1998-10-15 10:22:23 +00:00
kleink
b0decd2b79
Need an internal name for dn_expand().
1998-10-15 09:28:13 +00:00
mycroft
ef3079f0ee
Make sure we free the buffer in all error cases.
...
Do the final realloc(3) to the size of the string, not the size of the buffer
allocated for the string (which is a noop).
1998-10-15 07:36:09 +00:00
mycroft
285284da77
Allocate space exponentially, not linearly.
1998-10-15 07:10:38 +00:00
kleink
0453a51caa
Kill __LIBUTIL_BUILD in favor of the newly added _LIBC indicator completely;
...
suggested by Jason Thorpe.
1998-10-14 21:13:04 +00:00
kleink
f0d001c2d1
Do the internal symbol renaming dance only if inside the libc build environment
...
so libutil won't be affected; noticed by Alistair Crooks and Allen Briggs.
1998-10-14 20:08:12 +00:00
kleink
a0744c7ad0
Need "namespace.h" for internal {end,get,set}netent() names.
1998-10-14 19:52:57 +00:00
kleink
7a85778bf7
Need internal names for {end,set}hostent().
1998-10-14 19:41:03 +00:00
kleink
0b11c41974
Since these files are shared with parts of the BIND-4 userland (outside libc),
...
do the internal symbol renaming dance only if inside the libc build environment.
1998-10-14 19:33:49 +00:00
kleink
81fe96fbf1
Add _LIBC to the set of preprocessor symbols defined in the libc build
...
environment; used by source files shared with other parts of the userland
to determine whether certain conventions need to be obeyed or not.
1998-10-14 19:19:32 +00:00
kleink
886f927ec6
Need internal names for res_init(), res_mkquery(), res_query() and res_search().
1998-10-14 19:13:01 +00:00
agc
3f6ac2aece
Clean up lint - one set but unused variable, 3 FALLTHROUGH comments needed,
...
and two LP64-isms.
1998-10-14 13:51:36 +00:00
kleink
abc6d45e5c
Need "namespace.h".
1998-10-14 11:56:28 +00:00
kleink
dc86984b00
Need internal names for ftruncate(), lseek(), mmap(), pread() and pwrite().
1998-10-14 11:25:18 +00:00
kleink
0d8a0f5d93
Need an internal name for inet_aton().
1998-10-13 21:03:31 +00:00
kleink
b1683a098a
Need internal names for gethostby{addr,name}().
1998-10-13 20:54:02 +00:00
kleink
a01bbaa113
Need an internal name for getdomainname().
1998-10-13 20:40:29 +00:00
kleink
24a514c54c
Need an internal name for strsep().
1998-10-13 20:32:09 +00:00
kleink
352f441050
Need an internal name for strdup().
1998-10-13 20:27:55 +00:00
kleink
f5092a6c94
Need an internal name for isatty().
1998-10-13 15:05:02 +00:00
kleink
d541ca6d80
Need internal names for isinf() and isnan().
1998-10-13 14:43:36 +00:00
kleink
ee1afe8b7c
Need internal names for snprintf() and vsnprintf().
1998-10-13 14:19:21 +00:00
kleink
8b3da7b7a8
Need an internal name for fdopen().
1998-10-13 14:07:04 +00:00
matt
c1d0053032
PICify. (e.g. change movl $sym, rX to movab sym, rX)
1998-10-13 00:02:19 +00:00
kleink
5e62d8161d
Exit via _exit() rather than exit(), as the latter would cause exit handlers
...
installed using atexit() to be executed which is supposed to happen on
`normal termination' of the process only, whereas abort() is specifically
defined to cause `abnormal termination'.
1998-10-12 15:56:16 +00:00
kleink
550424b218
Need "namespace.h".
1998-10-11 19:42:29 +00:00
matt
592306e323
Use __sigprocmask14, fix a few more bugs
1998-10-10 01:50:23 +00:00
matt
99d642287b
Actually build __setjmp.S/__sigsetjmp.S for vax. PICifiy the setjmp code.
...
Fix libm Makefile to handle obj directories.
1998-10-10 00:08:50 +00:00
kleink
329b130573
Add an internal name for getdtablesize(), since it's being used internally.
1998-10-08 13:49:16 +00:00
kleink
b0d97e66b2
Oops, also needs "namespace.h".
1998-10-08 12:18:18 +00:00
eeh
aba7891e3d
Fix libc signal breakage (I hope).
1998-10-08 02:27:58 +00:00