Commit graph

2404 commits

Author SHA1 Message Date
Wolfram Schneider 31033c2c38 PR: bin/5596
Change the diagnostic if there were no matching processes owned by
you.
1998-08-30 16:54:58 +00:00
Gary Palmer 521e091823 Still need -lmd on the alpha as it doesn't have shlibs yet 1998-08-30 16:07:18 +00:00
John Birrell 839de40e6e BINFORMAT -> OBJFORMAT ready for E-day. 1998-08-30 02:52:04 +00:00
Bruce Evans 0fccc7dafd Fixed anachronisms (nuked vfs type number; don't give a 1/6-baked list
of vfs flags in the man page).
1998-08-29 13:53:22 +00:00
David E. O'Brien 905a01acd9 Add option `-n', causing system headers not to be included in dependacy
lists.

This is needed when using a non-stock compiler.
1998-08-29 07:55:55 +00:00
Gary Palmer 590c5955be Delete trailing space that may have caused problems 1998-08-26 12:41:11 +00:00
Gary Palmer 23f353f34a Move kdump & ktrace out of i386 specific section. 1998-08-26 10:03:28 +00:00
Wolfram Schneider 63d82ffc0e Check the text segment size of the executable and the process. If
not equal, the command line arguments are wrong. E.g.:

$./gcore /bin/sh 1761

$ ./gcore /usr/tmp/chroot/bin/sh 1761
gcore: The executable /usr/tmp/chroot/bin/sh does not belong to process 1761!
Text segment size (in bytes): executable 303104, process 294912
1998-08-24 16:25:30 +00:00
Martin Cracauer 9a4902a99f When exiting on SIGINT, exit with signal status 1998-08-24 10:17:20 +00:00
Steve Price 36f8699a07 The host commandline option is -h and not -s.
PR:		7703
Submitted by:	Yoshishige Arai <ryo2@on.rim.or.jp>
1998-08-24 00:56:20 +00:00
Gary Palmer ed9ff6ddf7 Quick hack to allow netstat to compile once more: ifdef out MT_SOOPTS 1998-08-23 15:23:11 +00:00
David E. O'Brien bd7061056e Add "-P" display the id as a password file entry.
Submitted by:	terry
1998-08-21 06:47:58 +00:00
John Birrell acfd6b3968 Change casts from int to u_long and formats from %x to %lx.
Didn't fix the alignment of the output fields on alpha where addresses
require 16 characters to print.

Added a dummy field to the pt_u union to help the alpha compiler align
the u_sa field in a suiable way.
1998-08-18 13:41:38 +00:00
John Birrell fb5a5a81ea Change a variable from int to size_t. 1998-08-18 13:36:47 +00:00
John Birrell 96a332e8f9 More programs that build on alpha now. 1998-08-18 12:55:32 +00:00
John Birrell a89fd81d2b The selection of a default object format is based on OBJFORMAT, not
BINFORMAT.
1998-08-18 06:55:36 +00:00
John Birrell 34c2c7717f Make this internal build tool static to avoid trying to use shared
libraries before the shared loader has been installed.
1998-08-17 11:56:22 +00:00
John Birrell 47b524d13a Remove the PATH setting. 1998-08-17 11:43:25 +00:00
Gary Palmer 83314c7206 lorder is needed on the alpha too 1998-08-17 07:37:55 +00:00
Joseph Koshy 580367f264 Remove hardcoded constant in favour of login.conf value.
PR: 	6529
Submitted by:	Dan Lukes <dan@obluda.cz>
1998-08-17 03:25:07 +00:00
Poul-Henning Kamp 7a55a3c230 I have added the support for BIG5 encoding into libc/libxpg4/mklocale.
the diff is attached below. This is done on the 3.0 source-tree.
I have test this on 2.2-stable before, but I don't have a 3.0 machine
right now.

This patch is mainly to make libc support BIG5 encoding, thus add
zh_TW.BIG5 locale to 3.0.

Submitted by:	Chen Hsiung Chan <frankch@waru.life.nthu.edu.tw>
1998-08-15 12:51:49 +00:00
Poul-Henning Kamp 15160dd67b Remove half the file, somehow it got doubled... 1998-08-15 12:36:50 +00:00
John Birrell 559628a153 Removed explict PATH which tended to cause the *wrong* path to be used
more often than not.

Also included Doug Rabson's changes to make this script better handle the
two varieties of nm output we now have.
1998-08-15 07:10:21 +00:00
Poul-Henning Kamp 9cd4d748f9 /usr/src/usr.bin/lex/Makefile puts FlexLexer.h into /usr/include/g++,
but flex still generates "#include <FlexLexer.h".  As a result,
C++ sources flex generates failed to be compiled.

