Commit Graph

1620 Commits

Author SHA1 Message Date
Bruce Evans
1c33c5a76b Merged with the 1996/11/12 NetBSD version:
- use a slightly less bogus copyright.  This file was never contributed
  to Berkeley.  It still claims to be copright by the Regents.
- use <machine/asm.h> instead of "DEFS.h".
- use RCSID($Id$) instead of explicit assembly code and messy ifdefs.
  The rcsid won't be put into the object file until we make RCSID()
  non-null.  NetBSD uses a LIBC_SCCS ifdef here.  We used a LIBC_RCS
  instead, but I want RCSID() to be controlled directly by LIBC_RCS
  (actually by LIB_RCS).  This is the only difference with the NetBSD
  version.
- added ifdefs to support generation of memcpy() and memmove().  The
  other changes are "while I'm here" to get this.
- improved style of the copy backwards case.
1997-04-20 12:09:18 +00:00
Bruce Evans
7df534462e Fixed long lines.
Removed unused macros CALL() and ASMSTR.

Reviewed by:	jdp
1997-04-19 17:05:30 +00:00
Bruce Evans
a3315650db Fixed #include and/or prototype bugs in synopsis. 1997-04-19 15:57:20 +00:00
Daniel O'Callaghan
a6f96c4131 Fix punctuation: "it's" -> "its" 1997-04-17 23:31:47 +00:00
John Dyson
1174d9f9df Fix the problem in popen that makes correct vfork semantics fail.
Specifically, popen modifies a variable "pdes[1]" in the child
in such a way that it breaks code in the parent (due to the address
space sharing.)
1997-04-16 03:26:50 +00:00
Bruce Evans
21774a3cea Second stage of moving this to in <machine/asm.h>: just include
<machine/asm.h> here.
1997-04-15 14:18:17 +00:00
Bruce Evans
3bc097d098 Added -D_ARCH_INDIRECT=i387_ to CFLAGS. _ARCH_INDIRECT will soon be used
to control generation of indirections in ENTRY().  Only msun needs it.

Use ${ARCH} consistently.
1997-04-15 14:05:28 +00:00
Bruce Evans
11663637b8 Fixed missing const. Include <unistd.h> so that the function type gets
checked.
Submitted by:	partly by roberto
1997-04-14 15:14:58 +00:00
Bruce Evans
69b10155b5 Fixed another prototype bug in synopsis. 1997-04-14 13:37:18 +00:00
David Nugent
5afcddae37 Fix typo. 1997-04-13 16:55:56 +00:00
David Nugent
b06ebb3255 Implement two new keywords and status flags for entries in /etc/ttys;
TTY_NETWORK (network), TTY_DIALUP (dialup), which determine a basic
connection type. TTY_DIALUP in particular will replace the old out of
date heuristic "tty[dD]*" in login.c (and better than the current
hard-coded method).
1997-04-13 15:16:03 +00:00
David Nugent
c8207e03ba Add MLINKS for isdialuptty(3) & isnetworktty(3). 1997-04-13 15:12:14 +00:00
Bruce Evans
c5a44d911a Fixed missing const in synopsis. 1997-04-13 14:12:48 +00:00
Bruce Evans
77667e9e45 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 14:10:05 +00:00
Bruce Evans
70038b40f8 "Fixed" prototype bugs in synopsis. 1997-04-13 14:05:58 +00:00
Bruce Evans
7d178a8e21 Fixed missing #include in synopsis. 1997-04-13 13:52:58 +00:00
Bruce Evans
e37d0e2391 Fixed #includes in synopsis. 1997-04-13 13:48:43 +00:00
Bruce Evans
cc2680f7dd Updated the LOCK_* #defines in the synopsis to be lexically identical
with the (Lite1) ones in fcntl.h).
1997-04-13 13:43:06 +00:00
Bruce Evans
6333eac64f Fixed missing consts in synopsis. 1997-04-13 13:37:56 +00:00
Bruce Evans
23f0c1fcf6 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 13:35:33 +00:00
Bruce Evans
a88d7a4bc2 Fixed wrong #include in synopsis. 1997-04-13 13:29:06 +00:00
Bruce Evans
1eda21cbb6 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 13:26:42 +00:00
Bruce Evans
08398af376 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 13:16:20 +00:00
Bruce Evans
f2b1d9af2d Fixed wrong/incomplete #includes in synopsis. 1997-04-13 13:02:07 +00:00
Bruce Evans
a8eb6d60ee Fixed wrong function return type in synopsis. 1997-04-13 13:01:05 +00:00
Bruce Evans
330f606e46 Don't use literal semicolons in .Fn macro invocations. 1997-04-13 12:55:36 +00:00
Bruce Evans
4b1753527e Fixed spelling of __set_ospeed (was _set_ospeed) and improved
nearby English.
1997-04-13 12:16:59 +00:00
Bruce Evans
4a127b0ff9 Declare the documented (modulo a spelling error) interface
`void __set_ospeed(long);' in the appropriate header.

The implementation still uses speed_t instead of long.  This
will break properly when speed_t is fixed (speed_t shall be
unsigned ...).
1997-04-13 11:41:59 +00:00
Jordan K. Hubbard
6eb5e456f1 Support GLOBAL style tags. 1997-04-13 06:44:25 +00:00
Jean-Marc Zucconi
4ff323dd45 Upgrade to the 1997/02/26 version. 1997-04-13 01:16:58 +00:00
Peter Wemm
ff2edf0cf8 Put on my flame proof suit and make libtcl build conditional on
the src/contrib/tcl directory existing, and also have an /etc/make.conf
override (NOTCL) to stop building libtcl.  This is in similar other
things from src/Makefile, eg: NOGAMES, NOLKM, etc.

This is so that people can put in a refuse entry in their cvsup files and
not fetch the tcl code, and have it not built automatically.  I'll do
something similar for perl.
1997-04-12 07:06:08 +00:00
John Birrell
8253a7d685 Set wakeup time in pthread_cond_wait() to `forever' (-1) to prevent
calling thread from being rescheduled based on an unspecified wakeup
time.

