Commit Graph

2776 Commits

Author SHA1 Message Date
luoqi
1f6efaac8b X11 include directory may not actually contain any header file, check for
a specific one (X11/X.h).
1999-04-17 01:57:06 +00:00
des
b13fdc3f7e Nuke lsock(1). 1999-04-15 13:43:22 +00:00
des
ad44567e6e lsock(1) -> sockstat(1) 1999-04-15 13:42:48 +00:00
des
010438dfb3 Rename lsock(1) to sockstat(1).
Suggested by:	Sheldon Hearn <sheldonh@iafrica.com>
Approved by:	Peter Wemm <peter@netplex.com.au>
1999-04-15 13:40:43 +00:00
des
a004afb5f0 Activate lsock(1). 1999-04-14 16:17:52 +00:00
des
4bc4aab417 Import lsock(1), a Perl script for listing open Internet sockets. 1999-04-14 16:17:34 +00:00
ghelmer
797893c462 Typo fix.
PR:		docs/11022
1999-04-13 02:32:12 +00:00
foxfair
082e788c1c Correct a link problem with zh_TW.BIG5, make the display reasonable. 1999-04-10 12:22:25 +00:00
brian
be14570409 Don't perform the trimdomain() functionality twice,
trimdomain() now works as expected.
1999-04-07 14:05:03 +00:00
dt
7c674ec6a1 Rename a function to avoid conflict with the new syscall 'pwrite'. 1999-04-04 21:47:11 +00:00
cracauer
22e30fd9eb Further backouts and changes to the example.
getopt in bourne shell is in fact hard. Maybe perl isn't *that* bad
after all...
1999-04-04 13:49:10 +00:00
cracauer
b5cc56859c Back out part of previous commit.
Arguments with whitespaces are easy to fix, but in combination with
shell metachars that should not be evaluated it is very hard, probably
impossible to fix without going to a line-oriented solution.

Next time I will believe Henry Spencer when he says "this looks easy
to fix but isn't".
1999-04-04 00:25:39 +00:00
cracauer
a4f8ac3fd8 1) Fix the case where a shellscript using getopt is called with a
parameter that has space in it, both in getopt.c and in the manpage
   example.

2) Fix the example in the manpage. The set(1) command is required to
   return 0 (POSIX 1003.2, section 3.14.11), so you can't test for
   getopt's exit status like the example did:

  #! /bin/sh
  set -- `getopt abo: $*`
  if test $? != 0  # wrong, tests for set's exit status, which is
                   # always zero, no for getopt(1)'s.

Fixes PR bin/5845, which thought it was getopt's fault, but in fact
the manpage was wrong.

I also updated the example to be more useful and updated the BUGS
section.

PR:		bin/5845
1999-04-03 22:24:36 +00:00
ache
c1a2210272 fix sign extension bug
Submitted by: Nikolai Saoukh <nms@ethereal.ru>
1999-04-01 10:22:48 +00:00
brian
5903778a46 Get things right for tty names of length UT_LINESIZE.
Cosmetic: Don't shadow the `p' variable.
          Remove two unused variables.
PR:	3638
1999-03-31 21:01:39 +00:00
phk
c0ff066c07 malloc(3) need to allocate one byte more.
PR:		10855
Submitted by:	Petteri Holländer <pete@iki.fi>
1999-03-29 13:18:16 +00:00
helbig
307c270e59 Due to the switch form Julian to Gregorian calender,
even a whole month might be missing.
This caused a bug for the LN -calender, whose switch was
on Dec 12, 9999.
1999-03-27 21:08:13 +00:00
bde
437ab8d6af Display floats with format %*.0f instead of as "*****" if there is
enough space for this but not enough space for the normal %*.*f
format.  Similarly for long doubles.
1999-03-22 03:44:01 +00:00
billf
c9485f3ebf An even number of nodes, not node pairs are required for tsort(1) to work.
Pairs are inherently even.

