Commit Graph

1311 Commits

Author SHA1 Message Date
ache
650249d0ad Even more buffer overflow fixes
Change CATMODE to 0644, because group man not used
Add immutable sbit to man binary, so if user even got man uid,
he can't replace man binary with fake one

Should go to 2.2

Submitted by: Marc Slemko <marcs@znep.com> with small editing by me
1996-12-19 10:45:16 +00:00
ache
d960df2235 Fix many buffer overflows, sprintf -> snprintf
Fix manpath dirs count overflow

Should be in 2.2
1996-12-18 20:55:26 +00:00
ache
7cb5d57391 Fix my popen fix: conditionalize saving/restoring of euid
Should be in 2.2
1996-12-18 20:07:49 +00:00
ache
3ea40235ca Drop man priveledges before popen and restore them after it, because
it is possible to execute system command from f.e groff

Should be in 2.2
1996-12-18 19:46:21 +00:00
mpp
9bc3e724e5 Correct some xrefs/mlinks. 1996-12-14 23:27:20 +00:00
jkh
0f43fda518 Somewhere along the way, multiple targets started working and nobody
noticed.
1996-12-14 16:40:05 +00:00
jkh
f3966ba4db Add another hateful global to libdialog (what the heck, there are already
so many).  For now, the only extended attribute implemented is NO ECHO,
useful for things like passwords.  See TESTS/input2.c for an example.
This should go into 2.2.
1996-12-14 16:14:21 +00:00
jkh
9c09bbeddd Line up some of these OK boxes properly again. 1996-12-12 11:05:59 +00:00
mpp
f18329fad9 Convert to mdoc format.
Submitted by:	Sandro Sigala <sandro@cat.local.net> as part of PR# 2134
1996-12-09 07:57:54 +00:00
mpp
5b30b8bc87 Minor formatting fixes.
Submitted by:	Sandro Sigala <sandro@cat.local.net> as part of PR # 2134.
1996-12-09 07:26:04 +00:00
mpp
1238b8c5ec Fix a spelling error. 1996-12-09 07:00:17 +00:00
mpp
35056c883f Convert man page to mdoc format.
Submitted by:	Sandro Sigala <sandro@cat.local.net> as part of PR# 2154
1996-12-09 06:59:17 +00:00
joerg
328d3170fd Merge tar's version of rtapelib, namely the changes as of rev 1.2.
Both files used to be identical previously, so they are again now.
1996-12-08 14:19:50 +00:00
asami
989f34c44f Remove /usr/ucb and /usr/local/mh/bin from MANPATH_MAP, we don't ship
the system with these (and the mh port doesn't install there either).

Comment out /usr/X386/bin in MANPATH_MAP, it is already commented out
in MANDATORY_MANPATH.

2.2 candidate, I guess.  I can't even imagine why these stuff were
still there!
1996-12-07 23:32:37 +00:00
markm
bf0e732e82 Fix libmp to be more Berkely compatible.
This is a very safe 2.2 candidate.

Submitted by:	Nick Sayer <nsayer@quack.kfu.com>
1996-12-07 13:03:29 +00:00
ache
1527a41396 Disable seteuid/setegid back, I overlook one place where
SETEUID chacked before SETREUID
1996-12-07 00:16:04 +00:00
ache
841181010a Enable seteuid, setegid 1996-12-06 22:59:56 +00:00
ache
ce5f1502b4 Not have saved setuid anymore 1996-12-06 22:55:31 +00:00
nate
2596f6cfca Added support for '-T' and '-B' (text and binary) file recognition by
peeking inside of Chris Torek's stdio library internals.  This is
similar to the code used for other systems, but didn't work on CT's new
implementation.

Submitted by:	Gary Kline <kline@tera.com>
1996-12-03 21:56:15 +00:00
jkh
239b648336 Allow baud rate of 230400.
Submitted-By: Andrew L.Davydov <davydov@ns.okbmei.msk.su>
1996-12-02 12:12:19 +00:00
bde
8c92e07907 Made the synopsis in the man page conform to the style guide.
Made the usage message conform to the style guide.

Don't use the implementation variable `__progname'.
1996-11-30 16:12:46 +00:00
ache
4e6f9d4616 Use LC_TIME=C 1996-11-26 08:45:28 +00:00
peter
ab076d3a60 make the Usage string match reality
Submitted by:  faried nawaz <fn@uidaho.edu>, PR#2075
1996-11-22 13:58:03 +00:00
obrien
9da763a417 Added reminder to edit the parent Makefile to add what you just imported. 1996-11-22 08:28:32 +00:00
joerg
bb1c47b9e6 Disable the inclusion of the Posix regexp stuff into libgnuregexp.
We've already got it in libc, but both libraries are incompatible
wrt. their header files and internal data structures.  This
incompatibility caused the expr(1) on the fixit floppy to mysteriously
dump core for the colon operator.

Strong 2.2 candidate, since it fixes the usage of MAKEDEV on the fixit
floppy.  I'd like to get it reviewed by somebody else though.

Observed by: andreas
1996-11-16 22:53:45 +00:00
jkh
5748956625 STL object files missing from libstdc++ - fix.
This closes PR#1975 and was on my TODO list, so I'm breaking my own "no more
commits before I fly!" rule and taking care of this, since it was at the
very top and Peter shamed me in to taking care of it.  This is definitely
a 2.2 candidate.

Submitted-By: Mark Diekhans <markd@Grizzly.COM>
1996-11-15 18:09:09 +00:00
jkh
80d0490b8e Gnu tar has problems creating an archive which contains a file with a hard
link to another file which has a long (>=100 char) name.  When listing such
an archive, the name of the link is truncated to 99 characters, and when
extracting such an archive, an error is reported because it is trying to
create a hard link to a file which doesn't exist.  This patch fixes that
problem and has also been sent to the GNU maintainers.

Closes PR#1992

Submitted-By: David Dawes <dawes@landfill.physics.usyd.edu.au>
1996-11-12 18:15:42 +00:00
dyson
2f9365fa02 Add the PPro %cr4 register to the supported registers in the
assembler.
1996-11-11 19:03:51 +00:00
jdp
0118326e5f Document that "ldconfig -m" rescans all directories previously
entered into the hints file, in addition to the directories named
on the command line.

2.2 Candidate.
1996-11-09 20:26:19 +00:00
jdp
81bba450d5 Fixed a bug in the handling of the directories in the search path
that is stored in the hints file.  If that search path contained
a non-existent directory (one, say, that had been removed), and
"ldconfig -m /a/perfectly/good/directory" was run, ldconfig returned
an error status without printing an error message.  This caused
some confusing bombs when installing ports, in particular.

I changed it so that non-existent directories from the stored search
path are silently ignored.  Only non-existent directories named
explicitly on the command line are treated as errors.  Also, a
diagnostic is printed if and only if an error status is returned.

In an unrelated fix, ldconfig now silently ignores any directories
named on the command line when the "-r" option is given.  Formerly,
these directories incorrectly made their way into the "search
directories" line of the listing.  It really should be an error to
specify directories together with "-r", but I don't have time to
fix the manual page in that way right now.

2.2 Candidate.
1996-11-08 02:12:40 +00:00
wosch
d459440903 Not hang in the downcase routine.
Submitted by: Trevor Blackwell tlb@viaweb.com

2.1.6/2.2 Candidate
1996-11-05 23:35:16 +00:00
steve
96c8a8c203 Change -I$(.CURDIR) to -I. in CFLAGS. As Bruce pointed out
$(...) is bad style and without -I. this program would not
compile unless ${.OBJDIR} == ${.CURDIR}.

Submitted by: bde
1996-11-04 16:14:16 +00:00
steve
979bb1227d Get rid of bogus #ifdef's. 1996-11-04 04:36:31 +00:00
steve
70ff03393a Upgrade to dc version 1.0 which comes bundled with
bc version 1.03.
1996-11-04 04:24:33 +00:00
steve
0be58f23d8 Cleanup -Wall warnings added with upgrade to version 1.03. 1996-11-04 03:59:35 +00:00
steve
ef6f1644ef Upgrade to version 1.03. 1996-11-04 03:55:26 +00:00
steve
c8ffccae0e Ok, instead of covering up the problem, let's fix it.
Reinstate the ability to use directories as input files
and make dc print an error message when trying to
lookup/set the value of an invalid register.

Suggested by: bde
1996-11-03 16:18:58 +00:00
joerg
c5c9264413 Print out permissions that could not be re-established using 0%o
instead of decimal.  Also, don't use the `l' modifier for something
that has just been cast to `int' anyway.

Remove various bogus pathnames to look up rsh(1) at.  Our rsh is in
/usr/bin, but never in /usr/usb, nor would it ever be called remsh...
Also, if it hasn't been found there, use execlp() to look it up.  the
latter is required for `weird' environments like a fixit floppy where
the regular /usr/bin hiearrchy is not avaiable.  tar should probably
do it similar to dump/restore, and use rcmd(3) instead of forking an
external process.
1996-11-03 14:47:52 +00:00
steve
01addb2f21 Don't allow filenames specified on the commandline
to be directories.
1996-11-03 03:31:33 +00:00
ache
d7aa9c874c Uncomment static from collate_range_cmp, no more in locale.h 1996-10-31 14:44:24 +00:00
ache
fe5b7d008f Remove unused file 1996-10-31 08:03:26 +00:00
ache
e39dc02ecd Localize it 1996-10-31 08:01:16 +00:00
ache
ae538a3fbd Replace collate_range_cmp call with its code (GNU version) 1996-10-31 07:45:15 +00:00
ache
71018396d1 Replace collate_range_cmp call by its code (GNU version) 1996-10-31 07:36:09 +00:00
ache
65a878920f Replace collate_range_cmp with its code (GNU variant) 1996-10-31 05:14:27 +00:00
gj
c9dd1b7e08 changes to gdb to:
1) add Garrett Wollman's trap frame resolving mods
2) make the `proc' command (kernel debugging) really work
3) allow use of a pid with the `proc' command (previously you had to
provide the address of the proc structure)

Unfortunately, the `proc' command won't work while doing remote debugging.
1996-10-29 21:52:21 +00:00
peter
8a114aa2ad oops, uninitialised variable.. -v mode depended on stack contents.
Submitted by: Masafumi NAKANE <max@wide.ad.jp>, PR#1920
1996-10-29 18:45:20 +00:00
joerg
b7bce82d8a Added ${DESTDIR} to the install target so bison.{simple,hairy}
will also appear in our releases. ;)

Forgotten by: peter
1996-10-27 21:50:59 +00:00
markm
60458c7a5c Fix the dependancies.
Thanks Andrey!
Submitted by:	ache
1996-10-24 18:03:53 +00:00
markm
136d3578ea Fix this so that dependancies work properly.
Thanks Andrey!
Submitted by:	ache
1996-10-24 18:00:43 +00:00