Bug/fix pointed out by Alexandre Fenyo <fenyo@email.enst.fr>.
1997-04-11 22:38:22 +00:00
Bruce Evans
b60f740fec Fixed missing #include in synopsis. 1997-04-11 18:57:26 +00:00
Bruce Evans
d154848cd1 Fixed return type of __syscall() in synopsis.
Don't quote "..." in synopsis.  Quoting here is unnecessary and unusual.
1997-04-11 18:54:05 +00:00
Bruce Evans
1fd2a774d4 Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
Bruce Evans
99566cdcca Fixed synopsis (the #include was bogus and the return type for brk() was
wrong).
1997-04-11 18:39:44 +00:00
Bruce Evans
0574ea641c Fixed missing header in synopsis. 1997-04-11 18:09:29 +00:00
Bruce Evans
f6e90f37db Fixed synopsis (prototype was missing a const). 1997-04-11 18:07:45 +00:00
Bill Paul
6e8caff794 Don't even think about processing bogus domain names here. 1997-04-10 20:26:04 +00:00
Mike Pritchard
b0b21f924b Typo police. Part of PR# 3242.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1997-04-09 23:05:04 +00:00
John Polstra
f3112eb32a Declare the constructor/destructor linker sets as extern rather than
common.  Add one do-nothing element to each set.  This ensures that
the linker realizes that they are linker sets rather than simple
commons, and makes it possible to link c++rt0.o into every shared
library regardless of whether it is a C++ library or not.  Without
this change, the constructors and destructors in the main program
could be executed multiple times.

This change is going to make it possible to get rid of the
CPLUSPLUSLIB makefile variable once and for all.  It is a piece of
the solution to PR gnu/3505 (gcc -shared).  Finally, it fixes a
heretofore unreported bug:  If CPLUSPLUSLIB was set in a makefile
for a C++ shared library that had no static constructors or
destructors in it, then the main program's constructors and
destructors would be executed multiple times.
1997-04-09 19:14:31 +00:00
Peter Wemm
3b6bf52958 Missing newline caused too much text to be fed to the macro.
Submitted by: Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>, PR#3228
1997-04-08 10:45:10 +00:00
Peter Wemm
165dc08286 setsid is declared in <unistd.h>, which is self sufficient (doesn't need
prior <sys/types.h>)

Fixes PR#3229, from Dmitrij Tejblum <dima@tejblum.dnttm.rssi.ru>
1997-04-08 10:43:47 +00:00
Guido van Rooij
0fb28c0973 Fix race
Obtained from: Keith Bostic
1997-04-07 18:01:10 +00:00
Andrey A. Chernov
21b4da0751 Restore PATH_LOCALE functionality using issetugid() call now 1997-04-07 08:54:38 +00:00
Andrey A. Chernov
b15443ba83 Speedup in case locale not used 1997-04-04 20:10:53 +00:00
Andrey A. Chernov
b5a6eb1833 Speedup in case locale not used 1997-04-04 19:40:49 +00:00
Andrey A. Chernov
21d58869ce Speedup in case locale not used 1997-04-04 19:16:08 +00:00
Andrey A. Chernov
6a575f6e24 Eliminate some function calls when locale not used 1997-04-04 19:08:19 +00:00
Andrey A. Chernov
ed2bf9a999 Eliminate yet one function call when locale not used 1997-04-04 19:07:02 +00:00