PR:		7575
Reviewed by:	phk
Submitted by:	MOROHOSHI Akihiko <moro@remus.dti.ne.jp>
1998-08-14 06:35:37 +00:00
Peter Hawkins 0914b0d220 Submitted by: Peter Hawkins <thepish@freebsd.org>
Document last mod (extended gcos)
1998-08-14 03:47:38 +00:00
Peter Hawkins 19ae8d1e56 Submitted by: Peter Hawkins <thepish@FreeBSD.org>
Add functionality for support for more than 4 subfields within gcos. chsh,
chpass etc did not parse beyond the 4th field previously and so truncated
gcos on updating the database.
1998-08-14 03:18:32 +00:00
Wolfram Schneider f3b2c2d1d3 Merge from stable: support for the o, order, command 1998-08-12 09:58:15 +00:00
Peter Hawkins 449cc391d9 PR: 7522
Correct bug in the inverse operator optimisation code which caused segv
on ! without a following expression.
1998-08-10 10:29:11 +00:00
Poul-Henning Kamp da52a1bae1 I have been running with these locale data for a while now and
I hope some other people might find them useful. They are for
zh_CN.EUC (GB) only. I'm not familiar with the BIG5 encoding,
so I could only hope someone else would fill the gap.

PR:		7310
Submitted by:	Luoqi Chen <luoqi@chen.ml.org>
1998-08-10 09:49:42 +00:00
John Polstra 43ab5f3877 Don't ignore symbols containing "$". C++ destructors and other
special functions have names containing dollar signs, and ignoring
them causes gprof to produce incorrect and sometimes bizarre results.
The comment in the original code said that dollar signs were excluded
because they are used in Pascal labels.  That's not much of an
issue these days.
1998-08-08 17:48:26 +00:00
Alexander Langer 1f939e3414 Year is sometimes set to -1 when assign_date() is called. Check for -1
before Y2K processing.

PR:		7524
1998-08-08 14:02:06 +00:00
Poul-Henning Kamp c6620a13c0 Make netstat work again. 1998-08-08 08:13:04 +00:00
Andrey A. Chernov 2667adfdac add Hungarian clooate 1998-08-07 17:08:56 +00:00
Andrey A. Chernov 7a37f336e3 add Hungarian ctype 1998-08-07 17:07:12 +00:00
Andrey A. Chernov b4689cd667 fix 8bit clean issue
PR: 7519
1998-08-07 16:21:09 +00:00
Poul-Henning Kamp 86f347ae38 This PR contains additional magic for file(1) describing
various adventure game data files.

from Allen Garvin <earendil@faeryland.tamu-commerce.edu>
Edited by Dave Chapeskie <dchapes@ddm.on.ca> Jun 28, 1998

PR:		7466
Reviewed by:	phk
Submitted by:	The Frobozz Magic Homing Pigeon Company
1998-08-07 06:26:37 +00:00
Mark Murray 448bbb5805 Fix LIBDIR (for aout/ELF). 1998-08-06 21:41:13 +00:00
Poul-Henning Kamp 99453c6ab8 Don't open /dev/mem until we need it, most cases we don't. 1998-08-05 13:54:07 +00:00
Doug Rabson f1598784ae Use <signal.h> instead of <sys/signal.h>. 1998-08-05 09:01:29 +00:00
Dag-Erling Smørgrav e7cdb97253 Add -t option ('t' in interactive mode) to make top(1) ignore itself.
Attempts to contact the author of top(1) (William LeFebvre) have so
far been unsuccessful.

PR:		7253
Submitted by:	Yours Truly
1998-08-04 14:10:48 +00:00
Tim Vanderhoek 1707aceca1 Ignore (effectively) SIGTSTP if we're already in the process of tstoping. 1998-08-03 03:11:09 +00:00
Bruce Evans c513aafea1 Fixed printf format errors. 1998-08-02 15:18:45 +00:00
Bruce Evans e662741c24 Backed out rev.1.31. It was a workaround for bugs in rev.1.4 of
libc/gen/getpass.c.  The old behaviour of blocking SIGINT and not
changing SIGQUIT was restored in rev.1.5 of getpass.c.  The change
here completely restores the old behaviour of not supporting killing
login with keyboard signals (only) at the password prompt.  There
is no reason to support this, since login can be exited normally
by typing a couple of ^D's.  Login certainly shouldn't dump core
in response to user input.  Previously, SIGQUIT killed login
immediately but SIGINT killed it only after the password was
entered.

PR:		7444
1998-07-31 07:22:31 +00:00
Tim Vanderhoek b410b35213 Fix coredump when two signals are sent in rapid succession.
PR:		bin/5721
Submitted by:	Oliver Fromme <oliver.fromme@heim3.tu-clausthal.de>

Also, add "volatile" to a variable modified by signal handlers (coincidentally,
the same variable involved in the above fix, although this isn't related
to the reported problem).
1998-07-31 04:05:11 +00:00
Dag-Erling Smørgrav 1f89173a8c Don't try to dereference a pointer to freed memory.
PR:		bin/7393
1998-07-29 17:50:06 +00:00
Dag-Erling Smørgrav 9b81ca853e Brucifixion. 1998-07-28 10:08:16 +00:00
Jonathan Lemon 4b8a1af6a2 Change doscmd to use i386_set_ioperm() call instead of sysarch(). 1998-07-28 03:39:59 +00:00
Dag-Erling Smørgrav 28f5cafe82 Behave like GNU time. More cleanup. Reword man page.
Pointed out by:	Bruce Evans
1998-07-27 16:54:05 +00:00
Dag-Erling Smørgrav fabfd1334a Clean up the previous commit. 1998-07-27 16:08:58 +00:00
Wolfram Schneider 4dc0ec1db1 Round - not cut - the real cpu time. 1998-07-27 12:21:58 +00:00