Go to file
Bruce Evans 80987b7a3b Fixed EOF handing.
1. SS_CANTRCVMORE was initially set on the wrong socket, so reads
when there has never been a writer on the socket did not return 0.
Note that such reads are only possible if the fifo was opened in
(O_RDONLY | O_NONBLOCK) mode.

2. SS_CANTSENDMORE was initially set on the wrong socket, but this
was harmless because the wrong socket is never sent from and there
is no need to set the flag initially on the right socket (since open
in (O_WRONLY | O_NONBLOCK) mode fails if there is no reader...).

3. SS_CANTRCVMORE was cleared when read() returns.  This broke the
case where read() returns 0 - subsequent reads are supposed to
return 0 until a writer appears.  There is no need to clear the
flag when read() returns, since it is cleared correctly when a
writer appears.
1997-12-13 13:49:59 +00:00
bin Make code slightly more robust towards change by calculating size 1997-12-12 18:38:22 +00:00
contrib This is a hack. Decode IEEE 802.1Q VLAN tagging so that we can decode 1997-12-08 21:42:35 +00:00
crypto MFC: no \n in syslog strings. Change -P to -p in flags. EOF -> -1. Use err(3). 1997-12-08 07:41:13 +00:00
etc Back out last commit re dmesg.boot 1997-12-09 10:06:49 +00:00
games Remove bogus declaration of calloc() that broke the build. Test, folks, 1997-09-26 06:25:42 +00:00
gnu Use getopts instead getopt(1). This should fix the problem 1997-12-07 01:00:56 +00:00
include Move nlist related defines from link.h into nlist.h. Clean up 1997-12-06 17:59:52 +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 Link this against -lcrypt. In the case where the user has no key available 1997-10-24 16:27:46 +00:00
lib Delete "typedef ... date" (see style(9)). 1997-12-13 11:51:16 +00:00
libexec Use full path in synopsis. Sort #includes. Use .Tn for NIS. 1997-12-08 07:49:56 +00:00
lkm - The daemon might go off the screen and crashed the system if the 1997-10-26 07:35:18 +00:00
release document some things that others and I have done to the tree... these 1997-12-10 07:41:24 +00:00
sbin Fix some style bugs. 1997-12-10 20:33:59 +00:00
secure Staticise a variable. 1997-10-08 07:02:48 +00:00
share Sync with original source: add FreeBSD 2.2.5, NetBSD 1.3, and OpenBSD 2.2 1997-12-09 22:53:06 +00:00
sys Fixed EOF handing. 1997-12-13 13:49:59 +00:00
tools Add html-mv script. Html-mv rename HTML generated filenames to 1997-11-09 11:23:54 +00:00
usr.bin Add minigzip 1997-12-13 09:59:32 +00:00
usr.sbin Fix a segmentation violation that happened if "auth" was in the 1997-12-13 05:27:29 +00:00
COPYRIGHT
Makefile Do not use -B in initial build of "make". It doesn't exist in 2.1.x. 1997-10-10 13:02:36 +00:00
README Note that /etc is not installed by world target either. 1997-08-09 14:36:20 +00:00

This is the top level of the FreeBSD source directory.  This file
was last revised on: $Id: README,v 1.10 1997/02/23 09:18:39 peter 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.

eBones		Kerberos package - NOT FOR EXPORT!

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.

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