unix-history/.git
30 years agoRemoved <lib>_pic.a file rules - libs are now built directly from shared
Jordan K. Hubbard [Sun, 12 Dec 1993 15:17:34 +0000 (15:17 +0000)]
Removed <lib>_pic.a file rules - libs are now built directly from shared
objects, thus skipping a step and shaving some time off system compilation.

30 years agoenable building of mount_procfs
David Greenman [Sun, 12 Dec 1993 12:58:18 +0000 (12:58 +0000)]
enable building of mount_procfs

30 years agomodified kvm.c that uses procfs. This version is a little broken in that
David Greenman [Sun, 12 Dec 1993 12:51:51 +0000 (12:51 +0000)]
modified kvm.c that uses procfs. This version is a little broken in that
if the procfs isn't mounted, the arguments won't show up if they are
swapped out. This code will either be fixed or removed (most likely the
latter) sometime in the future.

30 years agomount_procfs procfs mount utility from Paul Kranenburg
David Greenman [Sun, 12 Dec 1993 12:47:15 +0000 (12:47 +0000)]
mount_procfs procfs mount utility from Paul Kranenburg

30 years ago1) Added proc file system from Paul Kranenburg with changes from
David Greenman [Sun, 12 Dec 1993 12:31:40 +0000 (12:31 +0000)]
1) Added proc file system from Paul Kranenburg with changes from
John Dyson to make it reliably work under FreeBSD.
2) Added and enabled PROCFS in the GENERICxx and LINT kernels.
3) New execve() from me. Still work to be done here, but this version
works well and is needed before other changes can be made. For
a description of the design behind this, see freebsd-arch or
ask me.
4) Rewrote stack fault code; made user stack VM grow as needed rather
than all up front; improves performance a little and reduces
process memory requirements.
5) Incorporated fix from Gene Stark to fault/wire a user page table
page to fix a problem in copyout. This is a temporary fix and
is not appropriate for pageable page tables. For a description
of the problem, see Gene's post to the freebsd-hackers mailing
list.
6) Tighten up vm_page struct to reduce memory requirements for it. ifdef
pager page lock code as it's not being used currently.
7) Introduced new element to vmspace struct - vm_minsaddr; initial
(minimum) stack address. Compliment to vm_maxsaddr.
8) Added a panic if the allocation for process u-pages fails.
9) Improve performance and accuracy of kernel profiling by putting in
a little inline assembly instead of spl().
10) Made serial console with sio driver work. Still has problems with
serial input, but is almost useable.
11) Added -Bstatic to SYSTEM_LD in Makefile.i386 so that kernels will
build properly with the new ld.

30 years agoFolllow Bruce's advice in reducing dma_pagesize to 4K (more conservative
Jordan K. Hubbard [Sun, 12 Dec 1993 05:50:52 +0000 (05:50 +0000)]
Folllow Bruce's advice in reducing dma_pagesize to 4K (more conservative
estimate).  This seems to work well with my GUS at least.

30 years agoAdded sbrk() as new file.
Jordan K. Hubbard [Sat, 11 Dec 1993 21:06:36 +0000 (21:06 +0000)]
Added sbrk() as new file.

30 years agoBroke sbrk() out of rtld as part of general cleanup.
Jordan K. Hubbard [Sat, 11 Dec 1993 21:06:00 +0000 (21:06 +0000)]
Broke sbrk() out of rtld as part of general cleanup.

30 years agoDeleted the private cleandir target. It didn't had a rule for the
Andreas Schulz [Sat, 11 Dec 1993 20:35:15 +0000 (20:35 +0000)]
Deleted the private cleandir target. It didn't had a rule for the
obj symlink in it and the normal bsd.prog.mk cleandir target does
already the correct thing.

30 years agoAdded the missing prototype for the gamma function.
Andreas Schulz [Sat, 11 Dec 1993 20:28:33 +0000 (20:28 +0000)]
Added the missing prototype for the gamma function.

30 years agoOmitted 4th argument to findshlib() [thanks Rich!]. Our ld is a bit
Jordan K. Hubbard [Sat, 11 Dec 1993 20:08:39 +0000 (20:08 +0000)]
Omitted 4th argument to findshlib() [thanks Rich!].  Our ld is a bit
different from NetBSD's here and it squeaked through the update.

