unix-history/.git
30 years agoSwapped meaning of -Z and -z options.
Paul Richards [Tue, 16 Nov 1993 00:42:57 +0000 (00:42 +0000)]
Swapped meaning of -Z and -z options.

On any other system -z means "standard" ZMAGIC format and is the
default. Therefore I've made -z be standard ZMAGIC and -Z be ZMAGIC
stored in the new a_midmag format.

The "standard" ZMAGIC format is now the default as well.

30 years agoChanged -z to -Z so we create old-style ZMAGIC kernels.
Paul Richards [Mon, 15 Nov 1993 21:06:08 +0000 (21:06 +0000)]
Changed -z to -Z so we create old-style ZMAGIC kernels.

30 years agoIncorporated fixes from Paul to make -Z option work. Emits old-style
Paul Richards [Mon, 15 Nov 1993 20:58:20 +0000 (20:58 +0000)]
Incorporated fixes from Paul to  make -Z option work. Emits old-style
ZMAGIC magic numbers in a long.

30 years agoAdded a few prototypes and missing return-type/argument declarations.
Garrett Wollman [Mon, 15 Nov 1993 20:45:58 +0000 (20:45 +0000)]
Added a few prototypes and missing return-type/argument declarations.
Also added a debugging printf (#ifdef DEBUG) to see whether lortrequest()
is ever getting called.

30 years agoRemove UPTOHERE and blank lines as reported by John Lind.
Rod Grimes [Mon, 15 Nov 1993 19:27:49 +0000 (19:27 +0000)]
Remove UPTOHERE and blank lines as reported by John Lind.

30 years agoFrom Andrew Moore
Rod Grimes [Mon, 15 Nov 1993 07:15:16 +0000 (07:15 +0000)]
From Andrew Moore

Make /usr/share/dict/words a symbolic link to web2

30 years agoUpdated file to understand the new formats that FreeBSD now supports.
Nate Willams [Mon, 15 Nov 1993 06:11:29 +0000 (06:11 +0000)]
Updated file to understand the new formats that FreeBSD now supports.

Thanks Paul and Paul!

30 years agotimeout+sleep changed to tsleep
Andrey Chernov [Mon, 15 Nov 1993 01:33:11 +0000 (01:33 +0000)]
timeout+sleep changed to tsleep

30 years agoif netmask == 0, then the loopback code can do some really
Andrey Chernov [Sun, 14 Nov 1993 23:53:32 +0000 (23:53 +0000)]
if netmask == 0, then the loopback code can do some really
bad things.
workaround for this: if netmask == 0, set it to 0x8000,
which is value used by splsoftclock

30 years agoNew sio driver from Bruce.
Andrey Chernov [Sun, 14 Nov 1993 23:29:50 +0000 (23:29 +0000)]
New sio driver from Bruce.

30 years agoMore flags added for new sio from Bruce.
Andrey Chernov [Sun, 14 Nov 1993 22:50:30 +0000 (22:50 +0000)]
More flags added for new sio from Bruce.

30 years agoCorrect CTS/RTS flags, add more flags for new sio from Bruce.
Andrey Chernov [Sun, 14 Nov 1993 22:38:32 +0000 (22:38 +0000)]
Correct CTS/RTS flags, add more flags for new sio from Bruce.

30 years agoOops. David noticed that if_mtu is declared as a short; this makes
Garrett Wollman [Sun, 14 Nov 1993 20:02:20 +0000 (20:02 +0000)]
Oops.  David noticed that if_mtu is declared as a short; this makes
an LOMTU of 65535 look like -1.  Fixed to be an unsigned short.
(For some reason, the route metrics use an unsigned long as rmx_mtu,
so I was caught off-guard....)

30 years agoAdded Paul K's fix to remove backing_object from the object hashtable.
Jordan K. Hubbard [Sun, 14 Nov 1993 03:07:03 +0000 (03:07 +0000)]
Added Paul K's fix to remove backing_object from the object hashtable.

30 years agoAdd _bde_exists: label so that the global is really defined. Fix spelling
Rod Grimes [Sun, 14 Nov 1993 02:27:22 +0000 (02:27 +0000)]
Add _bde_exists: label so that the global is really defined.  Fix spelling
error (mount -> amount)

30 years agoBump the loopback MTU up to the maximum allowed by IP, unless
Garrett Wollman [Sun, 14 Nov 1993 00:13:16 +0000 (00:13 +0000)]
Bump the loopback MTU up to the maximum allowed by IP, unless
TINY_LOMTU is defined.  This should make testing things with
`ttcp' much easier.

30 years agoRemoved item(s) DIANOSTIC since I have corrected the only occurance of them
Rod Grimes [Sat, 13 Nov 1993 22:47:37 +0000 (22:47 +0000)]
Removed item(s) DIANOSTIC since I have corrected the only occurance of them

30 years agoReplace #ifdef DIANOSTIC with #ifdef DIAGNOSTIC, this typo has been around
Rod Grimes [Sat, 13 Nov 1993 22:46:40 +0000 (22:46 +0000)]
Replace #ifdef DIANOSTIC with #ifdef DIAGNOSTIC, this typo has been around
to long!

30 years agoFix stty from segmentation faulting when compiled with new ld
Scott Mace [Sat, 13 Nov 1993 21:44:54 +0000 (21:44 +0000)]
Fix stty from segmentation faulting when compiled with new ld

30 years agoCommented out ALL ld -x -r lines.
Paul Richards [Sat, 13 Nov 1993 20:19:14 +0000 (20:19 +0000)]
Commented out ALL ld -x -r lines.

30 years agoAdded back rules to bootstrapld for building libc, csu.i386 and rtld.
Paul Richards [Sat, 13 Nov 1993 20:12:52 +0000 (20:12 +0000)]
Added back rules to bootstrapld for building libc, csu.i386 and rtld.

ld.so is needed sooner than it would get built through a normal make
world and things can be a real mess if the make world exits
prematurely.

30 years agoFrom: gordon@sneaky.lonestar.org (Gordon Burditt)
Rod Grimes [Sat, 13 Nov 1993 19:26:04 +0000 (19:26 +0000)]
From: gordon@sneaky.lonestar.org (Gordon Burditt)
Date: Sat, 13 Nov 93 09:29 CST
Subject: tgetstr() documentation incorrect in 'man termcap'

Description:
The second argument of tgetstr() is a char **, not a char *,
as documented in /usr/share/man/man3/termcap.3.
Repeat-By:
Compare the manual page against the source code in
/usr/src/lib/libterm/termcap.c .

[Editor: Corrected man page by adding secound *]

30 years ago>From Charles Hannum
Rod Grimes [Sat, 13 Nov 1993 04:43:25 +0000 (04:43 +0000)]
>From Charles Hannum

Change movl %es: -2(reg) to use a subl $2,reg when fixing up the IDT
entries for bdb.  This seems to be the best way to go.

Some day soon #ifdef BDB all of Bruces debugger code.

30 years agoDeclare `loif' once and for all in if.h since so many source files rely on
Garrett Wollman [Sat, 13 Nov 1993 03:22:12 +0000 (03:22 +0000)]
Declare `loif' once and for all in if.h since so many source files rely on
it in so many different places.

30 years agoFirst steps in rewriting locore.s, and making info useful
David Greenman [Sat, 13 Nov 1993 02:25:37 +0000 (02:25 +0000)]
First steps in rewriting locore.s, and making info useful
when the machine panics.

i386/i386/locore.s:
1) got rid of most .set directives that were being used like
#define's, and replaced them with appropriate #define's in
the appropriate header files (accessed via genassym).
2) added comments to header inclusions and global definitions,
and global variables
3) replaced some hardcoded constants with cpp defines (such as
PDESIZE and others)
4) aligned all comments to the same column to make them easier to
read
5) moved macro definitions for ENTRY, ALIGN, NOP, etc. to
/sys/i386/include/asmacros.h
6) added #ifdef BDE_DEBUGGER around all of Bruce's debugger code
7) added new global '_KERNend' to store last location+1 of kernel
8) cleaned up zeroing of bss so that only bss is zeroed
9) fix zeroing of page tables so that it really does zero them all
- not just if they follow the bss.
10) rewrote page table initialization code so that 1) works correctly
and 2) write protects the kernel text by default
11) properly initialize the kernel page directory, upages, p0stack PT,
and page tables. The previous scheme was more than a bit
screwy.
12) change allocation of virtual area of IO hole so that it is
fixed at KERNBASE + 0xa0000. The previous scheme put it
right after the kernel page tables and then later expected
it to be at KERNBASE +0xa0000
13) change multiple bogus settings of user read/write of various
areas of kernel VM - including the IO hole; we should never
be accessing the IO hole in user mode through the kernel
page tables
14) split kernel support routines such as bcopy, bzero, copyin,
copyout, etc. into a seperate file 'support.s'
15) split swtch and related routines into a seperate 'swtch.s'
16) split routines related to traps, syscalls, and interrupts
into a seperate file 'exception.s'
17) remove some unused global variables from locore that got
inserted by Garrett when he pulled them out of some .h
files.

i386/isa/icu.s:
1) clean up global variable declarations
2) move in declaration of astpending and netisr

i386/i386/pmap.c:
1) fix calculation of virtual_avail. It previously was calculated
to be right in the middle of the kernel page tables - not
a good place to start allocating kernel VM.
2) properly allocate kernel page dir/tables etc out of kernel map
- previously only took out 2 pages.

i386/i386/machdep.c:
1) modify boot() to print a warning that the system will reboot in
PANIC_REBOOT_WAIT_TIME amount of seconds, and let the user
abort with a key on the console. The machine will wait for
ever if a key is typed before the reboot. The default is
15 seconds, but can be set to 0 to mean don't wait at all,
-1 to mean wait forever, or any positive value to wait for
that many seconds.
2) print "Rebooting..." just before doing it.

kern/subr_prf.c:
1) remove PANICWAIT as it is deprecated by the change to machdep.c

i386/i386/trap.c:
1) add table of trap type strings and use it to print a real trap/
panic message rather than just a number. Lot's of work to
be done here, but this is the first step. Symbolic traceback
is in the TODO.

i386/i386/Makefile.i386:
1) add support in to build support.s, exception.s and swtch.s

...and various changes to various header files to make all of the
above happen.

30 years agoBecause *BSD don't have setlocale() (yet)
Andrey Chernov [Sat, 13 Nov 1993 01:40:24 +0000 (01:40 +0000)]
Because *BSD don't have setlocale() (yet)
here simple hack that allows ISO8859-x
and koi8-r charsets in terminal mode.

Old: isprint(ch)
New: (ch >= 0xA0 || isprint(ch))

Note: range 0x80-0x9F skipped to avoid
some kinda security hole on poor DEC VTs

30 years agoRestore NTTYDISC discipline entry (it is equal to TTYDISC entry now).
Andrey Chernov [Sat, 13 Nov 1993 00:19:20 +0000 (00:19 +0000)]
Restore NTTYDISC discipline entry (it is equal to TTYDISC entry now).
Our POSIX discipline looks like NTTYDISC more than like OTTYDISC.

30 years agoFrom: Mark Tinguely <tinguely@plains.nodak.edu>
Nate Willams [Fri, 12 Nov 1993 21:19:58 +0000 (21:19 +0000)]
From: Mark Tinguely <tinguely@plains.nodak.edu>
Subject: Type 12 vm_fault Panics

 I accidentially stumbled upon one way to consistantly get a vm_fault type 12
 panics on my machine-- start accounting on a filesystem that is
 over 98% full. I am sure that this is related to the old hzto() bug causing
 negative timeouts, the acctwatch() is called before the VOP_UNLOCK.

 The hzto() bug has been fixed (but the fix is not in the FreeBSD 1.0) giving
 that fix for people with that panic is at least something to try. Yeah, the
 VOP_UNLOCK should go BEFORE the acctwatch() even with the hzto() fix -- why
 tempt disaster.

30 years agoAdded /etc/config as a directory to be maintained. Also added RCS Id.
Garrett Wollman [Fri, 12 Nov 1993 20:21:00 +0000 (20:21 +0000)]
Added /etc/config as a directory to be maintained.  Also added RCS Id.

30 years agoBumping version from 1.0.1 to 1.0.10, 1.0.2 to 1.0.9 are to be used for
Rod Grimes [Fri, 12 Nov 1993 19:51:12 +0000 (19:51 +0000)]
Bumping version from 1.0.1 to 1.0.10, 1.0.2 to 1.0.9 are to be used for
a branch at FINAL_1_0 to fix things for the CDROM and for a patch set that
will be put up.

30 years agoRewrote mount_mfs code and put it in new file mfs.c:
Christoph Robitschko [Fri, 12 Nov 1993 10:42:24 +0000 (10:42 +0000)]
Rewrote mount_mfs code and put it in new file mfs.c:
Use mmap instead of own version of malloc,
use a pipe to pass error messages from the child to the parent (those
were lost previously),
Exit status does now represent success or failure,
Support for mounting regular files.
Also changed the manual page to be mount_mfs instead of mfs.

30 years agoAdded flag MFSMNT_SIGPPID.
Christoph Robitschko [Fri, 12 Nov 1993 10:15:41 +0000 (10:15 +0000)]
Added flag MFSMNT_SIGPPID.

30 years agoAdded flags field to mfs_args, and added flag MFSMNT_SIGPPID.
Christoph Robitschko [Fri, 12 Nov 1993 10:14:37 +0000 (10:14 +0000)]
Added flags field to mfs_args, and added flag MFSMNT_SIGPPID.

30 years agoUpdate to GNU diffutils 2.6
Nate Willams [Fri, 12 Nov 1993 07:06:35 +0000 (07:06 +0000)]
Update to GNU diffutils 2.6
(Forgot to cvs add them)

30 years agoUpdated to GNU diffutils 2.6
Nate Willams [Fri, 12 Nov 1993 07:05:54 +0000 (07:05 +0000)]
Updated to GNU diffutils 2.6

30 years agoUpdate to GNU diffutils 2.6
Nate Willams [Fri, 12 Nov 1993 07:05:40 +0000 (07:05 +0000)]
Update to GNU diffutils 2.6

30 years agoSimilar to Chuck's work in NetBSD, have mknodes return a different value if
Nate Willams [Fri, 12 Nov 1993 06:24:01 +0000 (06:24 +0000)]
Similar to Chuck's work in NetBSD, have mknodes return a different value if
an error occurs than when it completes successfully.

30 years agoALA NetBSD
Nate Willams [Fri, 12 Nov 1993 06:15:29 +0000 (06:15 +0000)]
ALA NetBSD
from jim wilson: (command): Handle TEOF like TNL.

30 years agoALA NetBSD
Nate Willams [Fri, 12 Nov 1993 06:08:56 +0000 (06:08 +0000)]
ALA NetBSD
fix from Jim Wilson <wilson@cygnus.com> for nothing-between-backquotes core

30 years agoNo functional change. Formatting changes to bring us in line with NetBSD's
Nate Willams [Fri, 12 Nov 1993 06:07:24 +0000 (06:07 +0000)]
No functional change.  Formatting changes to bring us in line with NetBSD's
shell.

30 years agoRemoved option to install FreeBSD alongside an existing *BSD
Andrew Moore [Fri, 12 Nov 1993 04:58:31 +0000 (04:58 +0000)]
Removed option to install FreeBSD alongside an existing *BSD
paritition, since disklabel cannot deal with this...

30 years agoRFC 1122 forbids non-gateways from sending ICMP redirects. This changes
Garrett Wollman [Fri, 12 Nov 1993 04:03:55 +0000 (04:03 +0000)]
RFC 1122 forbids non-gateways from sending ICMP redirects.  This changes
implements this requirement (IPSENDREDIRECTS if and only if GATEWAY).

30 years agoDocument changes in listing of all files. Added rc files to FILES section.
Garrett Wollman [Fri, 12 Nov 1993 03:58:43 +0000 (03:58 +0000)]
Document changes in listing of all files.  Added rc files to FILES section.

30 years agoModified display of all configuration variables to also print the
Garrett Wollman [Fri, 12 Nov 1993 03:54:24 +0000 (03:54 +0000)]
Modified display of all configuration variables to also print the
contents of any associated `.flags' files, too.

30 years agoAdded more options and flags files per suggestions from -hackers.
Garrett Wollman [Fri, 12 Nov 1993 03:46:15 +0000 (03:46 +0000)]
Added more options and flags files per suggestions from -hackers.

30 years agoCreated Makefile.inc with NOPIC? line.
Paul Richards [Fri, 12 Nov 1993 01:38:52 +0000 (01:38 +0000)]
Created Makefile.inc with NOPIC? line.

30 years agoRemoved totally useless NOPIC line.
Paul Richards [Fri, 12 Nov 1993 01:37:40 +0000 (01:37 +0000)]
Removed totally useless NOPIC line.

30 years agoDocumented the fact that comments, -d, and -o are extensions compared
Garrett Wollman [Fri, 12 Nov 1993 00:02:31 +0000 (00:02 +0000)]
Documented the fact that comments, -d, and -o are extensions compared
to the SGI original.

30 years agoCommented out yet more ld -x -r lines
Paul Richards [Fri, 12 Nov 1993 00:01:30 +0000 (00:01 +0000)]
Commented out yet more ld -x -r lines

30 years agoAdded configuration and flags files for most of the stuff in /etc/rc
Garrett Wollman [Fri, 12 Nov 1993 00:00:06 +0000 (00:00 +0000)]
Added configuration and flags files for most of the stuff in /etc/rc
and /etc/rc.local.  Unless somebody complains soon, I'll fix the Makefile
to install these and the rc files to use them.

30 years agoPrint out full listing in forward alphabetical order this time. >blush<
Garrett Wollman [Thu, 11 Nov 1993 23:53:04 +0000 (23:53 +0000)]
Print out full listing in forward alphabetical order this time.  >blush<

30 years agoAllow files to contain comments (but don't generate them). Also added a
Garrett Wollman [Thu, 11 Nov 1993 23:30:34 +0000 (23:30 +0000)]
Allow files to contain comments (but don't generate them).  Also added a
`-o' option to just strip comments and print the next line, to make Rod
happy.

30 years agoAdded RCS Id. Also changed comment to indicate that /etc/host.conf
Garrett Wollman [Thu, 11 Nov 1993 22:32:36 +0000 (22:32 +0000)]
Added RCS Id.  Also changed comment to indicate that /etc/host.conf
determines when and how this file will be consulted.  Added comment to
the effect that (1) zero is not a vaild network number and (2) please
get a valid network number assigned by your provider or by the Internet
Registry.

30 years agoAdded ddb.4 manpage so it gets installed.
Nate Willams [Thu, 11 Nov 1993 19:47:15 +0000 (19:47 +0000)]
Added ddb.4 manpage so it gets installed.

30 years ago`struct direct readdir()' -> `struct dirent *readdir()'
J.T. Conklin [Thu, 11 Nov 1993 17:58:26 +0000 (17:58 +0000)]
`struct direct readdir()' -> `struct dirent *readdir()'

30 years agoThis documentation was dug-up by John Dyson. It's probably not the
David Greenman [Thu, 11 Nov 1993 11:03:23 +0000 (11:03 +0000)]
This documentation was dug-up by John Dyson. It's probably not the
most recent version, but should be quite useful to would-be 'wd'
driver writers. ...It escentially describes the IDE specification in
both hardware and software terms.
---
                          working document of the
                    CAM (Common Access Method Committee)

                                draft proposal

                             ATA (AT Attachment)

                          Rev 2.1     June 11, 1990

ABSTRACT:  This standard defines mechanical, electrical, and functional
requirements for attaching small computers employing an AT Bus with
intelligent peripheral devices. The resulting interface provides a common
interface specification for systems manufacturers, system integrators,
controller manufacturers, and suppliers of intelligent disk drives.

30 years agoAdded chkconfig(8) and alphabetized subdirs.
Garrett Wollman [Thu, 11 Nov 1993 05:27:48 +0000 (05:27 +0000)]
Added chkconfig(8) and alphabetized subdirs.

30 years agoAdded an SGI-style chkconfig(8) utility to manage little configuration
Garrett Wollman [Thu, 11 Nov 1993 05:25:29 +0000 (05:25 +0000)]
Added an SGI-style chkconfig(8) utility to manage little configuration
files.  (Read the man page for more details.)

30 years agoRemoved references to VAX device names.
Garrett Wollman [Thu, 11 Nov 1993 05:11:40 +0000 (05:11 +0000)]
Removed references to VAX device names.

30 years agoRemoved extra ld -x -r's that were gumming up the works (fix for now,
Jordan K. Hubbard [Thu, 11 Nov 1993 02:12:15 +0000 (02:12 +0000)]
Removed extra ld -x -r's that were gumming up the works (fix for now,
may go shared later as soon as this is better tested).

30 years agoRemove LIBRPC, it is now part of libc. Picked up this from Chris D. commit
Rod Grimes [Wed, 10 Nov 1993 11:43:15 +0000 (11:43 +0000)]
Remove LIBRPC, it is now part of libc.  Picked up this from Chris D. commit
on sun-lamp

30 years agoMore ld -x -r commented out.
Paul Richards [Wed, 10 Nov 1993 06:43:32 +0000 (06:43 +0000)]
More ld -x -r commented out.

30 years agoCommented out all the ld -x -r lines.
Paul Richards [Wed, 10 Nov 1993 06:41:53 +0000 (06:41 +0000)]
Commented out all the ld -x -r lines.

How many of these are there scattered around ???

30 years agoChanged CFLAGS+= -DNOPIC to just NOPIC=
Paul Richards [Wed, 10 Nov 1993 06:39:45 +0000 (06:39 +0000)]
Changed CFLAGS+= -DNOPIC to just NOPIC=

30 years agoAdd some support for _POSIX_CHOWN_RESTRICTED disabling. If this symbol
Garrett Wollman [Wed, 10 Nov 1993 05:33:56 +0000 (05:33 +0000)]
Add some support for _POSIX_CHOWN_RESTRICTED disabling.  If this symbol
is not defined in sys/unistd.h, we allow users to give files away.  With
luck, this will even work in the presence of QUOTAs.  Still need to add a
VOP_PATHCONF() entry point to allow for correct pathconf()/fpathconf()
functionality.  (By default, the symbol should be left defined to get the
traditional BSD behavior.)

30 years agoRemoved building of libc.csu and rtld from bootstrapld target.
Paul Richards [Wed, 10 Nov 1993 05:22:52 +0000 (05:22 +0000)]
Removed building of libc.csu and rtld from bootstrapld target.
At this point all the tools for building shlibs are installed so the
new pic libs and ld.so can get built through normal make world process.

30 years agoUse -DNOPIC to pass NOPIC to other make processes.
Paul Richards [Wed, 10 Nov 1993 05:10:54 +0000 (05:10 +0000)]
Use -DNOPIC to pass NOPIC to other make processes.

30 years agoCommented out the ld -x -r lines and put NOPIC wrappers around the
Paul Richards [Wed, 10 Nov 1993 05:04:52 +0000 (05:04 +0000)]
Commented out the ld -x -r lines and put NOPIC wrappers around the
shared object targets.

30 years agoRelative to ADO's originals, I have changed the Iceland timezone per
Garrett Wollman [Wed, 10 Nov 1993 04:53:57 +0000 (04:53 +0000)]
Relative to ADO's originals, I have changed the Iceland timezone per
Adam David <adam@veda.is> and kept the Moscow timezone provided by
ache.

30 years agoOur modified versions of ADO's classics. The default timezone is now Factory,
Garrett Wollman [Wed, 10 Nov 1993 04:52:52 +0000 (04:52 +0000)]
Our modified versions of ADO's classics.  The default timezone is now Factory,
so nobody can complain that the people on Pacific time get special treatment.
Will check timezone-handling routines for any possibile problems, but
initial tests do not indicate any such problems.

30 years agoThis commit was generated by cvs2svn to track changes on a CVS vendor
Garrett Wollman [Wed, 10 Nov 1993 04:43:35 +0000 (04:43 +0000)]
This commit was generated by cvs2svn to track changes on a CVS vendor
branch.

30 years agoFall 93 release from Arthur David Olson (as a vendor branch)
Garrett Wollman [Wed, 10 Nov 1993 04:43:35 +0000 (04:43 +0000)]
Fall 93 release from Arthur David Olson (as a vendor branch)

30 years agoFix some kinda security hole:
Andrey Chernov [Wed, 10 Nov 1993 03:53:26 +0000 (03:53 +0000)]
Fix some kinda security hole:
*.core was world-readable

30 years agoRemoved ${LIBRPC} form DPADD and -lrpc from LDADD
Scott Mace [Wed, 10 Nov 1993 03:48:19 +0000 (03:48 +0000)]
Removed ${LIBRPC} form DPADD and -lrpc from LDADD
librpc is now part of libc

30 years agoCommented out gcc1obj -- we don't build the run time library at the
Paul Richards [Wed, 10 Nov 1993 02:38:48 +0000 (02:38 +0000)]
Commented out gcc1obj -- we don't build the run time library at the
moment so there's no point building the compiler.

30 years agooops, can't use setenv in a Makefile.
Paul Richards [Wed, 10 Nov 1993 02:30:15 +0000 (02:30 +0000)]
oops, can't use setenv in a Makefile.

30 years ago>From: Adam David <adam@veda.is>
Rod Grimes [Wed, 10 Nov 1993 01:23:13 +0000 (01:23 +0000)]
>From: Adam David <adam@veda.is>
Date: Wed, 10 Nov 1993 00:51:19 GMT
Subject: typo in etc/gettytab

[editor: fix typo in comment about what things need turned off for
none crt entries]

30 years agoFixed to not lazily assume that tcp_debug[] and tcp_debx are declared
Garrett Wollman [Tue, 9 Nov 1993 23:03:33 +0000 (23:03 +0000)]
Fixed to not lazily assume that tcp_debug[] and tcp_debx are declared
for us by tcp_debug.h, since they aren't any more.

30 years agoProperly declare swapmap, rather than lazily letting rlist.h do it (which
Garrett Wollman [Tue, 9 Nov 1993 22:25:19 +0000 (22:25 +0000)]
Properly declare swapmap, rather than lazily letting rlist.h do it (which
it doesn't any more).

30 years agoAdded bootstrapld target to build new shlib tools
Paul Richards [Tue, 9 Nov 1993 21:41:30 +0000 (21:41 +0000)]
Added bootstrapld target to build new shlib tools

# XXX -- This will go away later -- hack to get up to speed with shlibs
# setenv NOBOOTSTRAPLD to prevent building new shlib tools.
# This is to save build time if you've already done it before,
# you MUST run it the first time you get the new sources.

bootstrapld:

30 years ago>From: Geoff Rehmet <g89r4222@braae.ru.ac.za>
Rod Grimes [Tue, 9 Nov 1993 21:37:36 +0000 (21:37 +0000)]
>From: Geoff Rehmet  <g89r4222@braae.ru.ac.za>
Date: Tue, 9 Nov 1993 20:17:44 +0200
Subject: w(1) printing garbage in the args field

Description:
Heck - ask me or Rod Grimes if you want a FULL description.
Basically, if a utmp entry exists, for which w can't find a
process whose controlling tty is the tty of that utmp entry,
then it prints %^%^&^$% in the args field [editor: or ( %2d %s)]

Repeat-By:
(Rod has another method of repeating it, I think)
[editor: with getty running on /dev/vga kill -1 syslogd]

Open an rxvt, destroy it, execute w.

Fix:
[editor: print out - for such processes instead of garbage]

30 years agoAdded
Paul Richards [Tue, 9 Nov 1993 21:23:07 +0000 (21:23 +0000)]
Added
.if !defined(NOPIC)
SUBDIR+= rtld
.endif

so linker can be built without building ld.so

30 years agoCahnged ldconfig.0 to ldconfig.8 for our man system.
Paul Richards [Tue, 9 Nov 1993 20:39:46 +0000 (20:39 +0000)]
Cahnged ldconfig.0 to ldconfig.8 for our man system.

30 years agoRemoed -g flag and added -static.
Paul Richards [Tue, 9 Nov 1993 20:39:26 +0000 (20:39 +0000)]
Remoed -g flag and added -static.

30 years agoAdded
Paul Richards [Tue, 9 Nov 1993 20:27:54 +0000 (20:27 +0000)]
Added
SHLIB_MAJOR=0
SHLIB_MINOR=0

30 years agoAdded -DNOPIC until the new ld can handle shared g++ libraries.
Paul Richards [Tue, 9 Nov 1993 20:21:27 +0000 (20:21 +0000)]
Added -DNOPIC until the new ld can handle shared g++ libraries.

30 years agoUncomment shlib defines.
Paul Richards [Tue, 9 Nov 1993 20:16:36 +0000 (20:16 +0000)]
Uncomment shlib defines.

30 years agoUncommented all the shlib defines.
Paul Richards [Tue, 9 Nov 1993 20:01:53 +0000 (20:01 +0000)]
Uncommented all the shlib defines.

30 years agoMoved inclusion of <sys/errno.h> to the beginning and declared errno
Garrett Wollman [Tue, 9 Nov 1993 17:47:59 +0000 (17:47 +0000)]
Moved inclusion of <sys/errno.h> to the beginning and declared errno
separately.  Deleted useless extra inclusion of errno.h.

30 years agoFixed protection of SYSLOG_NAMES information. It turns out that the
Garrett Wollman [Tue, 9 Nov 1993 17:42:46 +0000 (17:42 +0000)]
Fixed protection of SYSLOG_NAMES information.  It turns out that the
programs which use this information depend on being able to include
the file twice, once with SYSLOG_NAMES and once without.  This removes the
SYSLOG_NAMES region from the protected region of the include file.

30 years ago#ifdef DEBUG in hzto() changed to #ifdef DIAGNOSTIC per Rod suggestion.
Andrey Chernov [Tue, 9 Nov 1993 17:07:27 +0000 (17:07 +0000)]
#ifdef DEBUG in hzto() changed to #ifdef DIAGNOSTIC per Rod suggestion.

30 years agoFix typing error in acctwatch()
Andrey Chernov [Tue, 9 Nov 1993 17:04:24 +0000 (17:04 +0000)]
Fix typing error in acctwatch()

30 years agoTemporary fix to make src tree closer to useable.
Paul Richards [Tue, 9 Nov 1993 04:50:28 +0000 (04:50 +0000)]
Temporary fix to make src tree closer to useable.

# XXX -- shouldn't need to comment these out  but there's something not quite
#        worked out with the new linker.
#       @${LD} -x -r ${.TARGET}
#       @mv a.out ${.TARGET}

30 years agoAdded -lgcc_pic to Makefile -- Why do we need this and NetBSD don't ??
Paul Richards [Tue, 9 Nov 1993 04:44:30 +0000 (04:44 +0000)]
Added -lgcc_pic to Makefile  -- Why do we need this and NetBSD don't ??

Incorporated patch by Guido (inspired by Davidg) that fixes stack
problem. May not be final fix but it works more than the current method.

30 years agoshlib update:
Paul Richards [Tue, 9 Nov 1993 04:26:11 +0000 (04:26 +0000)]
shlib update:

Can get rid of local symbols with "ld -x -r" again.
Made LDSO #ifdef DEBUG.

30 years agoReverted back to Bruce's hzto() version, because original version is buggy.
Andrey Chernov [Tue, 9 Nov 1993 04:23:29 +0000 (04:23 +0000)]
Reverted back to Bruce's hzto() version, because original version is buggy.
Nasty diagnostic message commented out (#ifdef DEBUG)

30 years agoUpdated to newest ld from pk.
Paul Richards [Tue, 9 Nov 1993 04:19:36 +0000 (04:19 +0000)]
Updated to newest ld from pk.

lib.c:
Pull in archives containing definitions needed by shared objects.
warnings.c:
Less spurious "undefined symbol" msgs for shared library defined
symbols.
ld.c:
Do a better job of recognising data in text segments, eg. `const char []'.
shlib.c,ld/rtld/{Makefile rtld.c}
Use strsep() in stead of strtok() and restore colons in eg. env. vars.

30 years agoacctwatch() timeout:
Andrey Chernov [Tue, 9 Nov 1993 03:47:03 +0000 (03:47 +0000)]
acctwatch() timeout:
hzto() assumed absolute time, but this code use relative, fixed.

30 years agoAdded octave-tracking.
Andrey Chernov [Tue, 9 Nov 1993 02:38:17 +0000 (02:38 +0000)]
Added octave-tracking.
Added the slur-mark feature.
Name of ioctl's include sys/spkr.h changed to machine/speaker.h

30 years agoFixed minor bug in M[LSN] interpretation, added octave-tracking.
Andrey Chernov [Tue, 9 Nov 1993 02:32:30 +0000 (02:32 +0000)]
Fixed minor bug in M[LSN] interpretation, added octave-tracking.
Added the slur-mark feature.
Name of ioctl's include sys/spkr.h changed to machine/speaker.h