PR:		docs/9264
Submitted by:	NAGAO Tadaaki <nagao@iij.ad.jp>
1999-03-20 21:24:18 +00:00
foxfair
e08645d99e Supporting locale for Chinese Big5 completely. 1999-03-20 11:49:23 +00:00
imp
c0353ca8a4 Disable setgid kmem for now. 1999-03-16 20:57:19 +00:00
ghelmer
fec9782e39 Reference the sysctl variables related to various limits.
PR:		docs/6764
1999-03-15 15:36:56 +00:00
billf
dd26cb397f Grammar nits, double negatives
PR:		docs/10491
Submitted By:	Tom Hukins <tom@eborcom.com>
1999-03-15 02:57:29 +00:00
mjacob
5899cf012e Fixes alignment of blocksize field to be prettier if
longest density code && density name is used.
Obtained from: Ken Merry
1999-03-10 18:42:20 +00:00
des
f1455f1462 Fix fstat compatibility by printing the address of the tcppcb instead of
that of the regular socket pcb for TCP sockets.

PR:		bin/9963
Submitted by:	Ruslan Ermilov <ru@ucb.crimea.ua>
1999-03-10 17:25:42 +00:00
roberto
dc0a0dc0be Adds the '-p' option to make time(1) output POSIX.2 compliant.
Updates the manpage as well.

I've rewritten the patch as it was for 2.2.7. It can probably be put
into 3.1-STABLE as well.

PR:		bin/10515
Submitted by:	Jens Schweikhardt <schweikh@noc.dfn.de>
1999-03-10 17:22:12 +00:00
mjacob
134866530d get rid of space padding for compression 1999-03-10 00:48:03 +00:00
wollman
e95e96917b Restore \n at end of usage message.
Complained-about-by: charnier
1999-03-08 19:16:14 +00:00
ghelmer
3668e70e57 Fix display of example usage.
PR:		docs/9833
1999-03-07 19:24:39 +00:00
bde
367d8e03b5 Oops, the test for "no-cpu" was inverted.
Submitted by:	Seigo TANIMURA <tanimura@naklab.dnj.ynu.ac.jp>
1999-03-07 06:55:47 +00:00
bde
8e66690b56 The magic "no-cpu" cpu number is 0xff. Don't misrepresent cpu
numbers as chars or use bogus casts in an attempt to unmisrepresnt
them.  In top, don't assume that 0xff is the only negative cpu
number when cpu numbers are (mis)represented.
1999-03-05 16:38:13 +00:00
joerg
19dfc785f9 Fix the style of my previous commit.
Submitted by:	The Style Police[tm]
1999-03-03 14:02:50 +00:00
joerg
5aa0d5669d Increase the vector that's used to look for free pty's. We go through
/dev/ttypv right now, but window(1) was only looking up to ttypf,
causing an `Out of pseudo-terminals' when i just tried on freefall.
1999-03-03 12:08:49 +00:00
joerg
fab35ece76 Make window(1) actually work again. It has been broken for quite some
time now.

For whatever reason, the kernel seems to have generated SIGIOs
previously without an initial fcntl(...,F_SETOWN), but does no longer.
This caused window(1) to wait indefinitely for input.

Also, undo rev 1.3 of wwspawn.c, it was not well-thought, and
apparently not even tested at all.  The blindly (even in a nonsensical
place like the comment on top of the function) applied replacement of
vfork() by fork() totally ignored that window(1) *does* abuse the
feature of vfork() where a modification of the parent's address space
is possible (in this case, to notify the parent of an erred exec*).
Also, with vfork(), it is guaranteed that the parent is only woken up
after the exec*() happened, where the replacement by fork() made the
parent to almost always become runnable again before the child, in
which case the parent simply told `subprocess died'.  Unfortunately,
working around _this_ seems to be a lot more of redesign work compared
to little gained value, so i think relying on the specifics of vfork()
is the simpler way.

Submitted by:	Philipp Mergenthaler <un1i@rz.uni-karlsruhe.de>
1999-03-02 19:08:09 +00:00
mjacob
f67e602db3 Print actual density code as well as string for density- I dunno about others,
but I sure remember 0x15 easier than 'ECMA 17'. Also handle density codes
0 (default) and 0x7f ('same') as special cases.
1999-03-02 06:27:59 +00:00
alex
fb40f3faa8 Improve error message wording when attempting to link to a non-existent
file on the local host.

