Commit Graph

28257 Commits

Author SHA1 Message Date
Andreas Klemm 04a7994dc4 Style:
- Makefiles shouldn't have copyrights.
- $Id$ should be preceded by a tab.
- Don't include ../Makefile.inc when it is not used explicitly.
- Use the normal amount of horizontal and vertical whitspace (1 tab/none).
- Don't override the (correct) default for MAN1.
- Use the correct order for -I paths.
- Don't use += to initialize SUBDIR.
- use the config.h generated by `configure' and don't use a huge
  CFLAGS statement.
I think the other Makefiles under src/gnu needs some polishing as well ;-)
Thanks to Bruce, everythig looks smarter now.
Obtained from:	Bruce Evans <bde@zeta.org.au>
1998-05-01 09:51:31 +00:00
Doug Rabson c474c6d309 Add ELF support. 1998-05-01 08:40:11 +00:00
Doug Rabson 46066cf144 Add support for ldd. 1998-05-01 08:39:27 +00:00
Andrey A. Chernov da732b00aa Add libtermcap to DPADD too 1998-05-01 04:42:53 +00:00
Marc G. Fournier 6d9a59f558 -ltermcap is required due to -lreadline else you get missing functions
like 'tputs()' et al...
1998-05-01 02:49:40 +00:00
John Dyson e493d28abc Fix minor bug with new over used swap fix. 1998-05-01 02:25:29 +00:00
Brian Somers e79dc52bbf connect() returns -1 on error - not 0. 1998-05-01 01:16:39 +00:00
John Birrell 96efcebdfc Fix the incremental priority increment.
PR: bin/6467 Marino Ladavac <lada@pc8811.gud.siemens.at>
1998-04-30 21:50:29 +00:00
Poul-Henning Kamp ce42f1fb17 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 Wemm 4d99b63047 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 Wemm c8ff18082f *blush*, typo during last minute editing.. 1998-04-30 16:50:07 +00:00
Peter Wemm 159da44105 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
Andrey A. Chernov d1793ae420 Add reference to setlocale(3) 1998-04-30 16:11:50 +00:00
Andrey A. Chernov 271632b02b Add reference to catopen(3) 1998-04-30 16:07:54 +00:00
Andrey A. Chernov c2b2555816 Remove generated bc.h 1998-04-30 16:02:01 +00:00
Andrey A. Chernov e656e73032 Use generated bc.h 1998-04-30 15:59:49 +00:00
Andrey A. Chernov e3b0c2a695 Return -1 for invalid descriptor in catclose 1998-04-30 13:15:31 +00:00
Andrey A. Chernov 3ccb32a975 Use NL_CAT_LOCALE to activate LC_MESSAGES 1998-04-30 12:49:11 +00:00
Andrey A. Chernov e97ef24c18 If passed catgets descriptor is NULL or -1, return default string immediately 1998-04-30 12:25:05 +00:00
Andrey A. Chernov 9ad256ad65 Force loadType to 0 1998-04-30 11:39:08 +00:00
Andrey A. Chernov c897062234 Implement NL_CAT_LOCALE
Manpages cleanup
1998-04-30 11:06:12 +00:00
Andrey A. Chernov d95038c45e Add (unsigned char) cast to ctype macros 1998-04-30 10:31:38 +00:00
Andrey A. Chernov 1adba262d7 Prototypes/typedefs cleanup
Fix error return codes
1998-04-30 10:14:55 +00:00
Andrey A. Chernov 3f5fb4817a Prototypes/typedefs cleanup
Add NL_CAT_LOCALE (will be implemented soon)
1998-04-30 10:09:58 +00:00
John Birrell 9b7c9bc4f8 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
John Birrell 26dac90648 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
John Birrell 1b46cb523d 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
John Birrell 3fece7a1aa 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
John Birrell 68f87034f2 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
John Birrell cf6229a854 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
John Birrell 7bb870ac66 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
Andrey A. Chernov 02f133e259 Add removed files to the removed list 1998-04-30 08:21:28 +00:00
Andrey A. Chernov a918889013 Turn on Readline support 1998-04-30 08:14:04 +00:00
Doug Rabson 0f9bd807c9 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
Andrey A. Chernov 9890b24c74 Remove junk files that occupes space: Flex/Bison output and TeX macros 1998-04-30 08:00:49 +00:00
Doug Rabson 07d72466e5 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
Andrey A. Chernov 1d14c4964e fix make - use -I${.CURDIR} instead -I. 1998-04-30 07:52:05 +00:00
Andrey A. Chernov de2218d16b Fix make - use -I${.CURDIR} instead of -I. 1998-04-30 07:50:49 +00:00
Doug Rabson 2001f720ce 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
Doug Rabson bbba152305 This was broken for ELF builds. 1998-04-30 07:38:27 +00:00
John Dyson 83ad4e3dbc 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
Jean-Marc Zucconi 5679c69d0f Resurrect exit.c
PR:		misc/6433
1998-04-29 22:43:18 +00:00
Andrey A. Chernov 0b5e953b91 Basic support for LC_MESSAGES 1998-04-29 22:39:56 +00:00
Andreas Klemm 88d16a1b9b 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 Klemm 4a8ac9040a 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
Andrey A. Chernov 3492193d0e Make 'y' command 8bit clean
PR: 6458
1998-04-29 21:58:36 +00:00
Andreas Klemm da63d8f279 Added short instruction for FreeBSD how to import 1998-04-29 21:57:35 +00:00
Andreas Klemm 073523892d 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 Klemm 17f33912d7 Import GNU bc 1.04
PR:		4183
1998-04-29 21:53:01 +00:00
Warner Losh 9ca13eea68 Add note about BLOCKSIZE variable to -s flag. 1998-04-29 18:39:51 +00:00