Nate Williams [Mon, 13 Jan 1997 05:22:40 +0000 (05:22 +0000)]
Just 'warn' the user that they are mixing dedicated drivers and generic
code if the option 'LINT_PCCARD_HACK' is specified (which should only
be used in LINT).
Nate Williams [Mon, 13 Jan 1997 05:21:09 +0000 (05:21 +0000)]
Added options 'LINT_PCCARD_HACK' which (will very soon) allow LINT to
compile again. The code to protect users from combining the dedicated
PCCARD drivers and the generic code is a warning if the above option
is included in the config file.
Turn this into legal texinfo. Since I don't know what the author
intended (and clearly, neither did the author :) I've just used the
bullet list attribute everywhere.
Mike Smith [Mon, 13 Jan 1997 04:13:15 +0000 (04:13 +0000)]
- Add [?] key and corresponding helptext/pager.
(helptext from Philippe Regnauld)
- Make introfunc() work with serial terminals.
(submitted by Jean-Marc Zucconi)
- Eliminate excessive statusline redraw during screen updates.
(requested by Peter Wemm)
- Some trivial output formatting dinks.
Peter Wemm [Mon, 13 Jan 1997 03:05:04 +0000 (03:05 +0000)]
Bump libutil.so version (2.1 -> 2.2) since a whole heap of new functions
were added with the login class stuff. This is needed since libutil.so.2.1
is what is used in RELENG_2_2 and well into the release cycle. We only
bump once per release cycle as needed.
Satoshi Asami [Mon, 13 Jan 1997 02:13:19 +0000 (02:13 +0000)]
Skip non-existent subdirectories. The diff is rather large because
the original logic went into a section of code assuming some
incarnation is there, but it's basically a "test -d" fix. Closes PR
ports/2082.
Reviewed by: max ("although I didn't test it, it looks fine")
John Polstra [Sun, 12 Jan 1997 19:55:49 +0000 (19:55 +0000)]
Convert to mdoc format.
Add descriptions of RTLD_LAZY and RTLD_NOW.
Correct the synopsis to agree with the actual function prototypes.
Add clarifications of a few things.
Clean up the wording in a few places.
Mike Pritchard [Sun, 12 Jan 1997 18:35:14 +0000 (18:35 +0000)]
Fix calendar so that you can run it like:
calendar -t 0101 -f file
Previously calendar's time processing routine directly
modified the "0101" argument" which confused getopt.
The time routines now make a copy of the argument
to mess with.
I added both features Peter Wemm requested. First, the new option
--forceentry=TEXT will override any entries contained in the info
file. Second, I made it recognize that "gmp" and "gmp.info" are
the same when looking for whether the info file being installed is
already installed.
Satoshi Asami [Sun, 12 Jan 1997 12:37:48 +0000 (12:37 +0000)]
Add OpenBSD support. Change some comments to reflect the fact. Also:
(1) Change commented out MAINTAINER to FreeBSD_MAINTAINER and
OpenBSD_MAINTAINER. These are not comments anymore, so we may
even use it in the future.
(2) Instead of the ".if ${OPSYS} = "NetBSD" hack, use ".if exists()"
to find the location of md5 an tar. Play similar trick for fetch
(OpenBSD uses /usr/bin/ftp which groks http: addresses).
This commit includes most of the changes made in 1.242 (although many
of them are done differently after more discussion). One thing that
is conspicuously missing is NOMANCOMPRESS, which has been postponed
until Warner figures out what exactly the situation is on the OpenBSD
ports paradigm. (In a nutshell, we can't just define NOMANCOMPRESS in
this file even if uncompressed manpages is the default for OpenBSD,
because that will take away the ability of individual users to select
manpage compression.)
Satoshi Asami [Sun, 12 Jan 1997 11:48:26 +0000 (11:48 +0000)]
(1) New variable, SCRIPTS_ENV, which is passed to scripts/configure
and scripts/{pre,post}-* as environment vars. Also, if BATCH is
set, "BATCH=yes" is automatically added to SCRIPTS_ENV.
(Requested by: max)
(2) The INSTALL_* macros are added to SCRIPTS_ENV and MAKE_ENV as
BSD_INSTALL_*. (Requested by: obrien)
(3) New variable MOTIF_ONLY, which will only build ports with
REQUIRES_MOTIF defined. This doesn't do dependencies right (what
if the depended port doesn't need Motif) yet.
(4) Try not to clean the same port twice in clean-depends when (for
instance) it's defined in both BUILD_DEPENDS and INSTALL_DEPENDS.
Note that it won't check chained dependencies so you may still see
the same port cleaned multiple times, but checking that far will
surely make this run slower than the un-"optimized" case so I left
it as is. (Requested by: jkh)
(5) Ignore *.rej files in patches/ directory in addition to *~ and
*.orig.
Add more protection when running as init and don't do stupid things.
Fix looping in fixit cdrom selection by adding a missing break.
Move unmount of cdrom down to proper place.
Peter Wemm [Sun, 12 Jan 1997 08:28:56 +0000 (08:28 +0000)]
*gulp* break this file off the vendor branch in order to fix the
info entry. It's a real shame that install-info can't override these.
I'll fix the repository for this (and the readline commit as well) once
this has been fixed properly... Looking at the install-info source gives
me a headache. :-( This should be enough to get the tree to build again.
Peter Wemm [Sun, 12 Jan 1997 08:10:55 +0000 (08:10 +0000)]
Patch up the readline info building. This one is a bit of a problem
since the source name is not the same as the texinfo name so we have to
use SRCS=. This means we can't build two info sets in the same directory
so I've split it.
Peter Wemm [Sun, 12 Jan 1997 07:23:58 +0000 (07:23 +0000)]
Make this slightly less bogus. I'm not 100% sure what is correct here,
but replacing the "dir" file unconditionally isn't it. During the course
of development, if .info files go away from the sources, nothing removes
them from /usr/share/info, this is the same as system binaries etc.
Removing the entire index isn't helpful, because you've got to reinstall
the entire tree to get it back again. bsd.info.mk has a reference to
/usr/share/info/dir-tmpl, I wonder if it once created dir if needed?
Bill Paul [Sun, 12 Jan 1997 02:48:09 +0000 (02:48 +0000)]
- Save parent pid and check current pid against it upon entry to
terminate(). This makes doubly sure we don't trip the SIGTERM handler
in a child process. Suggested by: phk.
- It's int main(argc, argv), not void main(argc, argv), gosh darn it.
John Polstra [Sun, 12 Jan 1997 00:16:36 +0000 (00:16 +0000)]
Add support for the LD_BIND_NOW environment variable. If it is set to a
nonempty string, then function calls are relocated at program start-up
rather than lazily. This variable is standard on Sun and SVR4 systems.
The dlopen() function now supports both lazy and immediate binding, as
determined by its "mode" argument, which can be either 1 (RTLD_LAZY) or
2 (RTLD_NOW). I will add defines of these symbols to <dlfcn.h> as soon
as I've done a little more checking to make sure they won't cause
collisions or bootstrapping problems that would break "make world".
The "LD_*" environment variables which alter dynamic linker behavior are
now treated as unset if they are set to the empty string. This agrees
with the standard SVR4 conventions for the dynamic linker.
Add a work-around for programs compiled with certain buggy versions of
crt0.o. The buggy versions failed to set the "crt_ldso" member of the
interface structure. This caused certain error messages from the
dynamic linker to begin with "(null)" instead of the pathname of the
dynamic linker.
John Polstra [Sun, 12 Jan 1997 00:10:57 +0000 (00:10 +0000)]
Set LD_TRACE_LOADED_OBJECTS to "1" instead of to "". The dynamic linker
now treats empty "LD_*" environment variables as if they were unset, per
the standard SVR4 conventions.
John Polstra [Sun, 12 Jan 1997 00:09:11 +0000 (00:09 +0000)]
Add support for the LD_BIND_NOW environment variable. If it is set to a
nonempty string, then function calls are relocated at program start-up
rather than lazily. This variable is standard on Sun and SVR4 systems.
The dlopen() function now supports both lazy and immediate binding, as
determined by its "mode" argument, which can be either 1 (RTLD_LAZY) or
2 (RTLD_NOW). I will add defines of these symbols to <dlfcn.h> as soon
as I've done a little more checking to make sure they won't cause
collisions or bootstrapping problems that would break "make world".
John Polstra [Sat, 11 Jan 1997 23:59:34 +0000 (23:59 +0000)]
Set the "crt_ldso" member of the crt-to-ld.so interface structure. This
was apparently overlooked at the time the member was added. Its absence
causes some error messages from the dynamic linker to begin with
"(null):" instead of with the pathname of the dynamic linker as they
should.
I am also adding a work-around to the dynamic linker, to cope with
legacy binaries that were built with older versions of crt0.
John Dyson [Sat, 11 Jan 1997 23:50:42 +0000 (23:50 +0000)]
When we changed pmap_protect to support adding the writeable
attribute to a page range, we forgot to set the PG_WRITEABLE
flag in the vm_page_t. This fixes that problem.
Mike Pritchard [Sat, 11 Jan 1997 21:45:57 +0000 (21:45 +0000)]
Bring stat(2) into line with what is now actually in
stat.h. Also add a little blurb regarding st_mtime &
friends clarifiying how they are defined in a
non-_POSIX_SOURCE envorinment. Closes PR# 1089.
Mike Pritchard [Sat, 11 Jan 1997 20:06:03 +0000 (20:06 +0000)]
Change Brian Tao's mail address from taob@io.org to
taob@risc.org as requested (It looks like Nate forgot or
didn't know about this one, or I just jumped the gun
and got to it before he did :-).
Mike Pritchard [Sat, 11 Jan 1997 19:24:22 +0000 (19:24 +0000)]
Add a blurb describing the fact that ls will print the
year in place of the hour/minute fields if the time is
more than 6 months in the past or future.
Nate Williams [Sat, 11 Jan 1997 18:23:20 +0000 (18:23 +0000)]
Update the PCIC controller's imask with individual slot IRQ's.
Assuming that the intr_mask[] was updated by changing the maskptrs (the
existing update_intr_masks() function will not work) this code was
written so the PCIC controller insertion/removal events will not
interrupt the card IRQ handler events.
Some possible scenarios:
+ Card is removed during IRQ handler:
- PCIC card handler is allowed to interrupt
- card removal event is called, removing the driver and data structures
* card interrupt handler continues w/out driver, data structures, and hardware
OR (the code just committed)
* card IRQ handler has no hardware to read/write to, but has code and
data to run on (XXX- Assume it completes and doesn't spin forever)
- PCIC card handler unloads the card driver
The current situation at least leaves the card interrupt handlers the
drivers and data structures to work with although the hardware can't be
guaranteed.
Nate Williams [Sat, 11 Jan 1997 17:54:57 +0000 (17:54 +0000)]
Now that all of the IRQ's should be allocated by the time this
pccard_configure() is called (except for LKm's :( ), build a list of
unassigned interrupts for the PCCARD code to use.
Nate Williams [Sat, 11 Jan 1997 17:41:36 +0000 (17:41 +0000)]
Moved pccard_configure() to the end of the configure() list. This
avoids problems with the PCIC controller grabbing an interrupt that
another card needs.
Bill Paul [Sat, 11 Jan 1997 17:16:18 +0000 (17:16 +0000)]
Correct two bugs:
- If a child receives a SIGTERM, it will call the terminate() function
and end up doing the shutdown procedurs that should really only be
done by the parent. Set the SIGTERM behavior back to SIG_DLT in the
child after fork()ing.
- If the parent fails to read data back from the child because the
child has exited, it will call rpc_received() with bogus tdata that
can cause the parent to SEGV. Make handle_children() detect this
condition correctly and handle it sanely.
David Nugent [Sat, 11 Jan 1997 16:08:53 +0000 (16:08 +0000)]
Added 'xuser' class entry point for X users (who need more resources).
Increased default procs/file handles so that man will work in more
situations. Other suggestions welcome, btw.
Peter Wemm [Sat, 11 Jan 1997 09:21:29 +0000 (09:21 +0000)]
This is purely a bandaid to lower the risk of running out of slots
for the local interfaces. It's not uncommon to have >32 interfaces
these days. This is a temporary patch until it's fixed to use sysctl
or whatever.