PR:		10042
Submitted by:	Chris Costello <phoenix@calldei.com>
1999-03-02 04:14:33 +00:00
wpaul
4ba8a558c9 Close PR #10264. Don't bail directly out of passwd/chpass in my_yp_match().
Instead, treat the inability to retrieve a record from the server as a
match failure and let things take its course.

Part of the problem here is that NIS _is_ turned on, however the master
server is actually not an NIS server: it's an NIS+ server. And the client
is bound to an NIS+ replica server that's running in YP compat mode.
The code which tries to figure out of the user is local or NIS gets
confused by this.
1999-03-01 16:11:13 +00:00
imp
e39f9f9804 Fix disorder introduced by me in the Euro part 2 locale commit.
Submited by: bde
(This was uncommitted for too long in my tree, but is well tested)
1999-03-01 06:05:58 +00:00
imp
a7687040d4 Make MACHINE_ARCH sensitive to the environment, as well as using the
compiled in default in case it isn't defined.  This is needed to make
cross compilation work in some edge cases.  It also makes cross
compiling on FreeBSD other BSD's easier as well.

Obtained from: NetBSD, OpenBSD (predates the split)
1999-03-01 06:01:05 +00:00
ache
1259b793a6 fix PRUNEPATHS assignment 1999-02-28 20:40:19 +00:00
wollman
34c6333130 Deal with broken Web sites which return 302 responses rather than 404
and an error document when the requested resource does not exist.  Grrr.

Requested by:	asami
1999-02-23 18:51:13 +00:00
ghelmer
6b7db68bbc Change the prompt for the office location field from "Location:"
to "Office Location:" to disambiguate what is expected.  Add a note
to the man page to indicate that the office location and office phone
fields are concatenated and printed with the heading "Office:" by
finger(1).  Swap the order of the home and office phone fields in the
man page to match the order of the fields in the editor.

If any programs interact with chpass(1) and expect "Location:" instead
of "Office Location:" as the prompt, either this change will have to be
reverted or the other programs will have to be changed.

PR:		docs/7533
1999-02-23 02:41:26 +00:00
bde
2e57affe5f Use `${CC} ${CFLAGS} ${LDFLAGS} -nostdlib -Wl...' instead of
`ld ... <fudged ${LDFLAGS}>' to invoke the linker.  This gets the
flags and standard library paths right without complications.
Unfortunately, it doesn't help for the X11 library paths -- cc
only appends /aout for standard library paths.
1999-02-17 13:48:07 +00:00
fenner
eb83564f14 Fix off-by-one error. 1999-02-16 19:05:09 +00:00
luoqi
fe610030f3 Re-enable doscmd build. 1999-02-16 17:57:25 +00:00
luoqi
619ae2ec5f Look for aout X libraries at the right place. 1999-02-16 14:57:58 +00:00
ache
00b88b4c30 back out obj/colldef PATH hack, it breaks cross-compiling per Bruce
There is _BUILD_TOOLS hack for. Plase all targets under it.
1999-02-15 15:11:07 +00:00
bde
10dcd94aff Fixed bitrot in usage message and disordering of options in previous commit.
I'm not sure why we have `mvstat -z'.  `sysctl vm.zone' gives more
information.  OTOH, `sysctl vm.zone' shouldn't return ASCII data,
and reporting of memory use should be integrated, at least as an
option.
1999-02-15 14:15:28 +00:00
bde
8a88563e32 Fixed disordering of options in previous commit. 1999-02-15 13:57:18 +00:00
bde
1390c560f7 Don't pass -static in ${LDFLAGS} to ld for building doscmd.kernel,
since it means -s (strip), and static linkage is forced correctly
anyway.  Other things in ${LDFLAGS} are still bogusly passed to ld.
This only affects the aout case.
1999-02-15 12:36:21 +00:00