Commit Graph

15247 Commits

Author SHA1 Message Date
Peter Wemm
69cb702bf1 make the declaration of the __error() function C++ safe. Otherwise,
the linker comes up with undefined variables because of the #define errno
when using _THREAD_SAFE.
1996-08-18 16:16:18 +00:00
Peter Wemm
979ef59bf8 Add __unused to the list of __dead, __dead2, __pure, __pure2 etc.
gcc-2.7 has __attribute__((unused)) as a postfix operator on function
arguments to prevent -Wunused from complaining about them.  gcc < 2.7
doesn't have anything like this (and doesn't care about it either).

eg:
int foo(bar, baz)
  int bar __unused;	/* needed because of function pointer typing */
  char *baz __unused;
{
  return (1);
}
1996-08-18 16:14:03 +00:00
Wolfram Schneider
ab021a62b1 new section ``Unix history''
* Saulus, Peter H. _A quarter century of UNIX_.
	* Simon Garfinkel, Daniel Weise, Steven Strassmann.
	  _The UNIX-HATERS Hanbook_.
1996-08-18 12:47:33 +00:00
Wolfram Schneider
eddc44c480 A pipe function call appeared in Version *3* AT&T UNIX, not
Version 6. Close PR #1490

Obtained from: Peter H. Saulus in `A Quarter Century of UNIX', page 50
1996-08-18 11:28:16 +00:00
Wolfram Schneider
4b2b2ee3e1 ``make install'' should not install the symlink /usr/sbin/rmt -> /etc/rmt
Only ``make distribution'' in src/etc/Makefile overrides things in /etc

Pointed out by: joerg
1996-08-18 11:05:08 +00:00
Satoshi Asami
4dbc40f9a5 (1) Use INSTALL_PROGRAM where we attempt to pass this command line
to configure.

(2) Gently warn user for non-0022 umasks.

Submitted by:	"David E. O'Brien" <obrien@Nuxi.cs.ucdavis.edu> (1)
1996-08-18 10:53:16 +00:00
John Hay
e819bbbca4 Accept odd length ipx packets. (Win95 and some dialup servers use it.)
Original idea submitted by:	Atsushi Murai <amurai@spec.co.jp>
1996-08-18 08:38:15 +00:00
Joerg Wunsch
8a4f8ad912 Fix a couple of typos that sneaked in with Poul's ETHER_* mega-commit.
Reviewed by:	phk
1996-08-18 07:58:13 +00:00
Wolfram Schneider
9f11e77a5b use label "mirrors-ctm" for CTM mirrors. 1996-08-17 23:51:45 +00:00
Wolfram Schneider
3819b41325 replace shell comment char `#'' with troff comment command `.\"'' 1996-08-17 23:31:38 +00:00
Wolfram Schneider
361e0905ef make install should not install any file in /etc. 1996-08-17 22:27:08 +00:00
Joerg Wunsch
e7e3f60d66 Do not test_unit_ready() before starting the unit... 1996-08-17 20:50:26 +00:00
Peter Wemm
b011f9fd8f Fixes from NetBSD:
- inet_ntoa() returns a pointer to a static buffer, dont use it twice
   in the same printf().
 - prevent the possibility of never timing out
 - Report two more ICMP error types (prohibited nets etc)
And some (commented out) enhancements that I use, but some don't like.
1996-08-17 10:37:28 +00:00
Satoshi Asami
38c3b03d54 (1) Ignore patches directory without a patch with a message instead of
bombing mercilessly.

(2) If that directory has a directory called CVS, remind the user of
    the existence of the "-P" option to cvs co and update.

(3) While I'm here, clean up the PATCH_DEBUG code a bit.  In
    particular, don't duplicate a whole bunch of code just for adding
    a single "echo" statement. ;)

Reviewed by:	the ports list
1996-08-17 10:16:02 +00:00
Peter Wemm
e0d239dba3 Put on my flame-proof suit and attempt to make the /etc/motd banner
editor safer.  The old one was too deadly, if the blank line after the
"FreeBSD" version banner was missing, it would delete from the beginning
of the file up until the next blank line, possibly to the end of file.
This was not good.
1996-08-17 07:15:38 +00:00
Nate Williams
f1820d8664 kzip's usage() does not show the ``-v'' verbose option
Submitted by:	"David E. O'Brien" <obrien@nuxi.cs.ucdavis.edu>
1996-08-16 15:22:25 +00:00
Wolfram Schneider
76f773a6a5 update keymap list 1996-08-16 13:51:55 +00:00
Wolfram Schneider
b4356447c7 New options
-K      Run as command kbdmap(1).
    -V      Run as command vidfont(1).
    -p, -print
            Print description  of available keymaps or fonts to
            stdout and exit.