30 years agoSync up with Paul K's latest ld from cesium.
Jordan K. Hubbard [Sat, 11 Dec 1993 12:02:10 +0000 (12:02 +0000)]
Sync up with Paul K's latest ld from cesium.

30 years agoRemove compiler warning:
Andrey Chernov [Sat, 11 Dec 1993 00:37:55 +0000 (00:37 +0000)]
Remove compiler warning:
void function return int.

30 years agoForce HUPCL in bidirectional port open.
Andrey Chernov [Sat, 11 Dec 1993 00:36:14 +0000 (00:36 +0000)]
Force HUPCL in bidirectional port open.
This don't allow it hangs forever.

30 years agoDo more careful pruning of graph.
Jordan K. Hubbard [Fri, 10 Dec 1993 23:48:12 +0000 (23:48 +0000)]
Do more careful pruning of graph.

30 years agoMan page added.
Andrey Chernov [Fri, 10 Dec 1993 19:27:16 +0000 (19:27 +0000)]
Man page added.

30 years agoModified for work without options COM_BIDIR into kernel.
Andrey Chernov [Fri, 10 Dec 1993 19:26:20 +0000 (19:26 +0000)]
Modified for work without options COM_BIDIR into kernel.

30 years agoAdded a forgotten minus-sign.
Andreas Schulz [Fri, 10 Dec 1993 16:27:37 +0000 (16:27 +0000)]
Added a forgotten minus-sign.

30 years agomakedepend fails for ld. I think it because the .S files are
Jordan K. Hubbard [Fri, 10 Dec 1993 10:16:00 +0000 (10:16 +0000)]
makedepend fails for ld.   I think it because the .S files are
preprocessed the same as when they are compiled.  I just remove the
single-quotes from the offending comments.  Rich

30 years agoMissed a major release number for the shared lib. Now 1.0
Jordan K. Hubbard [Fri, 10 Dec 1993 10:12:36 +0000 (10:12 +0000)]
Missed a major release number for the shared lib.  Now 1.0

30 years agoRemove duplicate specification of shared lib version number.
Jordan K. Hubbard [Fri, 10 Dec 1993 01:33:35 +0000 (01:33 +0000)]
Remove duplicate specification of shared lib version number.

30 years agoAdded default shared lib version number for all libs (1.0). This is not
Jordan K. Hubbard [Fri, 10 Dec 1993 01:31:10 +0000 (01:31 +0000)]
Added default shared lib version number for all libs (1.0).  This is not
likely to change again anytime soon.

30 years agoAdd 'dtrwait <n>' option to comcontrol to handle
Andrey Chernov [Fri, 10 Dec 1993 01:08:47 +0000 (01:08 +0000)]
Add 'dtrwait <n>' option to comcontrol to handle
TIOCM[SG]DTRWAIT ioctl.

30 years agoFinally make mesg do the right thing (this was driving me crazy!)
Jordan K. Hubbard [Fri, 10 Dec 1993 00:45:05 +0000 (00:45 +0000)]
Finally make mesg do the right thing (this was driving me crazy!)

30 years agoSyscons entry with russian koi8-r code table added (pc3r)
Andrey Chernov [Thu, 9 Dec 1993 18:24:52 +0000 (18:24 +0000)]
Syscons entry with russian koi8-r code table added (pc3r)

30 years agoFrom: Piero Serini <piero@strider.st.dsi.unimi.it>
Jordan K. Hubbard [Thu, 9 Dec 1993 18:07:45 +0000 (18:07 +0000)]
From: Piero Serini <piero@strider.st.dsi.unimi.it>
Message-Id: <199312091710.SAA00967@strider.st.dsi.unimi.it>
Subject: /bin/stty willnot "undef" cchars

Description:
running /bin/stty to change a cchar from its value to <undef>
willnot work, and will set that cchar's value to "u".
Repeat-By:
$ stty discard undef
$ stty -a
...
cchars: discard = u ; dsusp = ^O; eof = ^D; eol = <undef>;

