Commit Graph

28761 Commits

Author SHA1 Message Date
ache
1caaf9212f Add libtermcap to DPADD too 1998-05-01 04:42:53 +00:00
scrappy
8b6dce2fd0 -ltermcap is required due to -lreadline else you get missing functions
like 'tputs()' et al...
1998-05-01 02:49:40 +00:00
dyson
7835943279 Fix minor bug with new over used swap fix. 1998-05-01 02:25:29 +00:00
brian
2291918271 connect() returns -1 on error - not 0. 1998-05-01 01:16:39 +00:00
jb
ab20b86639 Fix the incremental priority increment.
PR: bin/6467 Marino Ladavac <lada@pc8811.gud.siemens.at>
1998-04-30 21:50:29 +00:00
phk
ee66bf4cbc Loopback network interface driver (net/if_loop.c) has no SIOCSIFFLAGS
ioctl handler.

PR:		6466
Reviewed by:	phk
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1998-04-30 19:37:00 +00:00
peter
a72a36cdca partially revert rev 1.2 spammage. This file is broken as shipped and
depends on the typo in the #ifdef in order to work..  Since the line has
been touched, leave a note there so that nobody else tries to "fix" it
again.

PR: 2035
1998-04-30 17:31:22 +00:00
peter
4535454511 *blush*, typo during last minute editing.. 1998-04-30 16:50:07 +00:00
peter
0534b5c829 Change euid while reading the user's .login_cap file in case the homedir
is on a NFS partion without root read access.  Also, flip euid again for
the duration of the chdir() to the homedir for the same reason.

