Commit Graph

2443 Commits

Author SHA1 Message Date
jb
a6e0ef1ac3 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
jb
3f27899256 Change a variable from int to size_t. 1998-08-18 13:36:47 +00:00
jb
7252c25302 More programs that build on alpha now. 1998-08-18 12:55:32 +00:00
jb
5b31821071 The selection of a default object format is based on OBJFORMAT, not
BINFORMAT.
1998-08-18 06:55:36 +00:00
jb
8f10135ff1 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
jb
ced8b1c076 Remove the PATH setting. 1998-08-17 11:43:25 +00:00
gpalmer
378c0a5e03 lorder is needed on the alpha too 1998-08-17 07:37:55 +00:00
jkoshy
234c18ac42 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
phk
1ed6b79eba 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
phk
0f8c912157 Remove half the file, somehow it got doubled... 1998-08-15 12:36:50 +00:00
jb
97bffe3681 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
phk
5db86f287f /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
thepish
b483cc0548 Submitted by: Peter Hawkins <thepish@freebsd.org>
Document last mod (extended gcos)
1998-08-14 03:47:38 +00:00
thepish
45eec99ab2 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
wosch
dbdb393361 Merge from stable: support for the o, order, command 1998-08-12 09:58:15 +00:00
thepish
baef4173f4 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
phk
cda9cb7dcf 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
jdp
19c95c58ef 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
alex
98bba03f6b 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
phk
6b8e495b2c Make netstat work again. 1998-08-08 08:13:04 +00:00
ache
0f1f05adaa add Hungarian clooate 1998-08-07 17:08:56 +00:00
ache
e1234f35a9 add Hungarian ctype 1998-08-07 17:07:12 +00:00
ache
1d4d97b545 fix 8bit clean issue
PR: 7519
1998-08-07 16:21:09 +00:00
phk
eff547b7e9 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
markm
57b61e8f72 Fix LIBDIR (for aout/ELF). 1998-08-06 21:41:13 +00:00
phk
fcde7b9973 Don't open /dev/mem until we need it, most cases we don't. 1998-08-05 13:54:07 +00:00
dfr
aef69c7121 Use <signal.h> instead of <sys/signal.h>. 1998-08-05 09:01:29 +00:00
des
75a0abfaae 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
hoek
914fbad87e Ignore (effectively) SIGTSTP if we're already in the process of tstoping. 1998-08-03 03:11:09 +00:00
bde
7544feb271 Fixed printf format errors. 1998-08-02 15:18:45 +00:00
bde
a1cc807650 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
hoek
c6f8c1ac57 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
des
bb930bac45 Don't try to dereference a pointer to freed memory.
PR:		bin/7393
1998-07-29 17:50:06 +00:00
des
366b0b2b58 Brucifixion. 1998-07-28 10:08:16 +00:00
jlemon
b6fbe55363 Change doscmd to use i386_set_ioperm() call instead of sysarch(). 1998-07-28 03:39:59 +00:00
des
d29e94fc95 Behave like GNU time. More cleanup. Reword man page.
Pointed out by:	Bruce Evans
1998-07-27 16:54:05 +00:00
des
919249587c Clean up the previous commit. 1998-07-27 16:08:58 +00:00
wosch
5954d8a17c Round - not cut - the real cpu time. 1998-07-27 12:21:58 +00:00
imp
72cb09943b fd_set is documented to be a typedef, not a struct. Conform more
closely to the documented interface.

Inspired-by: similar changes in OpenBSD
1998-07-26 18:49:36 +00:00
imp
0cd469a704 Use malloc + sprintf rather than asprintf to ensure portability to
other, less advanced architecutres.  This should minorly help porting
efforts of FreeBSD.  I've done several make worlds since this came up
with this change, as well as debugging several interesting nits with
-V (which is the only thing this change will affect really).
1998-07-26 17:06:05 +00:00
hoek
e53259c876 Fix compilation for the case where neither ioctl(TIOCGWINSZ)
nor ioctl(WIOCGETD) exist.  This case doesn't occur under FreeBSD.

PR:		bin/5996
Submitted by:	Max Euston <meuston@jmrodgers.com>
1998-07-26 16:15:26 +00:00
hoek
e15b79593e Really delete -# option. 1998-07-25 05:58:04 +00:00
hoek
14feb7af61 Nuke obsolote and broken -# option.
Order options.

PR:		bin/5996
Submitted by:	Max Euston <meuston@jmrodgers.com>
1998-07-25 05:56:49 +00:00
hoek
1a99878b02 Keep "-c" (top_scroll) through viewing help.
PR:		bin/5996
Submitted by:	Max Euston <meuston@jmrodgers.com>
1998-07-25 05:28:32 +00:00
phk
fbfa812ffb By default, /usr/bin/time writes its output to stderr. Two options
have been added to time(1) to write output to an alternative destination.
Option "-f filename" will write to filename, and filename can be - to
write to stdout.  Option "-a filename" will append the output to filename.
Time(1) man page has been updated to reflect the change.

PR:		7368
Submitted by:	Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1998-07-24 07:19:29 +00:00
phk
f4e69ebf9b During compilation of a Fortran program f2c/f77 will spew the
name of entry points, functions, subroutines, and program to
stderr error.  The enclosed patches do 3 things:

     (1) Silenced the output to stderr.
     (2) Added a -v option to f2c and f77.  This will turn on a verbose
         mode, and dumps quite a bit of stuff to stderr.
     (3) Updated the f2c man page.

PR:		7369
Submitted by:	Steven G. Kargl <kargl@troutmask.apl.washington.edu>
1998-07-24 07:13:57 +00:00
phk
b2c3c99671 A bit of PR7278 which belongs here.
PR:		7278
Reviewed by:	phk
Submitted by:	Harlan.Stenn@pfcs.com
1998-07-22 20:34:24 +00:00
jdp
a0e317132a Fix a couple of little bugs that prevented login.c from compiling
if LOGIN_CAP_AUTH was defined.  This is kind of silly, because
LOGIN_CAP_AUTH doesn't work anyway, is not defined currently,
probably will never be defined, and IMHO should not be defined.
But I'm sure you'll sleep better tonight, knowing that these bugs
are gone.
1998-07-22 04:33:12 +00:00
jmz
11635c9ea0 'remaining' must be declared off_t instead of int to avoid FPE when the size of
the file to transfer is very large (577985293894855484 bytes in the case I
encountered, but this was a buggy ftp server :-))
1998-07-19 00:01:24 +00:00
imp
b1f579ee51 o for unknown int21 functions, set the CY bit to indicate failure
o When reporting a int21 function we don't know about yet, report
  AH as the major and AL as the minor, as opposed to reporting AL
  as the major.
o Add support for 21:44:7: ioctl check output status.  We
  optimistically say that output is always ready.
o Add half support for 21:23: get file size.  We always now return
  failure.  This function isn't supported, according to the interrupt
  list, by the DOS box in windows, so I don't feel too bad.
1998-07-17 00:18:52 +00:00