ache
3c5d4e304d
Low level use of 'vidattr()' can cause a NULL pointer to be
...
dereferenced. This is because 'SP' is only initialized via 'newterm()'
(which is not required if you are going to interact with the 'terminfo'
database without using 'ncurses').
PR: 6648
Submitted by: Max Euston <meuston@jmrodgers.com>
1998-05-15 21:35:53 +00:00
obrien
a5ecfdf0d2
Change an arbitarly hardcoded `10' to MAX_NO_DISKS, which is currently "20".
...
Otherwise can't see sd10 (obtained using wired down sd unit numbers),
reguardless of the number of actual disks you have.
1998-05-15 21:17:01 +00:00
jb
f1a3ae93df
Remove a big hack after adding a small one to libc/gen/getcwd.c to
...
handle the lack of __getcwd syscall in NetBSD.
1998-05-15 12:01:06 +00:00
jb
227e7026b9
NetBSD doesn't have a __getcwd syscall, so set have__getcwd to `no'
...
when building libc with NetBSD syscalls.
1998-05-15 11:59:00 +00:00
jb
b80cd2a2e6
int -> long changes that reduce the diffs with the NetBSD version to
...
work in a 64-bit environment.
1998-05-14 21:45:18 +00:00
ache
a54b575696
Remove reference to signanosleep
1998-05-14 14:39:58 +00:00
peter
2415830018
Nuke signanosleep()
1998-05-14 11:36:16 +00:00
jb
4e19f72bd5
libtcl now builds (with lots of pointer to int cast warnings) on alpha.
1998-05-13 22:54:03 +00:00
jb
4db10719a2
Make -Werror i386 specific because gcc with -nostdinc on alpha belches
...
warnings about static inline functions that cause the build to fail.
And for some reason, alpha needs MD5. Find that out later!
1998-05-11 09:15:03 +00:00
jb
81f1277422
Cast a pointer to a long, not an int and make the arg passed to the function
...
a long too (it does have a proper prototype).
1998-05-11 09:10:38 +00:00
jb
e3b9898f3f
Remove a 'const' because it was getting thrown away anyway.
1998-05-10 23:48:18 +00:00
jb
febd4cf311
There is no alpha asm code like on i386, so all the functions that
...
the i386 builds with a __generic prefix need to have that stripped.
1998-05-10 23:46:01 +00:00
jb
be21c03655
Cast a pointer to a long, not an int before masking it.
1998-05-10 21:22:47 +00:00
jb
f49610cadf
Remove 'of type long' from a sentence talking about four 4-byte values
...
because that is wrong on alpha.
1998-05-10 21:21:01 +00:00
bde
e27017f09d
Fixed the usual missing dependencies on headers generated by rpcgen.
1998-05-10 15:54:22 +00:00
bde
4c940db692
Fixed the usual missing dependencies on headers generated by rpcgen.
...
Use rpcgen's -C option, although using it for non-headers breaks K&R
support. A local copy of yp.h is built to avoid adding
-I/usr/include/rpcsvc to CFLAGS. This version of yp.h differed from
<rpcsvc/yp.h> only in not declaring prototypes.
Fixed style bugs.
1998-05-09 15:10:53 +00:00
brian
0f3c94a21f
Add a BUGS section and describe a problem I've been having for
...
a few weeks now.
1998-05-09 14:45:06 +00:00
bde
151aaf93dd
Simplified by using new yacc rules.
1998-05-08 06:43:07 +00:00
jb
0963eb5597
This is a hack to workaround source that is coded to use long variables
...
but also assumes that they are 32-bits. This is one place where I don't
think it is appropriate to change 'long' to 'int'. I don't see why the
code couldn't be fixed so that using natural long variables does the
right thing. It's spaggetti code so it'll take some effort. Obviously
NetBSD thought so too because they change 'long' to 'int32_t' etc
and left it at that. As a temporary measure FreeBSD/Alpha can use the
NetBSD code and put this on the list of things to fix.
1998-05-08 05:41:57 +00:00
jb
185a79fd64
Remote the NetBSD kludge for vfprintf.c
1998-05-08 05:17:11 +00:00
jb
2bfdc76a9f
Don't assign the va_list variable 'ap' directly to the argtable because
...
va_list is not a pointer on alpha. Instead, use the va_arg() macro
to return the address that is stored in the argtable.
1998-05-08 05:10:32 +00:00
jb
e51e3f6a89
Use the thread-aware errno definition all the time.
1998-05-05 22:07:02 +00:00
jb
d6ec07b4f4
Build the syscalls (in libc, not libc_r) with weak symbols so that
...
libpthread can override them as required.
1998-05-05 22:06:16 +00:00
jb
7e146968d9
Remove extern int errno and #include <errno.h> to get the proper definition.
1998-05-05 22:04:13 +00:00
jb
59f991b3e7
Remove leading underscores from the FILE lock functions that POSIX
...
specifies.
1998-05-05 22:02:29 +00:00
jb
abb1e4e78f
Remove leading underscores for the functions (weak symbols here) that
...
POSIX defines.
1998-05-05 21:56:42 +00:00
jb
9d8bc2de84
The __set_ospeed() function is coded against the speed_t type declared
...
in termios.h, but it's prototype in termcap.h and the main file use
the underlying definition (which is now an int, not a long for
compatibility with NetBSD). Really termcap.h should use speed_t too,
but I guess that this might break sources that don't include termios.h
first.
1998-05-05 21:54:26 +00:00
jb
7a3940c104
Treat the lock value as volatile.
1998-05-05 21:47:58 +00:00
jb
deeed33999
In a threaded library, expect the lock field to be declared volatile,
...
so provide function prototypes that respect that, avoiding a gcc
warning that `volatile' is being thrown away.
1998-05-05 21:46:30 +00:00
rnordier
8eaf407618
Fix a few nits in quoted code fragments and elsewhere.
1998-05-04 23:16:50 +00:00
jb
9cd9104a87
Force BOOTSTRAP mode all the time while the headers are broken on alpha
...
as the result of i386 changes.
1998-05-04 02:06:09 +00:00
jraynard
ed117dff86
Typo fixes
1998-05-03 22:59:47 +00:00
jraynard
1656507891
Typo fix.
1998-05-03 22:50:14 +00:00
jraynard
9211c4d512
Pedantry (NULL -> NUL).
1998-05-03 22:42:45 +00:00
jraynard
c7cff2d20c
Don't imply sigset_t == int.
1998-05-03 22:27:29 +00:00
peter
5bb1ec446d
Add libbind
1998-05-03 05:06:13 +00:00
peter
459fe62b97
Build libbind for named and friends (not installed in /usr/lib)
1998-05-03 05:04:21 +00:00
peter
fedfb91291
Resolve some unexpected differences when comparing with the 2.2 version.
...
One bug was relatively harmless (select's timeout had an uninitialized
tv_usec), the other I'm not so sure.. (neglected to catch select returns
less than zero). Both of these were irrelevant on kernels with poll().
1998-05-02 15:51:54 +00:00
peter
2e115675f8
Update libc dns code to 4.9.7-T1B level. This involved chopping out large
...
chunks of res_comp.c and replacing it with chunks of bind-8.1.1's resolver
code. (There are no interface changes though)
The other parts are better bounds checking related.
1998-05-02 13:11:02 +00:00
jb
badd156592
Cleanup in the child, not the parent.
...
Submitted by: Tor Egge <Tor.Egge@idi.ntnu.no>
1998-05-02 03:42:20 +00:00
brian
7c4b920246
Go back to version 1.16 - it was correct the way it was.
...
Pointed out by: bde
1998-05-01 19:41:12 +00:00
bde
7c748f97a7
Fixed disordering and other style bugs in rev.1.50.
1998-05-01 15:46:06 +00:00
brian
7187f6a9c3
connect() returns -1 on error - not 0.
1998-05-01 01:16:39 +00:00
jb
0d33dcfa10
Fix the incremental priority increment.
...
PR: bin/6467 Marino Ladavac <lada@pc8811.gud.siemens.at>
1998-04-30 21:50:29 +00:00
ache
4dfc17e28f
Add reference to setlocale(3)
1998-04-30 16:11:50 +00:00
ache
eb0bd19233
Add reference to catopen(3)
1998-04-30 16:07:54 +00:00
ache
17b2dd915a
Return -1 for invalid descriptor in catclose
1998-04-30 13:15:31 +00:00
ache
f1053fff57
If passed catgets descriptor is NULL or -1, return default string immediately
1998-04-30 12:25:05 +00:00
ache
49e36af497
Force loadType to 0
1998-04-30 11:39:08 +00:00
ache
218d8dfdad
Implement NL_CAT_LOCALE
...
Manpages cleanup
1998-04-30 11:06:12 +00:00