30 years agoFrom: Piero Serini <piero@strider.st.dsi.unimi.it>
Jordan K. Hubbard [Thu, 9 Dec 1993 17:55:16 +0000 (17:55 +0000)]
From: Piero Serini <piero@strider.st.dsi.unimi.it>
Message-Id: <199312080500.GAA03135@strider.st.dsi.unimi.it>
Subject: /usr/bin/id <login> reports WRONG group name
Index: usr.bin/id FreeBSD-1.0-EPSILON
Apparently-To: FreeBSD-bugs@freefall.cdrom.com
Sender: freebsd-bugs-owner@freefall.cdrom.com
Precedence: bulk

Description:
/usr/bin/id <login> doesn't report the correct group name
as it looks for group id = uid.
Repeat-By:
$ id
uid=100(piero) gid=20(staff) groups=5(opr), 20(staff), 50(logfs)
$ id piero
uid=100(piero) gid=20(users) groups=5(opr), 50(logfs)
Fix:
replace line 271 [ if (gr = getgrgid(id)) ] with
if (gr = getgrgid(pw->pw_gid))

30 years agoAdded the TODO file. Also wanted to announce the previous change to rtld.c
Jordan K. Hubbard [Thu, 9 Dec 1993 17:53:08 +0000 (17:53 +0000)]
Added the TODO file.  Also wanted to announce the previous change to rtld.c
which eliminates the stack walking code (from David G.).  My previous commit
message was eaten by mistake!

30 years agoDavid Greenman's latest changes to eliminate much stack-walking jazz
Jordan K. Hubbard [Thu, 9 Dec 1993 17:45:43 +0000 (17:45 +0000)]
David Greenman's latest changes to eliminate much stack-walking jazz
(no more sbrk_init()!).

30 years ago1) Fix error with port recognition, speed initialization code
Andrey Chernov [Thu, 9 Dec 1993 17:24:19 +0000 (17:24 +0000)]
1) Fix error with port recognition, speed initialization code
added to probe.
2) Force CLOCAL=on for outgoing ports and CLOCAL=off for
incoming ports into open in bidirectional case.
3) Add DELAY after writing to com_ier for fifo drain into probe.

30 years agoThe footpage of man/man3/bzero.3 is BDS instead of BSD. Found by
Andreas Schulz [Thu, 9 Dec 1993 17:21:35 +0000 (17:21 +0000)]
The footpage of man/man3/bzero.3 is BDS instead of BSD. Found by
piero@strider.st.dsi.unimi.it .

30 years agoChanged fork so that it zeroes entire proc structure rather than random
David Greenman [Thu, 9 Dec 1993 09:16:41 +0000 (09:16 +0000)]
Changed fork so that it zeroes entire proc structure rather than random
pieces; some important fields were still not initialized. Slows fork/exec
time only by 2-3% with non-shared-lib executables, and less than .5% with
sharedlib executables.

30 years agoModified Geoff Rehmet's patch to eliminate redundant check of 'size' in
David Greenman [Thu, 9 Dec 1993 09:11:00 +0000 (09:11 +0000)]
Modified Geoff Rehmet's patch to eliminate redundant check of 'size' in
getkerninfo.

30 years agoAdded separate file with the interesting variable declarations
Garrett Wollman [Thu, 9 Dec 1993 03:43:29 +0000 (03:43 +0000)]
Added separate file with the interesting variable declarations
that users might want to configure.  This makes it easier to distribute
a binary kernel link-kit a la commercial Unices.  NB: this file is not
used yet (waiting for other changes to be checked in).

30 years agoWe've got accounting, might as well have a directory for it.
Nate Willams [Wed, 8 Dec 1993 00:49:11 +0000 (00:49 +0000)]
We've got accounting, might as well have a directory for it.

