1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-15 10:17:20 +00:00
Mirror of the FreeBSD src repository https://git.FreeBSD.org/src.git .
Go to file
Martin Cracauer 7a8e920bb9 Do not exit on SIGINT in non-interactive shells, fixes PR 1206,
i.e. this makes emacs usable from system(3). Programs called from
shellscripts are now required to exit with proper signal status. That
means, they have to kill themself. Exiting with faked numerical exit
code is not sufficient.

Exit with proper signal status if script exits on signal.

Make the wait builtin interruptable, both with and without traps set.

Use volatile sig_atomic_t where (and only where) appropriate.

(Almost) fix printing of newlines on SIGINT.

Make traps setable from trap handlers. This is needed for shellscripts
that catch SIGINT for cleanup work but intend to exit on it, hance
have to kill themself from a trap handler. I.e. mkdep.

While I'm at it, make it -Wall clean. -Wall is not enabled in
Makefile, since vararg warnx() macro calls in usr.bin/printf/printf.c
are not -Wall-able.
PR:		1206
Obtained from:	Basic SIGINT fix from Bruce Evans
1998-08-24 10:20:37 +00:00
bin Do not exit on SIGINT in non-interactive shells, fixes PR 1206, 1998-08-24 10:20:37 +00:00
contrib Support printf format checking of FreeBSD kernel formats %[Dbrz]. 1998-08-24 06:33:52 +00:00
crypto Fix nasty typo that randomly caused kinit to not properly deduce the 1998-03-29 07:27:43 +00:00
etc Don't try to run ldconfig if it doesn't exist. Useful for elf platforms. 1998-08-24 07:11:48 +00:00
games Make the build tools static to avoid trying to use the shared loader 1998-08-20 21:45:46 +00:00
gnu Make the build tools static to avoid trying to use the shared loader 1998-08-20 21:45:46 +00:00
include Add extern declaration for `tzname[]' to make this header comply better 1998-08-21 01:21:26 +00:00
kerberos5 Fix a break in the includes where the build blows chunks if it is 1997-10-02 15:03:23 +00:00
kerberosIV Add kerberised CVS to the dependant programs. 1998-08-15 17:28:06 +00:00
lib Fixed syntax errors (__dead should have gone away years ago, and 1998-08-24 02:54:33 +00:00
libexec Pass me the pointy hat with the extra sequins. Just a moment, while I get 1998-08-22 15:51:41 +00:00
lkm Shut this thing up, like the other LKMs 1998-08-24 05:31:57 +00:00
release First cut (aka hack) at getting make release building on the alpha. Don't 1998-08-23 00:52:18 +00:00
sbin Attempt to fix my breakage of the alpha makebootarea() in rev.1.19. 1998-08-23 07:32:37 +00:00
secure Connect up sendmail-8.9.1 1998-08-04 15:24:04 +00:00
share Adjust family tree to list some freebsd dates as well. 1998-08-19 12:58:38 +00:00
sys Add atomic.s. 1998-08-24 08:48:22 +00:00
tools Add mid scripts. Mid is a tool which create a Message-ID database 1998-05-20 09:20:02 +00:00
usr.bin When exiting on SIGINT, exit with signal status 1998-08-24 10:17:20 +00:00
usr.sbin Consolidate the two malloc()s that are done when allocating 1998-08-21 18:10:15 +00:00
COPYRIGHT This is the official 4.4 Lite copyright. 1994-09-11 07:53:28 +00:00
Makefile Build objformat on all architectures. 1998-08-18 12:52:51 +00:00
README Re-alphabetize and update the subdir descriptions. 1998-06-30 08:08:05 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on: $Id: README,v 1.11 1997/08/09 14:36:20 jkh Exp $

For copyright information, please see the file COPYRIGHT in this
directory (additional copyright information also exists for some
sources in this tree - please see the specific source directories for
more information).

The Makefile in this directory supports a number of targets for
building components (or all) of the FreeBSD source tree, the most
commonly used one being ``world'', which rebuilds and installs
everything in the FreeBSD system from the source tree except the
kernel and the contents of /etc.  Please see the top of the Makefile
in this directory for more information on the standard build targets
and compile-time flags.

Building a kernel with config(8) is a somewhat more involved process,
documentation for which can be found at:
   http://www.freebsd.org/handbook/kernelconfig.html
And in the config(8) man page.

The sample kernel configuration files reside in the sys/i386/conf
sub-directory (assuming that you've installed the kernel sources), the
file named GENERIC being the one used to build your initial installation
kernel.  The file LINT contains entries for all possible devices, not
just those commonly used, and is meant more as a general reference
than an actual kernel configuration file (a kernel built from it
wouldn't even run).


Source Roadmap:
---------------
bin		System/User commands.

contrib		Packages contributed by 3rd parties.

crypto		Export controlled stuff (see crypto/README).

etc		Template files for /etc

games		Amusements.

gnu		Various commands and libraries under the GNU Public License.
		Please see gnu/COPYING* for more information.

include		System include files.

kerberosIV	Kerberos package - also export controlled.

lib		System libraries.

libexec		System daemons.

lkm		Loadable Kernel Modules.

release		Release building Makefile & associated tools.

sbin		System commands.

secure		DES and DES-related utilities - NOT FOR EXPORT!

share		Shared resources.

sys		Kernel sources.

tools		Utilities for regression testing and miscellaneous tasks.

usr.bin		User commands.

usr.sbin	System administration commands.


For information on synchronizing your source tree with one or more of
the FreeBSD Project's development branches, please see:

  http://www.freebsd.org/handbook/synching.html