Commit Graph

1658 Commits

Author SHA1 Message Date
max
bf45fa98fc Typo.
PR:		#3178
Submitted by:	Josh Gilliam <soil@quick.net>
1997-04-25 20:36:10 +00:00
ache
34d3c87f8f Add vfork(2) to SEE ALSO 1997-04-25 14:41:55 +00:00
jmz
d4f450005c Add a -I switch to CFLAGS to use the f2c.h header file in the usr.bin/f2c
directory.
Reviewed by:	bde
1997-04-24 17:10:56 +00:00
bde
cfbf7a3374 Generate .S files for syscalls. This has many advantages:
- dependencies actually work (I need this to propagate some fixes
  in <machine/asm.h>)
- the cpp pipeline goes away, so errors can't leak out of it and
  an ANSI cpp is automatically used.
- it's simpler - standard rules get used instead of repetitive
  special rules.  (This showed bugs in the strip steps in the
  standard rules.  The wrong strip flag was also used for *.po
  here.)

Removed some ${ECHO}s and `@'s.  Normal make echoing of what is
being done is now not much more verbose than the echo messages
were, and is more useful.
1997-04-23 10:49:54 +00:00
bde
5e1197d908 FIxed the cleanup. I forgot to leave stdin alone in the usual (!twoway)
case.
1997-04-22 09:44:06 +00:00
dyson
a0af1fc5d0 Clean-up my modification of popen.c for vfork. Bruce's (this) is better.
Submitted by:	Bruce Evans <bde@freebsd.org>
1997-04-20 20:17:04 +00:00
bde
f5e7e31898 Use separate routines for memmove() and memcpy(). This lets me drop
the (buggy) support for alternative entry points.  ALTENTRY() was only
used for memmove().  Optimizing for space was particularly silly because
memcpy() is rarely used (gcc normally inlines it).
Obtained from:	NetBSD
1997-04-20 13:02:48 +00:00
bde
6c79d08eca Use separate routines for memmove() and memcpy(). This lets me drop
the (buggy) support for alternative entry points.  ALTENTRY() was only
used for memmove().  Optimizing for space was particularly silly because
memcpy() is rarely used (gcc normally inlines it).

Obtained from:	NetBSD
1997-04-20 12:46:12 +00:00
bde
a442972318 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
bde
e5e3bb8d08 Fixed long lines.
Removed unused macros CALL() and ASMSTR.

Reviewed by:	jdp
1997-04-19 17:05:30 +00:00
bde
4d078cb8d9 Fixed #include and/or prototype bugs in synopsis. 1997-04-19 15:57:20 +00:00
danny
57446d1d1a Fix punctuation: "it's" -> "its" 1997-04-17 23:31:47 +00:00
dyson
a07e70af85 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
bde
3b3b1c01ac Second stage of moving this to in <machine/asm.h>: just include
<machine/asm.h> here.
1997-04-15 14:18:17 +00:00
bde
8c621c5742 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
bde
93bc52bbfc 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
bde
82f16b75fb Fixed another prototype bug in synopsis. 1997-04-14 13:37:18 +00:00
davidn
d0ab7d0baa Fix typo. 1997-04-13 16:55:56 +00:00
davidn
77f2b2acb5 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
davidn
e20e33863e Add MLINKS for isdialuptty(3) & isnetworktty(3). 1997-04-13 15:12:14 +00:00
bde
f98bb54e1a Fixed missing const in synopsis. 1997-04-13 14:12:48 +00:00
bde
c0329bd830 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 14:10:05 +00:00
bde
999100fc38 "Fixed" prototype bugs in synopsis. 1997-04-13 14:05:58 +00:00
bde
d999f08ae0 Fixed missing #include in synopsis. 1997-04-13 13:52:58 +00:00
bde
3e916061b2 Fixed #includes in synopsis. 1997-04-13 13:48:43 +00:00
bde
611c08ecf2 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
bde
d6e9aa93dc Fixed missing consts in synopsis. 1997-04-13 13:37:56 +00:00
bde
9d3ce8b6e3 Fixed #include and/or prototype bugs in synopsis. 1997-04-13 13:35:33 +00:00
bde
d4bdcb159b Fixed wrong #include in synopsis. 1997-04-13 13:29:06 +00:00
bde
f4efda881f Fixed #include and/or prototype bugs in synopsis. 1997-04-13 13:26:42 +00:00
bde
4cb656bbbf Fixed #include and/or prototype bugs in synopsis. 1997-04-13 13:16:20 +00:00
bde
992f8c8d6f Fixed wrong/incomplete #includes in synopsis. 1997-04-13 13:02:07 +00:00
bde
49de54424e Fixed wrong function return type in synopsis. 1997-04-13 13:01:05 +00:00
bde
a70d894165 Don't use literal semicolons in .Fn macro invocations. 1997-04-13 12:55:36 +00:00
bde
252cfde27b Fixed spelling of __set_ospeed (was _set_ospeed) and improved
nearby English.
1997-04-13 12:16:59 +00:00
bde
4fe66e5914 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
jkh
1b2fdd568d Support GLOBAL style tags. 1997-04-13 06:44:25 +00:00
jmz
438bdd8a9c Upgrade to the 1997/02/26 version. 1997-04-13 01:16:58 +00:00
peter
83c5ef7b0d 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
jb
0b77d30d2b 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
bde
e504efa1d6 Fixed missing #include in synopsis. 1997-04-11 18:57:26 +00:00
bde
8da5ad6e3e 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
bde
5681f0a3dc Fixed missing const(s) or #include(s) in synopsis. 1997-04-11 18:47:10 +00:00
bde
3e0c208aec Fixed synopsis (the #include was bogus and the return type for brk() was
wrong).
1997-04-11 18:39:44 +00:00
bde
9a653019ed Fixed missing header in synopsis. 1997-04-11 18:09:29 +00:00
bde
ed438fc250 Fixed synopsis (prototype was missing a const). 1997-04-11 18:07:45 +00:00
wpaul
6a02d37882 Don't even think about processing bogus domain names here. 1997-04-10 20:26:04 +00:00
mpp
579a16d6dd Typo police. Part of PR# 3242.
Submitted by:	Philippe Charnier <charnier@xp11.frmug.org>
1997-04-09 23:05:04 +00:00
jdp
72875e2a08 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
81248009f2 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