30 years agoRemoved unnecessary 'CC = gcc' since we're now running gcc2 (and it messes
Jordan K. Hubbard [Tue, 7 Dec 1993 10:22:34 +0000 (10:22 +0000)]
Removed unnecessary 'CC = gcc' since we're now running gcc2 (and it messes
up my efforts to use `gcc' as new experimental gcc 2.5.6).

30 years agoAdded the ".S" suffix to the known suffixes in bsd.prog.mk.
Andreas Schulz [Tue, 7 Dec 1993 09:16:44 +0000 (09:16 +0000)]
Added the ".S" suffix to the known suffixes in bsd.prog.mk.
Added the ".S" suffix to the mkdep part that handles the ".s" files
in bsd.dep.mk.
Limitation: bsd.prog.mk doesn't handle yet ".S" files himself, there must
be a rule in the makefile for the program, example is gzip in the moment.

30 years agoMake talk 8-bit clean
Andrey Chernov [Mon, 6 Dec 1993 21:25:25 +0000 (21:25 +0000)]
Make talk 8-bit clean
Fix bug with displayng ^M chars
Make talk raw to bells to bring attention
Add standard cchars, folowing good tcsh tradition

30 years agoAdd missing NTTYDISC case to printout.
Andrey Chernov [Mon, 6 Dec 1993 21:13:12 +0000 (21:13 +0000)]
Add missing NTTYDISC case to printout.

30 years agoModified all ".s" to ".S" files to get mkdep/make to work correctly.
Andreas Schulz [Mon, 6 Dec 1993 19:45:09 +0000 (19:45 +0000)]
Modified all ".s" to ".S" files to get mkdep/make to work correctly.

30 years agoBumped up again the ckmalloc from 4096 to 8192. It failed now in
Andreas Schulz [Mon, 6 Dec 1993 18:58:53 +0000 (18:58 +0000)]
Bumped up again the ckmalloc from 4096 to 8192. It failed now in
the configure-script of gnu-make 3.69.

30 years agoFixed spelling error. Added NSIP (XNS over IP). Fixed TP class 4 over
Garrett Wollman [Mon, 6 Dec 1993 01:57:16 +0000 (01:57 +0000)]
Fixed spelling error.  Added NSIP (XNS over IP).  Fixed TP class 4 over
IP line (TPIP) to be an option rather than a pseudo-device (the code keys
off #ifdef TPIP, not #if NTPIP > 0, as makes sense).

30 years agoPatch from sovs@diku.dk:
David Greenman [Mon, 6 Dec 1993 00:10:11 +0000 (00:10 +0000)]
Patch from sovs@diku.dk:
Don't allow # of heads to clobber unit field

30 years agoAdded entries for sup into services.
Andreas Schulz [Sun, 5 Dec 1993 16:39:47 +0000 (16:39 +0000)]
Added entries for sup into services.
Added an example entry for the pop3 popper into inetd.conf as a comment.

30 years agoChanged the assembler files from ".s" to ".S", so that both "make depend"
Andreas Schulz [Sun, 5 Dec 1993 13:04:00 +0000 (13:04 +0000)]
Changed the assembler files from ".s" to ".S", so that both "make depend"
and "make" handles them correctly.

30 years agoAdded all assembler files with the ".S" extension.
Andreas Schulz [Sun, 5 Dec 1993 13:02:29 +0000 (13:02 +0000)]
Added all assembler files with the ".S" extension.

30 years agoAdded the files abs.S div.S labs.S ldiv.S . These are the same files
Andreas Schulz [Sat, 4 Dec 1993 21:46:17 +0000 (21:46 +0000)]
Added the files abs.S div.S labs.S ldiv.S . These are the same files
as the ".s" counterparts. I am doing my first steps in difficult cvs
handling.

30 years agoFixed up a compiler warning in setenv.c .
Andreas Schulz [Sat, 4 Dec 1993 21:16:02 +0000 (21:16 +0000)]
Fixed up a compiler warning in setenv.c .
Changed the stdlib/Makefile.inc. This was the only Makefile that has
a machine dependent file ( div.c, div.s ) also in the machine
independent part. It is now only referenced in the machine dependent
part.

30 years agoAdded rules for ".S" to ".o" etc. Added ".S" to the known suffixes.
Andreas Schulz [Sat, 4 Dec 1993 20:04:31 +0000 (20:04 +0000)]
Added rules for ".S" to ".o" etc. Added ".S" to the known suffixes.
This is necessary to change all .s to .S files in the libc to get
make depend running again.

30 years agoFixed the error that a Fdopen succeeds without a found fd controller in
Andreas Schulz [Sat, 4 Dec 1993 16:13:18 +0000 (16:13 +0000)]
Fixed the error that a Fdopen succeeds without a found fd controller in
the system.

30 years agoAha, the mount_isofs manpage stems from the mount_msdos manpage :-).
Andreas Schulz [Sat, 4 Dec 1993 16:06:25 +0000 (16:06 +0000)]
Aha, the mount_isofs manpage stems from the mount_msdos manpage :-).
Fixed the header for this.

30 years agoBumped up the area for meta-expand from 1024 to 4096 and put a fail
Andreas Schulz [Sat, 4 Dec 1993 14:40:09 +0000 (14:40 +0000)]
Bumped up the area for meta-expand from 1024 to 4096 and put a fail
safe check into it, to look if it has used memory over the allocated
area. This has happened now in the fixincludes sh script in gcc builds.

30 years agoFixed up compiler warnings.
Andreas Schulz [Sat, 4 Dec 1993 01:56:24 +0000 (01:56 +0000)]
Fixed up compiler warnings.

30 years agoFixed up a compiler warning.
Andreas Schulz [Sat, 4 Dec 1993 01:53:16 +0000 (01:53 +0000)]
Fixed up a compiler warning.

30 years agoMore changes to bring FreeBSD in sync with Paul K's latest.
Jordan K. Hubbard [Sat, 4 Dec 1993 00:53:16 +0000 (00:53 +0000)]
More changes to bring FreeBSD in sync with Paul K's latest.

30 years agoMore changes to bring FreBSD in sync with Paul K's latest.
Jordan K. Hubbard [Sat, 4 Dec 1993 00:53:02 +0000 (00:53 +0000)]
More changes to bring FreBSD in sync with Paul K's latest.

30 years agoFixed up a compiler warning about a misplaced external reference.
Andreas Schulz [Fri, 3 Dec 1993 23:16:59 +0000 (23:16 +0000)]
Fixed up a compiler warning about a misplaced external reference.

30 years agoFrom: Jeffrey Hsu <hsu@soda.berkeley.edu>
Andrew Moore [Fri, 3 Dec 1993 05:10:08 +0000 (05:10 +0000)]
From: Jeffrey Hsu <hsu@soda.berkeley.edu>

The following patch adds the addr argument to signal handlers.

The kernel with the patch is no more and no less in compliance or in
violation of POSIX and ANSI C than the kernel before the patch.

The added functionality this addr argument provides is quite useful.  It
enables an entire class of algorithms which use mprotect to trace memory
references.  Beside garbage collectors, I have heard of this technique being
applied to debuggers and profilers.  The only benchmarking I've performed is
using akcl to compile maxima:  without the kernel patch, it takes 7 hours to
compile maxima, while with stratified garbage collection, it only takes 50
minutes.

Basically, I can't think of a reason not to add the addr argument and there
is a compelling need for it.

If you find the patch acceptable, please let me know so I can send my
FreeBSD akcl config files to wfs for inclusion in the core akcl release.
The old 386BSD config files there won't work on either NetBSD or FreeBSD.

30 years agoReset fdc during probe.
Andrew Moore [Fri, 3 Dec 1993 05:01:40 +0000 (05:01 +0000)]
Reset fdc during probe.

From: <dec@lazarus.nrtc.northrop.com>
   Changes between EPSILON and RELEASE of FreeBSD have again caused
the kernel to not see my floppy disk drives.  I don't know what happened,
'cause I don't see any changes to fd.c, but here is an old fix that
I have applied to the probe routine which will solve the problem (at
least for me).  Since this is a rather brute-force solution - I understand
if you want to ignore it...

[Upgrading to pre-Beta FreeBSD caused this on my system. -AM]

30 years agoBacked out the change from read to fread. lex fails with this change
Andreas Schulz [Fri, 3 Dec 1993 00:05:27 +0000 (00:05 +0000)]
Backed out the change from read to fread. lex fails with this change
in nslookup. nslookup simply stops working and i don't find the
error for now. So, i think, it is better in the moment to go to
the previous version until someone corrects nslookup. Our
sourcetree should be compilable and runnable with our utilities.

30 years agoFixed up all compiler warnings.
Andreas Schulz [Thu, 2 Dec 1993 16:24:44 +0000 (16:24 +0000)]
Fixed up all compiler warnings.

30 years agoSorry, Jordan, but I restore previous version again.
Andrey Chernov [Thu, 2 Dec 1993 09:56:30 +0000 (09:56 +0000)]
Sorry, Jordan, but I restore previous version again.

You write that
LDFLAGS+= -Xlinker -Bstatic
no more needed, but you have
CFLAGS += -static -I$(.CURDIR) -I$(.CURDIR)/$(MACHINE)
This -static doesn't make any sense in your version,
because it not passed to linker's state (LDFLAGS),
so we have SHARED /usr/bin/ld in this case.
(Older Makefile produce non-shared ld).
I suppose, that -static in CFLAGS was introduced to
make non-shared ld, so I restore previous LDFLAGS
to have non-shared ld. If we want to have shared ld
we need to remove -static from CFLAGS too, not only LDFLAGS,
but this need special issue and corresponding
commit log. Your current version hang into intermediate
state (beetween two sides), so I move it to one side.

Second, I restore NOPIC dependance again from older Makefile:
.if !defined(NOPIC)
SUBDIR+= rtld
.endif
We don't need ld.so, if NOPIC

P.S. I don't see any purpose to commit new makefile, old version
is better.

30 years ago#ifdef DEBUG unwanted message, third time after Jordan...
Andrey Chernov [Thu, 2 Dec 1993 09:32:26 +0000 (09:32 +0000)]
#ifdef DEBUG unwanted message, third time after Jordan...

30 years agoMoved DEBUG conditional where it belonged to remove DEBUG code out of
Nate Willams [Thu, 2 Dec 1993 05:09:52 +0000 (05:09 +0000)]
Moved DEBUG conditional where it belonged to remove DEBUG code out of
default compilation.

30 years agoPatch from Andy Heffernan <ahh@netcom.com>
David Greenman [Thu, 2 Dec 1993 02:48:15 +0000 (02:48 +0000)]
Patch from Andy Heffernan <ahh@netcom.com>
Description from Sean Eric Fagan:

This has never bitten me, but someone (whose name I forget, but I do
thank) pointed out it was wrong.  He was right, so here is a fix.
(Basicly, the kernel's address of the temporary page gets set by
one of the vm* routines, so I didn't bother initializing it, but it
does get checked by the vm* routine before it sets it, so it should be
initialized.  Zero seems a reasonable value.)  (Oh, and if whomever-

30 years agoSecond attempt to integrate Paul K's changes.
Jordan K. Hubbard [Thu, 2 Dec 1993 01:03:47 +0000 (01:03 +0000)]
Second attempt to integrate Paul K's changes.

30 years agoSecond attempt to integrate Paul K's changes.
Jordan K. Hubbard [Thu, 2 Dec 1993 00:56:40 +0000 (00:56 +0000)]
Second attempt to integrate Paul K's changes.

30 years agoFixed two forward declarations.
Andreas Schulz [Wed, 1 Dec 1993 19:18:34 +0000 (19:18 +0000)]
Fixed two forward declarations.

30 years agoAdded a definition for -p1003.2-92, that was used in some man pages
Andreas Schulz [Wed, 1 Dec 1993 18:38:33 +0000 (18:38 +0000)]
Added a definition for -p1003.2-92, that was used in some man pages
and had resulted in no output.

30 years agodeleted all references to rindex and included string.h instead.
Andreas Schulz [Wed, 1 Dec 1993 16:45:42 +0000 (16:45 +0000)]
deleted all references to rindex and included string.h instead.

30 years agochanged the order of the includes and deleted a reference to index
Andreas Schulz [Wed, 1 Dec 1993 16:44:43 +0000 (16:44 +0000)]
changed the order of the includes and deleted a reference to index
nd added an include to string.h instead

30 years agoAll -static and -Xlinker -Bstatic flags missed in
Andrey Chernov [Wed, 1 Dec 1993 15:58:22 +0000 (15:58 +0000)]
All -static and -Xlinker -Bstatic flags missed in
newly commited Makefile.
NOPIC dependance missed too!
Oh it is really pain to check all that broken stuff,
Please, check it *before* commit!

30 years ago#ifdef DEBUG missed by several lines!
Andrey Chernov [Wed, 1 Dec 1993 15:34:01 +0000 (15:34 +0000)]
#ifdef DEBUG missed by several lines!
!!! Please, COMPILE *BEFORE* COMMIT!

30 years agoAdd DEBUG #ifdef, (second time!)
Andrey Chernov [Wed, 1 Dec 1993 15:13:42 +0000 (15:13 +0000)]
Add DEBUG #ifdef, (second time!)
!!! Please, anybody who update ld to NetBSD current,
!!! look at old cvs logs!

30 years agoRemove hanging #else part (with second sbrk()) without #if & #endif
Andrey Chernov [Wed, 1 Dec 1993 15:05:31 +0000 (15:05 +0000)]
Remove hanging #else part (with second sbrk()) without #if & #endif
Add missing argument to findshlib, I am not shure,
but it seems that it is 1.
!!! Does anybody compile it before commit?

30 years agoRemove -g option (second time!)
Andrey Chernov [Wed, 1 Dec 1993 14:45:35 +0000 (14:45 +0000)]
Remove -g option (second time!)
!!! Please anybody who port Makefiles from NetBSD,
!!! remove -g option!

30 years agoFrom: Julian Howard Stacey <stacey@guug.de>
Rod Grimes [Wed, 1 Dec 1993 08:44:39 +0000 (08:44 +0000)]
From: Julian Howard Stacey <stacey@guug.de>
Subject: Bug & Fix for etc/Makefile cpio-floppy: re /tmp creation.
Date: Fri, 26 Nov 1993 11:35:04 +0100

Editors Note:  tmp was listed in the CPIO_FILES section and thus the
entire contents of ${DESTDIR}/tmp would end up on the cpio floppy.  This fix
moves tmp to CPIO_DIRS so that no longer happens.

30 years agoFixed the error, that makes g++ fail in compiling groff/libbib/index.cc.
Andreas Schulz [Tue, 30 Nov 1993 21:54:25 +0000 (21:54 +0000)]
Fixed the error, that makes g++ fail in compiling groff/libbib/index.cc.
I don't understand why g++ uses the struct buf definition from types.h
instead of the local char *buf definition, but it seems to happen. Error
in scope handling in g++ ?

30 years agoMore recent changes from Paul K.
Jordan K. Hubbard [Tue, 30 Nov 1993 21:04:34 +0000 (21:04 +0000)]
More recent changes from Paul K.

30 years agoLatest from Paul K. for better checking of PIC code.
Jordan K. Hubbard [Tue, 30 Nov 1993 20:57:41 +0000 (20:57 +0000)]
Latest from Paul K. for better checking of PIC code.

30 years agoMany recent fixes from Paul K, add support for chaining of shared lib deps.
Jordan K. Hubbard [Tue, 30 Nov 1993 20:47:54 +0000 (20:47 +0000)]
Many recent fixes from Paul K, add support for chaining of shared lib deps.

30 years agoForgot half of the changes for CPUSTATES and DK_NDRIVE, sorry.
Andreas Schulz [Tue, 30 Nov 1993 20:31:41 +0000 (20:31 +0000)]
Forgot half of the changes for CPUSTATES and DK_NDRIVE, sorry.

30 years agoShut up compiler warnings. Fixed some lazy declarations.
Andreas Schulz [Tue, 30 Nov 1993 19:52:11 +0000 (19:52 +0000)]
Shut up compiler warnings. Fixed some lazy declarations.

30 years agoChanged the definition of CPUSTATES and DK_NDRIVE to RSTAT_CPUSTATES and
Andreas Schulz [Tue, 30 Nov 1993 19:40:06 +0000 (19:40 +0000)]
Changed the definition of CPUSTATES and DK_NDRIVE to RSTAT_CPUSTATES and
RSTAT_DK_NDRIVE to avoid nameclashes.

30 years agoallow spaces in $sendmail_flags.
Paul Richards [Tue, 30 Nov 1993 16:59:27 +0000 (16:59 +0000)]
allow spaces in $sendmail_flags.

30 years agoDeleted the prototype of time() and included <time.h> instead.
Andreas Schulz [Tue, 30 Nov 1993 14:51:31 +0000 (14:51 +0000)]
Deleted the prototype of time() and included <time.h> instead.

30 years agoFixed a prototype of a function to match its actual declaration.
Andreas Schulz [Tue, 30 Nov 1993 14:37:01 +0000 (14:37 +0000)]
Fixed a prototype of a function to match its actual declaration.

30 years agoChanged a prototype to match the actual declaration.
Andreas Schulz [Tue, 30 Nov 1993 14:31:44 +0000 (14:31 +0000)]
Changed a prototype to match the actual declaration.

30 years agoFixed a typo. Changed the "include <stdlib> to include <stdlib.h>.
Andreas Schulz [Tue, 30 Nov 1993 14:28:01 +0000 (14:28 +0000)]
Fixed a typo. Changed the "include <stdlib> to include <stdlib.h>.

30 years agoDeleted a wrong reference to random() and included <stdlib.h> instead.
Andreas Schulz [Tue, 30 Nov 1993 11:27:40 +0000 (11:27 +0000)]
Deleted a wrong reference to random() and included <stdlib.h> instead.

30 years agoDeleted a misplaced reference to time() and inserted an include <time.h>.
Andreas Schulz [Tue, 30 Nov 1993 10:34:39 +0000 (10:34 +0000)]
Deleted a misplaced reference to time() and inserted an include <time.h>.

30 years agoAdd support for ~ in a regexp pattern and fix handling of ~ in
Andrew Moore [Tue, 30 Nov 1993 09:39:38 +0000 (09:39 +0000)]
Add support for  ~ in a regexp pattern and fix handling of ~ in
a replacement.  In both cases, ~ expands to the replacement text of the
last substitution as per POSIX.

30 years agowmesg was too long (>7), fixed
Andrey Chernov [Mon, 29 Nov 1993 19:26:32 +0000 (19:26 +0000)]
wmesg was too long (>7), fixed

30 years agoMake fill_eproc more robust:
Andrey Chernov [Mon, 29 Nov 1993 19:22:18 +0000 (19:22 +0000)]
Make fill_eproc more robust:
always zero last byte of e_wmesg to prevent fault on
long (>7) p_wmesg

30 years agoWeird kern_kinfo bug, fix continued:
Andrey Chernov [Mon, 29 Nov 1993 18:01:12 +0000 (18:01 +0000)]
Weird kern_kinfo bug, fix continued:
p_wmesg left in undefined state after fork, so first
getkerninfo before first tsleep fails.
Fix: zero p_wmesg after copy proc structure.

30 years ago * Revision 2.16 1993/11/29 16:55:56 davidg
David Greenman [Mon, 29 Nov 1993 17:07:33 +0000 (17:07 +0000)]
 * Revision 2.16  1993/11/29  16:55:56  davidg
 * merged in Garrett Wollman's strict prototype changes
 *
 * Revision 2.15  1993/11/29  16:32:58  davidg
 * From Thomas Sandford <t.d.g.sandford@comp.brad.ac.uk>
 * Add support for the 8013W board type

30 years agoRemoving another null pointer reference.
Andreas Schulz [Mon, 29 Nov 1993 15:54:49 +0000 (15:54 +0000)]
Removing another null pointer reference.

30 years agoUse slightly less disgusting double cast to quiet compiler. This will be
David Greenman [Mon, 29 Nov 1993 15:45:44 +0000 (15:45 +0000)]
Use slightly less disgusting double cast to quiet compiler. This will be
removed when type of handle is changed.

30 years agoAdded disgusting kludge to get rid of compiler warning until 'handle'
David Greenman [Mon, 29 Nov 1993 15:30:25 +0000 (15:30 +0000)]
Added disgusting kludge to get rid of compiler warning until 'handle'
type is changed.

30 years agoWeird bug with kern_kinfo now fixed! (applauds)
Andrey Chernov [Mon, 29 Nov 1993 14:50:27 +0000 (14:50 +0000)]
Weird bug with kern_kinfo now fixed!  (applauds)
Missing argument to thread_block() caused this.
Added vm.h for prototype and add string argument to thread_block