PR: 5145
Submitted by: Joel.Faedi@esial.u-nancy.fr
Also tested by: A Joseph Koshy <koshy@india.hp.com>
1998-04-30 16:48:20 +00:00
ache
6a800a155d Add reference to setlocale(3) 1998-04-30 16:11:50 +00:00
ache
31715c572f Add reference to catopen(3) 1998-04-30 16:07:54 +00:00
ache
b85011086f Remove generated bc.h 1998-04-30 16:02:01 +00:00
ache
2a8286ffd1 Use generated bc.h 1998-04-30 15:59:49 +00:00
ache
f4a8d4f4e4 Return -1 for invalid descriptor in catclose 1998-04-30 13:15:31 +00:00
ache
2c460ce94b Use NL_CAT_LOCALE to activate LC_MESSAGES 1998-04-30 12:49:11 +00:00
ache
b2b5a3545a If passed catgets descriptor is NULL or -1, return default string immediately 1998-04-30 12:25:05 +00:00
ache
c21e828637 Force loadType to 0 1998-04-30 11:39:08 +00:00
ache
1eaf120df9 Implement NL_CAT_LOCALE
Manpages cleanup
1998-04-30 11:06:12 +00:00
ache
3462ea1e26 Add (unsigned char) cast to ctype macros 1998-04-30 10:31:38 +00:00
ache
fe58d493e0 Prototypes/typedefs cleanup
Fix error return codes
1998-04-30 10:14:55 +00:00
ache
f127b15e72 Prototypes/typedefs cleanup
Add NL_CAT_LOCALE (will be implemented soon)
1998-04-30 10:09:58 +00:00
jb
b1f25ca922 Oops, backout the previous change having confused my underscores.
__thread_create is a syscall that uses the default asm. It is
_thread_create that contains specific asm code, but that lives in
libpthread.
1998-04-30 10:02:44 +00:00
jb
3a6394e02b Change the description of errno to match the thread-aware implementation
from 3.0 on. With 3.0 being a major release, now is a good time to do
this.
1998-04-30 09:49:59 +00:00
jb
0e07a10674 Make errno finally and permanently thread-aware so that it is no longer
necessary to compile with _THREAD_SAFE defined. This means that people
will get thread-aware code whether they like it or not. This change
is required to allow a process to link against libpthread and libc
to use kernel threads (and prevent each thread from clobbering another
thread's errno just be doing a syscall).

This is bound to break some ports, but it is strictly allowed by ANSI C,
so anything that breaks as a result was already broken anyway 8-).
"Sorry".
1998-04-30 09:38:03 +00:00
jb
ae9a13b7c7 Make cerror thread aware by calling __error() to get a pointer to the
thread-specific error variable. This change make libc use the same cerror
code that libc_r has been using.
1998-04-30 09:32:48 +00:00
jb
96749f4d5c The syscall that creates a kernel thread is coming, but it doesn't use the
default syscall asm, so add it to NOASM. The other syscalls that manipulate
kernel threads use the default asm code, so they just get built
automatically.
1998-04-30 09:30:50 +00:00
jb
18a366f3a0 Build __error.c into libc, but not libc_r. The weak symbol in the
file works with libpthread, but when built into libc_r which has a non-weak
symbol of the same name, the linker behaves unpredicatably and sometimes
links the wrong symbol. The linker behaviour is a byproduct of what
the program calls from object to object so it is like winning a lottery
if the program actually works. The odds are quite good - 95:1, I think.
We need a sure thing, though, so weak symbols can't be used instead
of renaming things.
1998-04-30 09:13:48 +00:00
jb
0b5bef5fb7 Change the name of this source file so that libc_r builds it instead
of the one in libc that contains the weak symbol for __error. FreeBSD's
make accumulates paths to the point that it can find *anything*, possibly
including the car keys.
1998-04-30 09:04:10 +00:00
ache
60027966f4 Add removed files to the removed list 1998-04-30 08:21:28 +00:00
ache
ae8c3806c0 Turn on Readline support 1998-04-30 08:14:04 +00:00
dfr
9adf2e878f Add support for ELF shared libraries. Also use bfd from the binutils in that
case rather than gdb's own copy.
1998-04-30 08:03:50 +00:00
ache
008b6ec313 Remove junk files that occupes space: Flex/Bison output and TeX macros 1998-04-30 08:00:49 +00:00
dfr
0925595f73 Use the dynamic symtab of the runtime linker when looking for places to set
breakpoints.  It may have been installed stripped.
1998-04-30 07:56:18 +00:00
ache
42b079b4f3 fix make - use -I${.CURDIR} instead -I. 1998-04-30 07:52:05 +00:00
ache
ffa68fade6 Fix make - use -I${.CURDIR} instead of -I. 1998-04-30 07:50:49 +00:00
dfr
ff6b56dce1 Add GDB support. The method and some of the code came from NetBSD's elf
runtime linker.
1998-04-30 07:48:02 +00:00
dfr
e2f2fa5616 This was broken for ELF builds. 1998-04-30 07:38:27 +00:00
dyson
224581813c Fix an error that I made with an optimization. In the case
of softupdates, we need to do vtruncbuf the old way.  Luoqi
caught, found the bug and submitted this fix.
Submitted by:	Luoqi Chen <luoqi@chen.ml.org>
1998-04-30 05:28:53 +00:00
jmz
4b57027ea0 Resurrect exit.c
PR:		misc/6433
1998-04-29 22:43:18 +00:00
ache
9cd3e70e4d Basic support for LC_MESSAGES 1998-04-29 22:39:56 +00:00
andreas
71fc3af9ec update dc utility as well
after importing the new bc-1.0.4 sources,
which contain the latest DNU dc version
1998-04-29 22:15:05 +00:00
andreas
e2ae216f29 remove old bc-1.0.3 stuff
modify Makefile, to get bc-1.0.4 from src/contrib/bc
adjust config.h
PR:		closes 4183
1998-04-29 22:05:39 +00:00
ache
854c44e14a Make 'y' command 8bit clean
PR: 6458
1998-04-29 21:58:36 +00:00
andreas
3a033668d7 Added short instruction for FreeBSD how to import 1998-04-29 21:57:35 +00:00
andreas
a17a6a2830 This commit was generated by cvs2svn to compensate for changes in r35516,
which included commits to RCS files with non-trunk default branches.
1998-04-29 21:53:01 +00:00
andreas
0ec6169bea Import GNU bc 1.04
PR:		4183
1998-04-29 21:53:01 +00:00
imp
fe8d175e62 Add note about BLOCKSIZE variable to -s flag. 1998-04-29 18:39:51 +00:00
imp
307c5832d7 Use ${.TARGET} rather than $@. i386 tested, pc98 untested because config
on my box doesn't grok machine type pc98.
PR:		3272
Submitted by:	jhs
1998-04-29 18:21:35 +00:00
andreas
e4bced7382 Fixes incorrect company and product names in uha(4) manpage and
LINT config file. Should be merged to -STABLE as well.
PR:		closes 6447
Submitted by:	Steven Plite splite@purdue.edu
1998-04-29 17:09:41 +00:00
dt
0e69a77105 Use DFLTBSIZE instead of MAXBSIZE for pm_fatblksize.
In msdosfs_sync: spelling fix, formatting changes; fix MNT_LAZY (sync
modified denodes, don't sync device)

Mostly submitted by (and with hints from):	bde

Increase limit for maximum disk size: as far as I can see previous limit was
gratuitously too low.
1998-04-29 12:55:51 +00:00