Document that users should not choose MSDOS codepage keymaps or fonts.
1996-08-16 13:26:44 +00:00
Andrey A. Chernov
0d9bb52dbb Remove -p from SYNOPSIS 1996-08-16 12:34:47 +00:00
Andrey A. Chernov
de1fd44033 Remove -p option from getopt string, all corresponding code
already deleted
1996-08-16 12:12:53 +00:00
Peter Wemm
cb70011ceb restore nsccons variable from rev 1.115 that was deleted in rev 1.136
during phk's staticize/cleanup commits.  pstat needs it, the MAXCONS
option is not visible anywhere else, and pstat uses it to find the bounds
of the sccons[MAXCONS] array, which varies.
1996-08-16 10:16:32 +00:00
Peter Wemm
28c28b06ed rpc.rstatd -> rpc.lockd typo
Noticed by: tholo@sigmasoft.com (Thorsten Lockert)
1996-08-16 09:44:40 +00:00
Satoshi Asami
dff2471fc2 Add Eric Blood (eblood@cs.unr.edu) for his xautolock port. 1996-08-16 07:56:45 +00:00
Jordan K. Hubbard
4ade2461ae Go back to sigaction again now that Peter has found the problem.
Mine was just a "let's move on" kinda fix, Peter's does it right. :)
Submitted-by: peter
1996-08-16 07:53:29 +00:00
Satoshi Asami
8797d8597f Add David Leonard <d@scry.dstc.edu.au> for his dclock port. Gosh,
this is the third port that I imported today that came from a guy
named David....
1996-08-16 07:43:28 +00:00
Mike Pritchard
3118b82a39 Add forward(5) to document the .forward file. 1996-08-16 00:15:17 +00:00
Mike Pritchard
559517fd01 Convert some formatting escape sequences to use mdoc macros when
possible.  E.g. xrefs are .Xr.  Paths are .Pa, etc...
1996-08-15 23:36:21 +00:00
Andrey A. Chernov
f1eecc5283 8bit clean ctype fixes 1996-08-15 22:55:53 +00:00
Andrey A. Chernov
280117ea07 Localization fixes 1996-08-15 22:49:46 +00:00
Andrey A. Chernov
ec5326ee9b Localization fixes. 1996-08-15 22:11:36 +00:00
Jordan K. Hubbard
84e01e8053 Switch from using sigaction to signal. 1996-08-15 21:13:53 +00:00
Mike Pritchard
53cd648388 Don't claim to be POSIX compliant, since our alarm function isn't. 1996-08-15 21:12:49 +00:00
Jordan K. Hubbard
07f01d546f Make libncurses catch SIGWINCH and update the values for LINES and COLS.
I was perplexed when an example I'd written to show the values for these
variables changing as an xterm window was resized didn't work, and looking
into it I see that size tracking for LINES and COLS seems to be one SVR4
enhancement which didn't come across with libncurses.
1996-08-15 21:06:52 +00:00
Mike Pritchard
05bdf2ff0b NCARGS is defined as 65536 in the released system, not 20480. 1996-08-15 21:04:29 +00:00
Mike Pritchard
d4cd2245dc Fix one other typo that was included in PR# 1477 that didn't
get comitted by whoever fixed all of the other ones.
1996-08-15 20:52:18 +00:00
Mike Pritchard
586d7a09f3 Correct a cuple of improperly formatted xrefs. 1996-08-15 20:29:04 +00:00
Jordan K. Hubbard
d1dd4d6ef0 Add something so that you can solve the puzzle automatically by pressing
`a' (I'm using this code as a test for something else, and just happened
to add this in the process :).
1996-08-15 20:15:18 +00:00
Sujal Patel
de71b88098 Fix fdavail() so that correctly pays attention to the rlimit.
Fixes unp_externalize panic which occurs when a process is at it's
ulimit for file descriptors and tries to receive a file descriptor from
another process.

Reviewed by:	wollman
1996-08-15 16:33:32 +00:00
Satoshi Asami
423cb30aa9 Bring this file up to reality (as far as I know .. these are only
the devices I once owned or contemplated purchasing .. )

(1) The ncr controller supports 53C810/815/825/860/875.

(2) Descrpitions of fxp0 and vx0 were missing.

(3) The ed driver supports SMC 8216 (`Elite Ultra') too.

(4) Add pseudo-device ccd.
1996-08-15 11:20:14 +00:00
Satoshi Asami
56086e0d72 Add comment about fxp device (Intel EE Pro/100B). 1996-08-15 10:41:34 +00:00
Satoshi Asami
482fe08129 Typo (nott -> not). 1996-08-15 09:45:30 +00:00
John Dyson
619594e898 Certain vnode buffer list operations were not being spl protected,
and they needed to be.  Brelse for example can be called at interrupt
level, and the buffer list operations were not being protected from it.
1996-08-15 06:45:01 +00:00
Satoshi Asami
bd01a3d4e1 (1) Add myself as MAINTAINER (of this file) -- commented out so it
won't be pulled into individual ports that include this file. ;)

(2) Document MOTIFLIB, it's not set in the ports Makefiles but is
    important for Motif ports (already documented in the handbook).

(3) Add INSTALL_PROGRAM, INSTALL_SCRIPT, INSTALL_DATA, INSTALL_MAN as
    "aliases" of the appropriate install command line, for use in *-install
    targets.

Reviewed by:	the ports list (item 3 only)
1996-08-15 05:55:33 +00:00
John Polstra
ad8a95416d Fix a typo in the #define for PF_RTIP, even though I doubt it will
ever make one bit of difference to anybody.
1996-08-15 04:36:40 +00:00
Satoshi Asami
c5ae7a28d5 You would want to read freebsd-current, not freebsd-hackers, to stay
current with -current.
1996-08-15 01:21:57 +00:00
Satoshi Asami
9963ec39a4 Add Mikael Hybsch <micke@dynas.se> for his fetch proxy support patch. 1996-08-14 22:38:28 +00:00
Wolfram Schneider
8b9ab864bf add Australia, Kafka, Kafkaesque, kalashnikov, karaoke, karate, kebab 1996-08-14 21:48:19 +00:00
Andrey A. Chernov
5feb86a405 Add Id 1996-08-14 19:47:02 +00:00
Wolfram Schneider
8a368b34b0 Do not add an user to a group if the group is also the login group. 1996-08-14 19:06:04 +00:00
Adam David
7ba57172c1 chown(8) and chgrp(1) directories once only 1996-08-14 18:13:58 +00:00