Commit Graph

1553 Commits

Author SHA1 Message Date
wosch
e394564f76 Cleanup exit status; 2: syntax error, 0: keyword matched,
$exit_nomatch: no keyword matched. Default value for variable
exit_nomatch is 0 because `man -k' don't like exit status != 0

Detected by: "Stephen J. Roznowski" <sjr@zombie.ncsc.mil>
1996-09-14 23:20:33 +00:00
bde
318d275f52 Use `install -C' instead of lots of shell commands to install ld.so
as atomically as possible.

(Immutable targets can't be renamed without opening a window when
neither the source nor the target is immutable.  Perhaps there
should be a rename_immutable syscall to do this if unsetting the
immutable flags would work.)
1996-09-12 03:42:54 +00:00
jfieber
7c3ec65d08 Add missing tmac.lj4 (for PCL driver) 1996-09-11 22:16:59 +00:00
peter
6880e6f5ca add bison, gperf 1996-09-10 14:04:37 +00:00
peter
386d81bc82 add bmakefiles 1996-09-10 14:03:12 +00:00
peter
b40a8eb87a Add bmakefiles to compile bison. 1996-09-10 13:23:46 +00:00
phk
4485fb3705 DISTDIR is a reserved variable for make release
s/DISTDIR/DIST_DIR/g
1996-09-09 18:05:29 +00:00
pst
8a74fcec83 long live groff 1996-09-08 01:30:16 +00:00
pst
feea886ab3 ...long live groff 1996-09-08 01:27:58 +00:00
pst
cc80b2b6b6 Initial revision 1996-09-08 01:21:19 +00:00
pst
e9f0e5e59a Groff is dead... 1996-09-08 01:09:04 +00:00
pst
0d8a61c2c4 Add Russian language / koi8-r font support.
Original author: ache
1996-09-08 00:28:32 +00:00
pst
129fbb1250 Add psroff command 1996-09-08 00:26:24 +00:00
jkh
b134bdd0bc Make button highlighting more visible on B/W displays. 1996-09-06 09:36:45 +00:00
bde
11546f4616 Fixed DPADD. 1996-09-05 17:16:10 +00:00
peter
1709bebc56 forgot to reconnect easy-import to the Makefile 1996-09-05 08:43:50 +00:00
jkh
caca6152f0 Collapse some common arrow key handling semantics from sysinstall into
PollObj(), simplifying code which uses it.
1996-09-01 08:16:00 +00:00
peter
ed05937487 missed these parts of Bruce's changes last time..
Submitted by: bde (again :-)
1996-08-30 21:57:39 +00:00
peter
48809684a1 consistancy fixup
Submitted by: "Philippe Charnier" <charnier@xp11.frmug.org>
1996-08-30 21:21:52 +00:00
peter
20369831f9 Too verbose, typo (I missed the -C :-)
Submitted by: bde
1996-08-30 19:26:49 +00:00
ache
ca925d6eb1 Add HAVE_STRING_H
Use -DHAVE_XXX=1 form to be visually consistent with config.h defines
1996-08-30 18:33:31 +00:00
peter
f50869a116 cmp -s || install -c -> install -C 1996-08-30 03:12:16 +00:00
peter
df9e2b70de cmp -s || install -c ==> install -C
Add -DHAVE_UNISTD_H -DHAVE_STDLIB_H to get these files
1996-08-30 02:13:06 +00:00
peter
ad88426736 oops!! back out last accidental commit! (gcc-2.7.2.1 tweak that I gave up
on..)
1996-08-30 02:12:08 +00:00
peter
3f709de38c cmp -s || install -c ==> install -C 1996-08-30 02:12:07 +00:00
wosch
ab0ebe585d [HISTORY] command appeared in Version 1 AT&T UNIX
Obtained from: A Quarter Century of UNIX, Peter H. Salus, page 41
1996-08-29 18:06:19 +00:00
wosch
174e4e5199 add Version 1 AT&T UNIX to .At macro 1996-08-28 22:37:00 +00:00
ache
f596cd4a0d Keep in sync with latest bash 1996-08-28 15:47:16 +00:00
bde
e4af5b3a59 Don't install zgrep twice. 1996-08-28 15:45:32 +00:00
wosch
0210175107 sync copyright with /usr/share/examples/etc/bsd-style-copyright 1996-08-27 20:04:45 +00:00
peter
bf3127c24b Ack! Don't install cvs.info.gz etc in /usr/bin... 1996-08-21 00:57:26 +00:00
peter
76e0a01054 Make the CVSvn.texi dependency hack work a little better.. 1996-08-21 00:35:53 +00:00
peter
d14a77b373 Oops, forgot to 'cvs add' this one. 1996-08-21 00:04:28 +00:00
peter
b10c7a0c1a Update to use the cvs-1.8.1 sources from src/contrib/cvs 1996-08-20 23:58:03 +00:00
joerg
614886b143 Ensure at least one space between the module name and the module path.
Detected by: asami
1996-08-20 20:37:47 +00:00
ache
981ea6eb0f Pick collate info fo ranges 1996-08-20 14:22:57 +00:00
wosch
dfb9d51f1f make install should not install any file in /etc. 1996-08-17 22:27:08 +00:00
ache
52d9ff24a9 8bit clean ctype fixes 1996-08-15 22:55:53 +00:00
ache
78da01bc66 Localization fixes 1996-08-15 22:49:46 +00:00
ache
f978cfe81f Localization fixes. 1996-08-15 22:11:36 +00:00
ache
9e33f9be1e Use collate for alpha character ranges 1996-08-13 14:33:05 +00:00
ache
c7f1966900 Use collate for alpha character ranges 1996-08-13 14:21:48 +00:00
jkh
36270d5e25 Reverse my patch which erroneously removed the library dependencies
for a library.  They're needed.
1996-08-13 12:46:10 +00:00
chuckr
41f0204afe Change in man page to document "-" flag as stdin/stdout, add
example showing how to move file hierarchies.
Reviewed by:	jkh
1996-08-13 00:13:49 +00:00
ache
1563880d65 Convert to newly aded collate compare function 1996-08-12 19:12:40 +00:00
ache
62d22e65bd Convert to newly aded collate compare function 1996-08-12 19:04:24 +00:00
ache
d0049dcf85 Use collate for alpha character ranges 1996-08-12 18:03:54 +00:00
ache
f25f152775 Pick collate info too 1996-08-12 17:55:41 +00:00
jkh
1a72bf5044 Throw some unnecessary dreck out of this Makefile. 1996-08-11 17:21:20 +00:00
asami
e28846e4e9 The default editor is "vi", not "/usr/ucb/vi". 1996-08-09 09:00:41 +00:00
jkh
34bc2a4794 Remove mkisofs from Makefile 1996-08-08 02:21:06 +00:00
jkh
f72c9860b7 bye bye mkisofs! 1996-08-08 01:52:52 +00:00
pst
f7a9854728 Bring xditview back from the grave (part 2).
Fix things so it *really* won't compile if the environment isn't there.

This commit has been sitting in my to-do list for 2 months.  Xditview
should never have been half-removed, so now it's back with a vengance
because we want to keep groff intact as a package.
1996-08-05 00:44:59 +00:00
pst
7674ddb3cd Bring xditview back from the grave (1 of 2 commits). 1996-08-05 00:42:06 +00:00
jdp
6a41219210 Check for, and disallow, duplicate tags in the "cvs import" command.
RCS cannot deal with duplicate tags; the extra one always becomes
inaccessible and useless.

This will prevent the common mistake of specifying the same name
for the vendor tag and the release tag.  The FreeBSD CVS repository
already contains zillions of files with this error.  We don't need
any more of them.
1996-07-20 02:08:56 +00:00
jkh
730964efd2 General -Wall warning cleanup, part I.
Submitted-By: Kent Vander Velden <graphix@iastate.edu>
1996-07-12 19:08:36 +00:00
jkh
d79c848b15 1. Remove some ancient bogons from when I initially added dialogMenuItem
support.
2. Have message boxes say "Continue" instead of "Exit"
1996-07-11 18:22:16 +00:00
jkh
eef290ac5f Fix a couple of whoopers which somehow went undetected until now. 1996-07-11 11:15:28 +00:00
mpp
27355588a4 Teach the mdoc .Os and .Fx macros about the FreeBSD 2.1.5 release. 1996-07-10 23:53:13 +00:00
ache
3dce5dd9c8 Restore my backed out changes (writting cats) because they was
not reviewed by pst in claimed period (1 week) and over 3 weeks passed.
CONSTRUCTIVE complaints welcome!
1996-07-09 15:37:26 +00:00
wosch
7dbcea9d7a add manpage getNAME(1) 1996-07-08 20:18:28 +00:00
wosch
5bcd6f63c6 Exits 0 on success, and 1 if no keyword matched.
Start $PAGER only if we find a manual page.
1996-07-08 20:03:18 +00:00
jkh
14ae3a02bd Add missing dialog_clear() calls. 1996-07-05 07:42:23 +00:00
wosch
5d78b2813d install fast version of zgrep 1996-07-02 23:01:01 +00:00
jkh
0e821da241 Round out the examples a little better in showing custom buttons in operation
more than once.
1996-07-02 01:03:56 +00:00
wosch
fdfd212c01 checklog - extract your commits from commitlogs archive 1996-06-30 11:51:41 +00:00
joerg
547a10923e Back out Nate's changes from rev. 1.6; our Perl has not been
vulnerable since it used setreuid() as opposed to Posix saved IDs.
The change broke setuid scripts.
1996-06-30 09:47:56 +00:00
nate
301b6a60ff Fix for " CERT Advisory CA-96.12 - Vulnerability in suidperl"
Submitted by:	The Perl Gods as described in the advisory
1996-06-26 19:12:25 +00:00
jkh
8eb37231d4 Bring in my changes for removing the pestilent obj links (unless you
really want them) from /usr/src.  This is the final version of the
patches, incorporating the feedback I've received from -current.
1996-06-24 04:26:21 +00:00
ache
c8f0ea9e6d Back out security changes until pst review them 1996-06-22 21:10:19 +00:00
ache
1649c2ccee Do not produce empty cat file in debug mode 1996-06-22 08:05:11 +00:00
gpalmer
35d746f862 Try to make it a bit clearer that our send-pr comes pre-configured
with a submitter-id, and that a new one is not required.
1996-06-22 06:59:25 +00:00
ache
2f65cd6080 Close security holes and restore suid bit
Restore writting cat's functionality
1996-06-21 18:49:36 +00:00
jkh
7de2b9e643 Nuke xditview. It was in the same category as xroach.
Screeched-For By: Michael Smith
1996-06-16 13:15:35 +00:00
ache
0f46e9e489 Increase performance using pre-calculated collate table 1996-06-10 01:32:40 +00:00
ache
3973c485bd Follow alphabetical order more closely, now ISO8859-1 characters
sorted properly too.
1996-06-09 18:55:57 +00:00
ache
f9785b8e52 Compare 8bit alpha characters alphabetically using strcoll() 1996-06-09 16:19:08 +00:00
bde
1a917672fb Stop using the alias pcb_ptd' for pcb_tcc.tss_cr3'. Use the (existing)
alias `pcb_cr3' instead.  That is still one alias too many, but is convenient
for me since I've replaced the tss in the pcb by a few scalar variables in
the pcb.
1996-06-08 11:03:19 +00:00
wpaul
d879c0ae3d Aw c'mon. I'm being driven mad by plenty of other things. I don't
need this.

Consider the following code:

	case 'O':
		output_filename = malloc(strlen(arg)+4);
		strcpy(output_filename, arg);
		strcat(output_filename, ".tmp");
		real_output_filename = arg;
		return;

The idea here is to malloc() a buffer big enough to hold the name of
a supplied file name, plus ".tmp". So we malloc() 'size of filename'
bytes plus 4, right? Wrong! ".tmp" is _FIVE_ bytes long! There's a
traling '\0' which strcat() gleefully tacks on _outside_ the bounds
of the buffer. Result: program corrupts own memory. Program SEGVs at
seemingly random times. Bill not like random SEGVs. Bill smash.

Know how I found this? I've been trying to bootstrap -current on my
2.1.0-RELEASE machine at work and I couldn't seem to get libc.a built
because the linker would intermittently blow chunks while executing
things like 'ld -O foo.o -X -r foo.o'. Since this is an initial
bootstrap version of ld, it was linked against the 2.1.0 libc, who's
malloc() behaves differently than that in -current.

Presumeably ld -O doesn't blow up in -current, otherwise someone would
have spotted this already. I don't know if this is a bug or a feature.

Anyway. I'm changing the strlen(arg)+4 to strlen(arg)+5. Bah.
1996-06-08 04:52:57 +00:00
gpalmer
7ff6b86884 Use setreuid instead of seteuid for permissions management 1996-06-02 19:59:26 +00:00
lars
a90d30f146 Reviewed by: joerg
Change man so that it will still display the man page even if it
cannot create a "cat" file.
1996-06-01 03:19:59 +00:00
phk
066017bb9c Add an option -O <filename> to ld. From the manpage:
-O filename
             Specifies the name of the output file.  The file is created as
             filename.tmp and when output is complete renamed to filename.
This allows us to:
	ld -O ${.TARGET} -x -r ${.TARGET}
1996-05-28 16:17:48 +00:00
phk
228b60073e Make rules reentrant. 1996-05-28 00:34:38 +00:00
jdp
c8c3761213 Zero out an unused field in a structure that is written to the output
file.  The field formerly contained random garbage, leading to spurious
differences between otherwise identical executables and libraries.

Submitted by:	Bruce Evans <bde@freebsd.org>
1996-05-27 18:06:02 +00:00
peter
66dcddf691 Remove this version, it now comes from libc. 1996-05-27 11:02:40 +00:00
peter
e992bf35c6 This version is no longer needed, and probably better off gone. It
tried to parse the format string to estimate how much space it needed.
It didn't know all of the formats..
1996-05-27 11:01:09 +00:00
jkh
a374210e63 There's no -p flag to our diff. 1996-05-26 22:27:52 +00:00
jkh
f6c941c509 Fix some argument ordering and redundancy bogons. 1996-05-26 21:56:24 +00:00
pst
3c5660b06a Remove setuid bit, it's not necessary. 1996-05-22 15:53:38 +00:00
pst
de752c81dc Call groff directly instead of using nroff shell script.
Submitted by:	peter
1996-05-22 15:53:19 +00:00
jdp
8e810e6d13 When checking to see whether a needed shared library has already
been loaded, look for a match by device and inode number if the
traditional pathname comparisons don't find a match.  This detects
the case in which a library is requested using two different names
which are really links to the same file, and avoids loading it
twice.

Requested by:	peter@freebsd.org
Reviewed by:	peter@freebsd.org
1996-05-22 06:34:12 +00:00
wosch
f7107b8cab New option -append: teach makewhatis to only add records, instead
of clobbering the entire database.

sort options in alphabetic order.

install manpage makewhatis.local.8
1996-05-22 00:57:42 +00:00
wosch
57113eed94 remove INFODIR?= /usr/share/info, already defined in bsd.own.mk 1996-05-22 00:29:40 +00:00
wosch
58428eee68 remove SHAREDIR?=/usr/share, already defined in bsd.own.mk 1996-05-22 00:26:57 +00:00
jkh
b0c581a731 Invoke proper gzip 1996-05-20 12:52:08 +00:00
wosch
5ef7c9e362 Makewhatis appended the filename to list of keywords if no keyword
matched the filename. Now put the list after the filename. E.g.

filename: vt220keys.1
Keyword: vt220

was: vt220(1), vt220keys(1)   - define SHIFTED [...]
now: vt220keys(1), vt220(1)   - define SHIFTED [...]
1996-05-14 23:07:05 +00:00
wosch
1474db4aa4 Bugfix: nested *?+ in regexp at /usr/bin/makewhatis line 286
Submitted by: invalid opcode <coredump@nervosa.com>

makewhatis.local - start makewhatis(1) only for file systems
                   physically mounted on the system
Running makewhatis from /etc/weekly for rw nfs-mounted /usr may kill
your NFS server -- all clients start makewhatis at the same time!
So use this wrapper instead calling makewhatis directly.

Pointed out by: Bruce
1996-05-12 21:02:04 +00:00
wosch
af3757a685 faster
average 2-3 x
	for option -h or -q 10 x

handle option -q and -L

better exit status, similar to grep (0: matches found 1: no
matches found 2: error)
1996-05-12 16:20:26 +00:00
wosch
9f795376b3 `mv'' -> `mv -f''
``rm'' -> ``rm -f''
so mv/rm may not ask for confirmation if you are not root
1996-05-07 23:19:49 +00:00
phk
189514aa41 PD_SHIFT -> PDRSHIFT
PGOFSET -> PAGE_MASK
1996-05-02 13:08:51 +00:00
phk
231d0e7bcf NBPG -> PAGE_SIZE
Avoid using the struct pte stuff.
1996-05-02 09:42:45 +00:00
joerg
8c5c90668a Fix a bogon that prevented easy-import from inserting the new module
name in alphabetical order (broken by my previous commit).

Pointed out by: asami
1996-04-28 12:32:43 +00:00
wpaul
5c33bf2a9e Toss the GNU yp_mkdb into the attic. 1996-04-28 04:08:22 +00:00
wpaul
0f35f42efa Remove yp_mkdb; it's going away.
Uhm, guys? This Makefile doesn't build anything anymore. The isdn
stuff under here isn't compiled. Is this normal?
1996-04-28 04:06:06 +00:00
jkh
87634a8e4d Fix the OK/Cancel accellerator bogon I introduced a few days back. 1996-04-28 02:13:07 +00:00
jkh
c223a865ba Fix what I just broke with DITEM_LEAVE_MENU 1996-04-27 07:09:41 +00:00
jkh
96b3d4b605 Fix a bogon with ok/cancel callback usage. 1996-04-27 01:52:15 +00:00
jkh
bd013f51f7 More custom hackery to deal with issues discovered in sysinstall. 1996-04-25 17:27:18 +00:00
jkh
826192f359 Allow some post-fire actions to be combined in ways that weren't
possible before.
1996-04-25 13:34:37 +00:00
jkh
84accdee09 alloca() was being called with highly bogus arguments due to brain
fade.  Fixed.
1996-04-25 01:50:18 +00:00
jdp
128b738939 When a local symbol that would normally be eliminated by "-x" or
"-X" must survive, because of references from relocations, don't
qualify the symbol name with the name of the input file.  This
saves some string space.  It makes libc_pic.a about 2.4% smaller.

Adapted from a suggestion by Bruce Evans.
1996-04-24 23:31:08 +00:00
jkh
43a1e330ac Change "Found end of tape. Load next tape ..." messages to say
"volume" instead of tape.  Running cpio off of /dev/fd0 and having
it say "give me the next tape" is kind of ludicrous.. :-)
1996-04-24 21:20:17 +00:00
jkh
70a317a618 Cosmetic tweaks. 1996-04-23 01:25:04 +00:00
jdp
fc8769b29b Add a couple of needed X11 libraries. Discovered when trying to build a
static version.
1996-04-22 20:24:56 +00:00
jdp
bdd60b12a4 Implement support for LD_PRELOAD in the dynamic linker. Remove
descriptions of LD_NO_INTERN_SEARCH and LD_NOSTD_PATH from the manual
page, since they are not supported.

Submitted by:	Doug Ambrisko <ambrisko@ambrisko.roble.com>
1996-04-20 18:29:50 +00:00
jdp
442c49eed8 Implement support for LD_PRELOAD in the dynamic linker.
Submitted by:	Doug Ambrisko <ambrisko@ambrisko.roble.com>
1996-04-20 18:27:56 +00:00
jkh
3530e10a1a Another bug fix for the DITEM_REDRAW case. 1996-04-20 01:56:06 +00:00
jkh
e1617c234c Make the DITEM_RECREATE option work properly. 1996-04-20 01:28:20 +00:00
jkh
2ee0ebfbc4 Fix a bug which did not properly bias checklist items by their scroll
factor.
1996-04-19 10:39:16 +00:00
jkh
a4dd56c7c9 Remove a long-standing window leak I just noticed. 1996-04-18 13:36:39 +00:00
jkh
adeba4991f Remove the special-case behavior for fire actions that return
DITEM_FAILURE - formerly they would simply act as an implicit "continue",
but this is wrong.  If you want this behavior, you should now return
with the DITEM_CONTINUE flag set.

Also make the semantics of DITEM_RESTORE quite a bit different - rather
than restore the screen back to pre-menu state, we restore the menu
itself.  This is more correct for a variety of reasons when dealing with
nested menus (whoops!).
1996-04-18 13:21:26 +00:00
jkh
24a0bc2e77 More changes to attempt to make this whole new dialog scheme more
robust.  The new "fire" actions, while affording signficantly more
interactivity to libdialog, come at a cost - if the fire action trashes
the screen then you're not going to be in Kansas anymore when you
come back to the menu and there had better be considerable extra
smarts in place for coping with such a situation.  These changes are my
attempt to do just that.
1996-04-16 12:17:27 +00:00
jkh
e9d88ac949 Remove some of the grot I added to try and save/restore screen contents.
This shouldn't be done here, it should be done in the client as needed.
1996-04-13 13:13:32 +00:00
markm
c6ad12c81b Attempt to break a $Log$ snafu where a *** /--- (minus space)
was fouling up a comment in the checked-out code.
1996-04-12 11:37:32 +00:00
markm
414db770b6 Priorities were broken. If there was an Index: line and ***/--- lines
with valid names, the ***/---names were taken first.
this broke eg:
Index: foo/Makefile
==========
RCS <blah>
Retrieving <blah>
diff <blah>
*** Makefile <blah>
--- Makefile <blah>

By trying to patch the Makefile in the _curent_ directory, rather than
the one in the foo/ directory.
1996-04-11 10:13:40 +00:00
jkh
377be65195 Save screen before calling any fire() callbacks - you never know what
they might do to the screen.
1996-04-08 10:28:07 +00:00
jkh
06a2488050 Refresh dialogs if a callback action fails. 1996-04-08 10:02:55 +00:00
mpp
3c57dc7753 Correct some man page xrefs, and some other minor changes to bring some
man pages up to mdoc guidelines and fix some minor formatting glitches.
Also fixed a number of man pages to not abuse the .Xr macro to
display functions and path names and a lot of other junk.
1996-04-08 04:18:31 +00:00
joerg
d3200e4c02 Make `easy-import' ready for vendor-branch imports.
I'm also going to install the new version on freefall.
1996-04-07 10:22:37 +00:00
jkh
318997a39f Make this properly respect obj dirs. 1996-04-07 03:34:35 +00:00
jkh
5b2f267378 Strive for a little more consistency with my examples. 1996-04-07 03:21:01 +00:00
jkh
def84715cb Add an `aux' field for some other gunk I'm doing. 1996-04-05 02:29:12 +00:00
bde
9d82199389 Moved the include of <sys/types.h> to before the include of <dirent.h>
so that mkisofs will compile when namespace pollution is removed from
<stdio.h>. (<dirent.h> recently became dependent on <sys/types.h>.)
1996-03-29 14:00:25 +00:00
joerg
d210241fb1 f2c's -krd does not work with f77 wrapper
Closes PR # gnu/1101

Submitted by:	kargl@troutmask.apl.washington.edu (Steven G. Kargl)
1996-03-27 07:46:04 +00:00
wosch
402f6f9dd1 Don't count character ``+'' as garbage (c++.1, flex++.1)
Submitted by: joerg
1996-03-21 18:17:41 +00:00
joerg
f80020a36d Fix an infinite loop for empty files in the archive, and handle
sparsely stored linked files correctly.

Submitted by:	haug@conterra.com (Brian R. Haug)
1996-03-18 23:08:29 +00:00
joerg
68ce2696d4 Several changes to the gethostname module:
. rename the function to main'gethostname, so it can be called unqualified,
. strip the trailing \0 character, closes PR # bin/1084,
. a better way to express an insane long string.

Submitted by:	Giles Lean <giles@topaz.nemeton.com.au> (except the 1st)
1996-03-18 21:42:31 +00:00
wosch
523d221c7f delete /usr/local/bin from PATH
Submitted by:	nate
1996-03-12 23:09:04 +00:00
wosch
2c4c35f314 delete /usr/ucb from PATH, move /usr/local/bin after /usr/bin 1996-03-12 21:42:40 +00:00
wosch
c4ba2b2013 remove ``whatis'' 1996-03-10 18:59:11 +00:00
wosch
2c859c527a share the code between apropos and whatis 1996-03-10 18:52:33 +00:00
markm
7bdc66338d Make "make tests" actually work. This is an extremely crude hack, but
I figure that as this is not part of any automated processes, WTH.
1996-03-04 16:06:03 +00:00
bde
e01d4a02fc Removed temporary file. 1996-03-01 15:18:55 +00:00
pst
eafacc8e84 Bring in some of Paul K's fixes for ldconfig from NetBSD-current.
This solves the problem of being unable to use shared libraries with dots
in their names before the ".so.<version>" code.

This should be brought into -stable.

There are more changes from Paul that look like they should be included,
but they change the format of the hints file, so I'm not going to bring them
in now (but we should in the future).

Obtained from: pk@netbsd.org
1996-02-26 02:22:33 +00:00
wosch
7bb6d59c0b print error messages to stderr
don't fail if search arguments contain spaces
allow programs from $PATH as PAGER
faster
1996-02-25 23:41:46 +00:00
bde
536f40a1eb Use ${ECHO} instead of echo' so that make -s' is fairly quiet. 1996-02-25 20:25:05 +00:00
joerg
ed7c1e1183 Add a small `gethostname' package. It uses __sysctl(2), and thus
avoids the kludgy backquotes that are required by now (`hostname`).

Usage:

require "gethostname.pl";
$thishost = &gethostname'gethostname;
1996-02-13 13:17:49 +00:00
mpp
534b61c9d5 Added a ".Fx" macro to the mdoc package. Usage:
.Fx version.rel { , . ; : ( ) [ ]

Example:

The
.Nm xyzzy
command first appeared in
.Fx 2.2 .

Produces:

The xyzzy command first appeared in FreeBSD 2.2.

Suggested by wollman.
1996-02-12 19:25:18 +00:00
wpaul
31da7a0876 Toss the old yppasswdd into the attic. 1996-02-12 14:50:23 +00:00
wpaul
e08314c755 Remove yppasswdd. (It's going away in a minute.) 1996-02-12 14:48:44 +00:00
nate
177e9b7f67 Merged in FreeBSD changes. 1996-02-12 06:45:43 +00:00
nate
a541000ba0 This commit was generated by cvs2svn to compensate for changes in r14049,
which included commits to RCS files with non-trunk default branches.
1996-02-12 06:39:49 +00:00
nate
4778ca641d Sort from GNU textutils 1.14 1996-02-12 06:39:49 +00:00
mpp
0796408d4a Another round of man page cleanups.
Down to only about 100 items left to cleanup! :-)
1996-02-12 04:57:03 +00:00
mpp
3aeb7f1d49 Correct a bunch of man page cross references and generally
try and silence "manck".

ncurses, rpc, and some of the gnu stuff are still a big mess, however.
1996-02-11 22:38:05 +00:00
phk
e00f61f832 gnumalloc is gone. 1996-02-11 18:16:11 +00:00
phk
6954927bf8 Remove libgnumalloc. 1996-02-11 18:15:10 +00:00
jmz
aaab93e985 Spelling fixes.
This is the man page which has been obtained from NetBSD, not the program.
1996-02-09 21:14:26 +00:00
mpp
279ebaafa0 Add some missing MLINKS, correct some cross references, correct some
file locations and some minor formatting/style problems.
1996-02-09 16:20:10 +00:00
mpp
ac7bc7dc91 Added some missing MLINKS for section 3 man pages.
Also corrected a few minor formatting errors, file location and cross
references in some of the section 3 man pages.

This shuts up a lot of the output from "manck" for section 3.
1996-02-09 00:45:45 +00:00
pst
51e7e0af33 Whoops, do not reference myself. 1996-02-08 21:12:08 +00:00
pst
d1015afec3 Close docs/1002 - remove bogus cross references 1996-02-08 21:10:07 +00:00
mpp
b21fcc5d6d Added entries for some info files that are being installed, but
not referenced in the main info menu:

cvs, cvsclient (cvs client/server stuff), diff/patch, gmp (GNU MP math
library).
1996-02-08 20:00:52 +00:00
jkh
40108b438e Minor tweak to this test. 1996-02-08 11:55:15 +00:00
pst
bfcdc42403 Fix bin/pr506 - uname from current system 1996-02-08 06:04:57 +00:00
jdp
df590699c9 Update the manual page to reflect the fact that an "Index" line
now takes precedence over a context diff header for determining
the name of the file to patch.
1996-02-07 23:47:55 +00:00
wosch
3a72155781 making <page>.1 from <page>.man 1996-02-06 23:48:03 +00:00
wosch
114c8c73e7 recursive grep, enabled with -DHAVE_FTS=1
enable mmap (-DHAVE_MMAP=1)
1996-02-02 06:45:26 +00:00
mpp
6e83fbce86 Correct some manual page cross reference errors. E.g. su is a section
one man page, not section eight.  This is the first round of such changes
and only fixes man pages in manual section one.
1996-02-02 00:26:12 +00:00
mpp
c96c09bb15 Fix the ".Os" macro to not display "BSD Experimental" if no arguments
are specified.  Just "BSD" is displayed instead.
1996-02-01 18:04:22 +00:00
mpp
f5c04e1d3e Remove groff/tmac/mm.diff - it is just a small file containing a context
diff that was probably mistakenly committed when the package was brought in.
1996-01-31 21:07:22 +00:00
mpp
7bec7dc2d1 Updated the ".St -ansiC" macro to report "ISO 9899: 1990 (``ISO C'')"
You can also specify -iso9899, or -isoC.  Use -ansiC-89 if you still need
the X3.159-1989 string reported.

Suggested by Garrett Wollman.
1996-01-31 20:55:35 +00:00
mpp
17a1a8bc22 Teach the .Os macro about FreeBSD and our releases. E.g.
.Os FreeBSD 2.1

will now display "FreeBSD 2.1" at the bottom of the man page,
instead of just "FreeBSD".

Added a bunch of missing standards to the .St macro.

4.4BSD is no longer "BSD Experimental".

Obtained from:  Partially obtained from NetBSD & 4.4BSD-lite2
1996-01-31 16:34:53 +00:00
wosch
1fef0f123f man.1 depend on man.man 1996-01-24 00:22:27 +00:00
wosch
0fcfb3b175 manpath.1 depend on manpath.man 1996-01-24 00:18:29 +00:00
joerg
6af0a2b5ef `-w' was actually a flag, not an option... 1996-01-23 21:27:39 +00:00
joerg
30e801a179 Add a hint that the -w flag to catman(1) is actually the command
wakewhatis(1) for us.

Closes PR # docs/966

Submitted by:	obrien@cs.ucdavis.edu (David E. O'Brien)
1996-01-23 21:09:39 +00:00
bde
551dbd40f2 Search section 9. 1996-01-23 14:03:26 +00:00
wosch
7aef4226f5 Add missing manpage zgrep.1 and links zegrep.1, zfgrep.1
Add missing links zegrep and zfgrep
1996-01-23 01:00:37 +00:00
mpp
7876d02b8c Change the reference to less(1) (which may not be installed) to more(1).
Closed PR# 847.
1996-01-22 09:25:45 +00:00
mpp
0d83078467 Rcsdiff incorrectly only allows one -L option to be specified.
Submitted by: Niklas Hallqvist <niklas@filippa.appli.se> via NetBSD-bugs
1996-01-20 07:51:25 +00:00
graichen
11666fb7b7 Reviewed by: jmz (Jean-Marc Zucconi)
added a simple man-page for our f77 (f2c/gcc driver)
1996-01-16 10:21:45 +00:00
jdp
b74213a26d This release is a moderate restructuring of the dynamic linker.
It addresses a number of problems that were present in earlier
versions.

The calls to the "init" and "fini" functions of shared libraries
have been reordered, so that they are called in a strictly nested
fashion, as is required for C++ constructors and destructors.  In
addition, the "init" functions are called in better order relative
to each other.  That makes the system more tolerant of C++ programs
which depend on a library's being initialized before its clients.

The dynamic linker is now more tolerant of shared libraries in
which dependencies on other shared libraries are incompletely
recorded.

Cleanup in the event of errors has been improved throughout the
dynamic linker.  A number of memory leaks were eliminated.

The warning message for a shared library whose minor version number
is too old has been clarified.

The code dealing with the "ld.so.hints" file has been cleaned up.
A bug that caused the hints file to be unmapped incompletely has
been fixed.  A different bug that could potentially cause the hints
file to be mapped on top of a loaded object has been fixed.

The code that searches for shared libraries has been cleaned up.
The searching is now more compatible with that done by SunOS and
SVR4.  Also, some unnecessary and useless searches of both the
hints file and library directories have been eliminated.

Reviewed by:	nate@freebsd.org
1996-01-13 00:15:25 +00:00
jdp
41258e1843 Split up the code so that a single directory can be searched, to
support some changes in the dynamic linker.  (This code is shared
by the dynamic linker.)

Reviewed by:	nate@freebsd.org
1996-01-13 00:14:53 +00:00
wpaul
48229bd2a1 Toss the old yppush into the attic. 1996-01-12 06:46:19 +00:00
wpaul
6b2a9ed784 Remove yppush; it's about to be replaced. 1996-01-12 06:43:33 +00:00
phk
cb187fb50a Another '-' needed for make release. 1996-01-11 17:49:55 +00:00
phk
7bf532e1cd Make the new realinstall target a little less draconian so that make release
doesn't fall over.
1996-01-11 17:27:16 +00:00
peter
23b746df7d Whoops. cvsinit was creating a modules file in CVSROOT with an
explicit (and wrong) /usr/local/bin/mkmodules path. We install in /usr/bin.

Noticed by: Faried Nawaz <fn@pain.csrv.uidaho.edu>
1996-01-11 05:56:35 +00:00
jdp
d1b95a21ba Install ld.so in a way that is safe even on a running system. 1996-01-11 03:45:55 +00:00
jkh
cb56a0376f Fix small bug with negative item_no. 1996-01-10 13:57:46 +00:00
mpp
93959e6d0e Correct the path used to invoke "pr" if the "-l" option to diff is
specified.  Also invoke "pr" with "-F" instead of the invalid "-f"
option.

Obtained from:  NetBSD-bugs mailing list (PR# 1896)
1996-01-10 10:41:47 +00:00
jkh
17c6a37b39 Refresh before calling selection hook. 1996-01-05 04:00:51 +00:00
jkh
4a90ebf4b4 Work around optimizer strength reduction bug.
Submitted by:	Richard Henderson <richard@atheist.tamu.edu>
Obtained from:	bug-gcc@prep.ai.mit.edu
1996-01-04 04:44:47 +00:00
joerg
eed534da47 Use cvs -Q release, instead of cvs release -Q, for removing the
modules module.
1996-01-02 07:39:03 +00:00
jkh
caa7284440 Create individual tests for each dialog feature. 1996-01-01 03:45:32 +00:00
jkh
ff9186df13 Next round of changes - make dialog boxes drawable at arbitrary X,Y locations
and add selection traversal callbacks so context-sensitive behavior can
even be implemented for individual menu items.  These work around the two
largest issues holding me back with some of my sysinstall changes.
1996-01-01 03:43:58 +00:00
peter
8fb2c1d48a recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
peter
3c2e7478e1 recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
peter
c3f352d4ad This commit was generated by cvs2svn to compensate for changes in r13122,
which included commits to RCS files with non-trunk default branches.
1995-12-30 19:02:48 +00:00
peter
ab124e78b0 recording cvs-1.6 file death 1995-12-30 19:02:48 +00:00
peter
6b42ee2475 This commit was generated by cvs2svn to compensate for changes in r13087,
which included commits to RCS files with non-trunk default branches.
1995-12-29 00:21:26 +00:00
peter
9be81c20f2 Import some ChangeLogs for the parts of cvs-1.6.3 that I missed
last time.  I should have pulled these in last time as it allows easier
comparison of "where we are at" relative to the current version from
cyclic.com.  Since this is in a 4.4BSD style tree layout, the changelogs
dont exactly match the file layout, but it's close enough.
1995-12-29 00:21:26 +00:00
bde
8dd11ac8d7 Enabled my FUNCTION_PROFILER_EPILOGUE code and added option
-mprofiler-epilogue to support it and documented the option.

cc.1:
Listed all the machine-dependent options, even the temporary
debugging ones.

invoke.texi:
Fixed the sense of -mno-ieee-fp.
Sorted the machine-dependent options.
1995-12-26 01:34:39 +00:00
peter
730abc9c16 Bah humbug!
Two uninitialised variables were causing a phkmalloc warning (another notch
in phkmalloc's belt) and caused the full rcstemplate to not be constructed
for commits on freefall.
1995-12-25 03:26:26 +00:00
wpaul
44fd84e554 Toss ypxfr into the attic. The new one should be appearing shortly. 1995-12-25 02:57:48 +00:00
wpaul
28f623f423 Turn of ypxfr. It's about to be nuked. 1995-12-25 02:56:12 +00:00
nate
57c9be3bac Fix the convert to 'death-support' script to work with un-modified
RCS sources.
1995-12-24 00:23:28 +00:00
markm
0232fca809 Remove games from the SUBDIR list. Gnu Chess is in ports now.
OK'ed by: jkh, phk, asami (and others)
1995-12-23 17:03:07 +00:00
jkh
6b3eb3264f Add another test to round out the radiolist dialog suite.
Add more comments and attempt to make everything just that much
more understandable.
1995-12-23 14:53:07 +00:00
jkh
94056752b6 Add a reference to dialog(3) now that the man pages exist. 1995-12-23 01:11:54 +00:00
jkh
e39581c8f3 o Add some test code. 1995-12-23 01:10:32 +00:00
jkh
09146e9c17 Add changes to:
o Support a new, fully backwards-compatible API for controling
	  individual items in dialog menus.
	o Write a man page.
	o Add some test code.
1995-12-23 01:10:20 +00:00
jkh
7b8e503ac7 Document the -k and -w flags.
Submitted by:	Gary Jennejohn <gj>
1995-12-19 23:42:56 +00:00
peter
6fb31f3d8c A one line hack to prevent 'cvs checkout -c' from triggering a nasty bug
in GNU getopt().  ('cvs checkout -c' cats the modules file to stdout)

Noticed by: Stefan Esser
1995-12-18 18:58:00 +00:00
peter
4e5c405d9b Re-connect cvs to gnu/usr.bin/Makefile..
(Note that you need to have either done a 'make world' or explicitly
 run a 'make distrib-dirs' (in src/etc) to get some needed directories in
 /usr/share/examples/cvs to be built.)
1995-12-18 08:04:53 +00:00
wpaul
5cb69655f9 Turn off ypserv. It's about to be replaced by a new non-GPL version. 1995-12-16 20:18:16 +00:00
peter
d20b5a1c02 Fix yp_mkdb to do what the code suggests it's trying to do..
The code, as written, appears to load the new database data into a new
hash file and renames the two.

Due to a run of bugs and lack of error checking, it's going a whole
mess of unlink() and rename() calls that are failing.  It only
worked in the first place because the data was being inserted into a
"live" hash file.  (I wonder how much stale data has assumulated?)

Submitted by: Laurence Lopez <lopez@mv.mv.com>
1995-12-11 13:56:07 +00:00
peter
0e4700269e Whitespace cleanup, add forgotten file to CLEANFILES.. 1995-12-11 04:24:11 +00:00
peter
0556d40e08 Make CVS use /usr/lib/libmd.a rather than supplying Yet Another Copy(TM)
of md5.[ch].  Note that minor mods were made to md5.h to support this,
so a reinstall of lib/libmd is needed before building this cvs.
1995-12-11 02:22:34 +00:00
peter
ae2ac85cb2 Tweak the install targets so that the installs are done in the right place
relative to the SUBDIR recursion.. Otherwise, the results look really odd.
(basically changed a couple of afterinstall's to beforeinstall's)
1995-12-11 01:58:53 +00:00
peter
daf5d50e73 Argh! Botch alert! I dont *believe* I did this....
(I think I'll blame it on Tristan! :-)
1995-12-11 01:27:18 +00:00
peter
d622e0337c Fix a couple of build warts that I broke... 1995-12-11 01:23:45 +00:00
peter
bb1645a74e Bring in two files that I missed.. These are of no real value unless
you are developing CVS code, but they were already in the tree so we
might as well have the right versions.. :-)
1995-12-11 00:48:21 +00:00
peter
add41e386d This commit was generated by cvs2svn to compensate for changes in r12757,
which included commits to RCS files with non-trunk default branches.
1995-12-11 00:48:21 +00:00
peter
a2a244cb32 Attach easy-import.pl (repostory copied from easy-import.perl) and
use the xPERL_PATHx substitution like the rest of the .pl stuff.
1995-12-11 00:45:43 +00:00
peter
2d8c42ad82 Clean out some files which are no longer part of CVS... 1995-12-11 00:28:08 +00:00
peter
3cd0ec7e5b First round of the post-import cleanups... 1995-12-10 23:10:40 +00:00
peter
c3c3e9aba6 Import CVS-1.6.3-951211.. Basically, this is the cvs-1.6.2 release
plus a couple of minor changes..

Some highlights of the new stuff that was not in the old version:
 - remote access support.. full checkout/commit/log/etc..
 - much improved dead file support..
 - speed improvements
 - better $CVSROOT handling
 - $Name$ support
 - support for a "cvsadmin" group to cut down rampant use of "cvs admin -o"
 - safer setuid/setgid support
 - many bugs fixed.. :-)
 - probably some new ones.. :-(
 - more that I cannot remember offhand..
1995-12-10 22:31:58 +00:00
peter
9c0211c38d This commit was generated by cvs2svn to compensate for changes in r12752,
which included commits to RCS files with non-trunk default branches.
1995-12-10 22:31:58 +00:00
peter
54f5dbeb80 Import CVS-1.6.3-951211.. Basically, this is the cvs-1.6.2 release
plus a couple of minor changes..

Some highlights of the new stuff that was not in the old version:
 - remote access support.. full checkout/commit/log/etc..
 - much improved dead file support..
 - speed improvements
 - better $CVSROOT handling
 - $Name$ support
 - support for a "cvsadmin" group to cut down rampant use of "cvs admin -o"
 - safer setuid/setgid support
 - many bugs fixed.. :-)
 - probably some new ones.. :-(
 - more that I cannot remember offhand..
1995-12-10 22:31:58 +00:00
peter
2dbe609ba8 Import CVS-1.6.3-951211.. Basically, this is the cvs-1.6.2 release
plus a couple of minor changes..  

Some highlights of the new stuff that was not in the old version:
 - remote access support.. full checkout/commit/log/etc..
 - much improved dead file support..
 - speed improvements
 - better $CVSROOT handling
 - $Name$ support
 - support for a "cvsadmin" group to cut down rampant use of "cvs admin -o"
 - safer setuid/setgid support
 - many bugs fixed.. :-)
 - probably some new ones.. :-(
 - more that I cannot remember offhand..
1995-12-10 22:31:43 +00:00
peter
a68795603c This commit was generated by cvs2svn to compensate for changes in r12750,
which included commits to RCS files with non-trunk default branches.
1995-12-10 22:31:43 +00:00
peter
20843989b1 Disconnect 'cvs' from SUBDIRS in preperation for import of new version.. 1995-12-10 21:50:02 +00:00
wpaul
54aaf5fd0c Close PR #853. The services.byname case needs to greate keys in the form
'service/transport' (i.e. telnet/tcp) instead of just 'service.'
1995-12-09 19:25:00 +00:00
peter
9ca0b4c9b4 Restore white spaces to original cvs-1.4Alpha2 state so that we can
deal with the cvs-1.6 (and beyond) imports more cleanly and safely.
1995-12-03 14:17:06 +00:00
ache
275c944c84 Add fixes from bash beta
Back out trailing spaces changes
1995-12-03 00:09:12 +00:00
jkh
d1e63e144e gets() -> fgets() 1995-12-01 08:26:36 +00:00
jkh
65334cb4cf gets() -> fgets() 1995-12-01 08:19:12 +00:00
jkh
dcdba74efa Comment out /usr/X386/man entry from MANDATORY_MANPATH - it's obsolete.
Submitted by:	mi@ALDAN.star89.galstar.com
1995-11-28 19:03:20 +00:00
bde
77eaf99dd6 Fixed beforeinstall rule. .CURDIR was spelled .SRCDIR.
Changed beforeinstall rule to use `install -C' instead of `cmp -s'
and `install -c'.  `install -C' has exactly the right semantics
for installing headers and should be used elsewhere.
1995-11-26 09:51:42 +00:00
peter
420160f83d Part two of a repository operation to sort out the libmp/libgmp builds.
After this commit, you should be able to build libmp and libgmp independently
and without being forced to do a make depend first..
1995-11-25 00:14:03 +00:00
markm
4504ec3c14 BBild libgmp from the sources already in ../libmp. 1995-11-13 19:13:19 +00:00
markm
68453fe892 Add libgmp. 1995-11-13 19:12:10 +00:00
markm
16f9bc5625 Make the tests work. libmp and libgmp must be installed for this
to work.
1995-11-13 18:42:24 +00:00
markm
0589c43eb0 Build the TeXinfo manual 1995-11-13 18:40:45 +00:00
markm
6814756192 1) Add the doc/subdirectory - this will get gmp.texi installed
2) Clean up the Makefile - libgmp is coming!
1995-11-13 18:39:23 +00:00
markm
813c396d87 Add libmp 1995-11-12 15:03:50 +00:00
markm
17b04fec17 BMake the multiprecision library, and fix as many of the -Wall warnings
as is now feasable.
1995-11-12 14:55:48 +00:00
markm
d938bb7883 GNU MP (Multiprecision) library. This is needed by secure RPC (being
done by Bill Paul) and various other BSD programs.
Obtained from:FSF
1995-11-12 14:40:41 +00:00
markm
714c494345 This commit was generated by cvs2svn to compensate for changes in r12234,
which included commits to RCS files with non-trunk default branches.
1995-11-12 14:40:41 +00:00
nate
ed6a6a6567 Changed the terminology for what used to be called the "memorizing"
vector.  Now it is called the "symbol caching" vector.  This was made
possible and unconfusing by other changes that allowed me to localize
everything having to do with the caching vector in the function
reloc_map().

Switched to alloca() for allocating the caching vector, and eliminated
the special mmap-based allocation routines.  Although this was motivated
by performance reasons, it led to significant simplification of the
code, and made it possible to confine the symbol caching code to the
single function reloc_map().

Got rid of the unnecessary and inefficient division loop at the
beginning of rtld().

Reduced the number of calls to getenv("LD_LIBRARY_PATH") to just 1, on
suggestion from <davidg@root.com>.

Added breaks out of the relocation loops when the relocation address is
found to be 0.  A relocation address of 0 is caused by an unused
relocation entry.  Unused relocation entries are caused by linking a
shared object with the "-Bsymbolic" switch.  The runtime linker itself
is linked that way, and the last 40% of its relocation entries are
unused.  Thus, breaking out of the loop on the first such entry is a
performance win when ld.so relocates itself.  As a side benefit, it
permits removing a test from md_relocate_simple() in
../i386/md-static-funcs.c.

Unused relocation entries in other shared objects (linked with
"-Bsymbolic") caused even bigger problems in previous versions of the
runtime linker. The runtime linker interpreted the unused entries as if
they were valid. That caused it to perform repeated relocations of the
first byte of the shared object.  In order to do that, it had to remap
the text segment writable.  Breaking out of the loop on the first unused
relocation entry solves that.

Submitted by:	John Polstra <jdp@polstra.com>
1995-11-02 18:48:15 +00:00
ache
ace51e8ffc Add setlocale LC_CTYPE 1995-10-31 08:44:21 +00:00
peter
98564182f4 Remove the $ Log: ... $ lines from the comments in the files that had
them.  Good greif! This was causing an unimaginable amount of brain-damage!
The mere fact that I griped about $ Log $ in a previous commit (misspelled
deliberately here) meant that the blasted thing was being expanded from the
middle of the log entry as well as the beginning, and using " * All these"
as the comment leader..  AARGH!!!!  We *really* need to prevent these from
being expanded! (or remove the magic identifier from the source).
1995-10-29 22:06:48 +00:00
peter
cd0669e585 Recover the -K option to co, for handling selective keyword expansion. 1995-10-29 19:31:11 +00:00
peter
11acdf9271 Restore phk's changes from 1.3 - 1.5.. Adds a -v switch to rlog to get it
to print the current version of the RCS files.
1995-10-29 18:07:04 +00:00
peter
8d89569097 Restore nate's change from rev 1.2; improve readability of the rlog output
(adds a short row of dashes in a place that CVS and RCS dont mind)
1995-10-29 17:56:28 +00:00
peter
3ad56373bb Build and install diff.info..
As Bruce said, this is a little bogus, it'd be nice if bsd.prog.mk knew
about .texi in the same way as it does man pages..

Submitted by: bde
1995-10-29 09:08:35 +00:00
peter
7e662b2efd Import diff-2.7's diff.texi which I left out last time.
Suggested by: bde
1995-10-29 08:52:27 +00:00
peter
827c6af86c This commit was generated by cvs2svn to compensate for changes in r11905,
which included commits to RCS files with non-trunk default branches.
1995-10-29 08:52:27 +00:00
peter
dc4319c748 AARGH!!!!
Fix the hard-coded pathname to /usr/local/bin/co and /usr/local/bin/merge
that I missed...
1995-10-29 08:35:51 +00:00
peter
822bceb624 First part of import conflict merge from rcs-5.7 import.
All those $Log$ entries, combined with the whitespace changes are a real
pain.

I'm committing this now, before it's completely finished to get it compiling
and working again ASAP.  Some of the FreeBSD specific features are not working
in this commit yet (mainly rlog stuff and $FreeBSD$ support)
1995-10-28 21:50:58 +00:00
peter
f88f3a6867 Import rcs-5.7, required for full support of cvs-1.6.
This is going to be pretty messy....  Although the vendor import was correct,
both the vendor and release tags are the same "gnu"... :-/
Getting cvs to choose the correct one might be rather interesting...
1995-10-28 21:07:39 +00:00
peter
9d7e3d8dc0 This commit was generated by cvs2svn to compensate for changes in r11891,
which included commits to RCS files with non-trunk default branches.
1995-10-28 21:07:39 +00:00
ache
a5dc065b83 Add setlocale LC_CTYPE 1995-10-28 19:44:29 +00:00
ache
32ea54ed8e Add setlocale LC_CTYPE
Fix ctype functions for 8bit charsets
1995-10-28 19:29:58 +00:00
ache
88603439e6 Add setlocale LC_CTYPE
Fix icase searches for 8bit charsets
1995-10-28 19:16:14 +00:00
peter
c37ff62e9b Merge in/out comflicts caused by Diffutils-2.7 import...
In future, it should be as easy as "update -j ....", but this time I had to
go over it by hand.  Not nice..
1995-10-28 19:11:01 +00:00
peter
27378b5694 Import GNU diffutils 2.7
Note, this is going to be messy.. 2.3 was vendor-branch imported, while
2.6 was done as a delta. Sigh.  I'm importing this on a vendor branch so
that it will be easier to deal with next time..

(cvs-1.6 wants rcs-5.7, and rcs-5.7 suggests diffutils-2.7)
1995-10-28 18:51:33 +00:00
peter
72fa7ec057 This commit was generated by cvs2svn to compensate for changes in r11884,
which included commits to RCS files with non-trunk default branches.
1995-10-28 18:51:33 +00:00
ache
7b27d202bd Add setlocale LC_CTYPE 1995-10-28 14:30:50 +00:00
ache
32a74bcb33 Simplify FILES section in the same manner like groff manpage
does, add more koi8-r references
1995-10-28 12:56:05 +00:00
ache
7f194d4795 Add reference to koi8-r device, fix formatting a little 1995-10-28 12:49:38 +00:00
ache
6e0bfb8799 Add reference to koi8-r device 1995-10-28 12:41:56 +00:00
wpaul
627b063e66 Add preliminary support for netgroup.byuser and netgroup.byhosts maps.
(I have to make another pass through here soon; awk doesn't handle
lines broken up with '\', which can sometimes appear in netgroup maps.)
1995-10-26 18:00:35 +00:00
ache
f750dd362a Add setlocale LC_ALL 1995-10-26 11:12:39 +00:00
ache
573cc2fc29 Add setlocale LC_ALL 1995-10-26 10:59:43 +00:00
nate
771663de9b Run-time linker speedups - Round One
Implemented symbol memorizing to reduce the number of calls to lookup(),
making relocation go faster.  While relocating a given shared object,
the dynamic linker maintains a memorizing vector that is directly
indexed by the symbol number in the relocation entry.  The first time a
given symbol is looked up, the memorizing vector is filled in with a
pointer to the symbol table entry, and a pointer to the so_map of the
shared object in which the symbol was defined.  On subsequent uses of
the same symbol, that information is retrieved directly from the
memorizing vector, without calling lookup() again.

A symbol that is referenced in a relocation entry is typically
referenced in many relocation entries, so this memorizing reduces the
number of calls to lookup() dramatically.  The overall improvement in
the speed of dynamic linking is also dramatic -- as much as a factor of
three for programs that use many shared libaries.

Submitted by:	jdp@polstra.com "John Polstra"
1995-10-25 16:16:35 +00:00
torstenb
a31022b303 fix bad dependencies (LIBMATH -> LIBM) 1995-10-25 15:08:21 +00:00
torstenb
2e3199534a Fix a typo ("-It Fl" to ".It Fl")
document the "-P" switch

Obtained from: the NetBSD bugs mailinglist
1995-10-25 02:17:44 +00:00
ache
8c0bb648fb Remove LD_NOSTD_PATH implementation, it isn't works and
can cause some problems.
Suggested-by: davidg
1995-10-24 06:48:16 +00:00
wpaul
eee514a278 Add support for publickey.byname map (turned off by default since
we haven't imported the Secure RPC stuff yet).
1995-10-23 16:13:53 +00:00
wpaul
a78182e121 Eek! When we encounter a '+' or '-', the resulting action should be
'continue' rather than 'break'.
1995-10-23 16:03:41 +00:00
bde
b648db0f8f Remove includes of the wrong ../Makefile.inc (one was commented out, the
other was in the wrong order).
1995-10-22 18:28:10 +00:00
joerg
1d53384641 Merge version 1.04 into HEAD. 1995-10-22 14:04:37 +00:00
joerg
8c0113b17c This commit was generated by cvs2svn to compensate for changes in r11646,
which included commits to RCS files with non-trunk default branches.
1995-10-22 10:11:03 +00:00
joerg
4d9ef68f7f Import version 1.04 of mkisofs.
This is a vendor-branch import by now, the merge with our regular
tree will happen later.

Obtained from: Eric Youngdale of Yggdrasil Computing Inc.
1995-10-22 10:11:03 +00:00
bde
5e4533fe69 Remove private maninstall target. It will conflict with the one in
bsd.man.mk when I change the latter to use `::' instead of `:'
dependencies.  (bsd.man.mk is included because NOMAN isn't defined.
The maninstall target is supposed to be private to bsd.man.mk so
bsd.man.mk doesn't bother testing if it is already defined.  The
test for redefinition in Makefile.dev was too early to do anything.)

Change install target to a beforeinstall target (perhaps there should
be an `extrainstall' target so that Makefiles don't have to abuse
one of beforeinstall, install, realinstall or afterinstall).  Don't
bother testing for the install target already being defined.  Rewrite
the shell loop as a make loop (this reduces the time for installing
groff from 78s to 65s here).
1995-10-21 16:26:38 +00:00
ache
feda6011c3 if uid != euid or gid != egid unsetenv("LD_NOSTD_PATH") too 1995-10-21 14:52:48 +00:00
bde
881e8e1839 Rewrite and merge some bogus makefiles to create Makefile.shprog. Just
include this in the old makefiles.

I intended to fix only the private maninstall rule but found a lot of
other bogons and bugs:
- strong resistance to installing the program anywhere other than
  ${DESTDIR}/usr/bin (first, ../../Makefile.inc was not included.
  ../Makefile/inc was redundantly included instead.  Second, /usr/bin
  was hard coded).
- the owner, group and permissions were hard coded.
- the man page was installed twice.
- MANDEPEND wasn't necessary.
- calculations to determine the obj directory weren't necessary.
- there were unnecessary private rules for depend, rcsfreeze and tags.
  We don't support the rcsfreeze target.
- there was an extra, bogus, rule for `all'.

The final version uses suffix rules to eliminate the remaining verboseness
involving directories (${.CURDIR}) and to potentially allow multiple
shell programs in one directory.
1995-10-21 14:27:19 +00:00
dg
6855a7ee1e When building -static, link with special scrt0.o instead of crt0.o. This
reduces the text size by about 1.5Kbytes.
1995-10-18 04:28:31 +00:00
wpaul
c11fb4caff A one-liner:
We already check for (and reject entries with) '+' or '-' as the first
character of the key side of the key/data pair; we should check the data
side too. (Letting spurious +/- entries into the NIS maps is bad karma.)
1995-10-11 14:30:51 +00:00
gclarkii
3d99fa02c6 Change UNIX to FreeBSD.
I got tired of see ``UNIX System Managers Manual''

NOTE: There still a couple of UNIXs left in here.  There deal with the
documents.  We may want to change there also, even though VERY little of there
even pertain to FreeBSD.
1995-10-10 11:34:10 +00:00
nate
f30d5c5b04 This is a FreeBSD manpage, not a NetBSD manpage. :) 1995-10-05 05:16:52 +00:00
wollman
37032df4d8 Make cc1plus smaller and faster as was done for cc1 by linking static. 1995-10-02 16:37:16 +00:00
dg
f1e6db2117 Build cc1 nonshared. This actually results in it consuming 40K *less* disk
space and improves compile times by a few percent.
1995-10-01 20:16:27 +00:00
bde
7b21039a71 Fix checks for open() failing. open() may successfully return 0.
ld.c:
Fix a an error message that said that open() failed after fopen() failed.
1995-09-28 19:43:22 +00:00
bde
e3ddcec186 Intitialize $(tmac_s_ and $(tmac_m). Use the initialized variable $(device)
instead of the uninitialized one $(DEVICE).

I hoped these changes would fix some of the large runtime macro processing
bugs, but they seem to only fix some small build-time macro substitution
bugs.  E.g., `man ms' now tells you to invoke groff with the flags `-ms'
instead of the bogus flags `-m'; `man groff now tells you that the default
device is `ps' instead of the bogus device `'.
1995-09-28 19:31:07 +00:00
nate
978778a652 Make the error message more readable when 'ld.so' cannot locate a needed
shared library.  Formerly, the message looked like this:

    ld.so: run: libjdp1.so.1.0: Undefined error: 0

The new message looks like this:

    ld.so: run: Can't find shared library "libjdp1.so.1.0"

(Where "run" is the name of the program being executed.)

Submitted by:	jdp@polstra.com (John Polstra)
1995-09-27 23:17:33 +00:00
nate
b2eb280985 Fixup the "ld.so failed" message for the case when ld.so finds undefined
symbols.

An easy example to see this is to develop an X program which links
against Xt, but doesn't add -lX11 to the link line.  It will link fine,
but cause run-time errors by ld.so because of missing symbols used by Xt
defined in X11.  This patch makes the errors more readable.

Submitted by:   jdp@polstra.com (John Polstra)
1995-09-27 23:14:08 +00:00
wpaul
c68079d5af phkmalloc strikes!
#ifdef out a number of calls to free() left over from the original
GNU ypserv implementation. As near as I can tell, the Berkeley DB
package does its own garbage collection, hence the caller doesn't
have to worry about free()ing the memory returned in the DBT
structures during lookups (I'm still not 1005 sure about this:
the DB code is very hard to follow. I must use dynamically
allocated memory since you can retreive arbitrarily large records
from a database, but I'm not sure where it ends up letting go
of it). This was not true with GDBM; you had
to do your own garbage collection.

The general rule is that if you allocate memory inside an RPC
service routine, you have to free() it the next time the routine is
called since the underlying XDR routines won't do it for you.
But if the DB package does this itself, then we don't need to do
it in the main program.

Note that with the original malloc(), there were never any errors
flagged. phkmalloc complained quite loudly.
1995-09-24 17:21:52 +00:00
phk
d6ac54a0db Stop using gnumalloc. 1995-09-22 14:14:32 +00:00
ache
10fa447e27 Make it sgid dialer to read lockfiles 1995-09-15 00:05:07 +00:00
ache
5dadbad941 Make cu/uucico sgid dialer to help to work with others lockfiles,
they can't open root.dialer lockfiles in old variant.
1995-09-14 22:18:39 +00:00
gibbs
4da885ab00 Give "Index" specified filenames preference over other filenames specified
in the diff.  This makes it so that diffs containing files in different
subdirectories that have the same name not patch the same file.  For example
a diff with patches to Makefile, des/Makefile, usr.bin/Makefile would attempt
to patch Makefile three times.
1995-09-14 04:33:35 +00:00
bde
05ba622830 Output a zero rdev except for bdevs, cdevs, fifos and sockets. This
stops regular files with unrepresentable rdevs from being rejected
and makes the output independent of unpreservable metadata.
1995-09-12 16:38:16 +00:00
joerg
fa1e84085a Fix a few minor bugs in makewhatis.
Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-09-10 13:05:52 +00:00
joerg
13c37952a1 Re-initialize the terminal after ^Z / fg.
Submitted by:	thomas@ghpc8.ihf.rwth-aachen.de (Thomas Gellekum)
1995-09-10 13:04:45 +00:00
peter
d1552326a4 Put a bandaid on the NULL pointer dereference caused by doing an
"update -jHEAD" when a file has been added on the specified tag.

It doesn't actually make cvs 'handle' it, it just stops it from dying
and leaving stray locks and other wreckage.

This was suggested by the CVS maintainers, and is in cvs-1.5.1-950901.
1995-09-03 05:05:31 +00:00
jkh
4c7f1a709d Add MLINKS for sendbug manpage.
Suggested by:	paul
1995-08-29 13:01:40 +00:00
jkh
5563227044 Link send-pr to sendbug. sendbug is back! hurrah! 1995-08-28 23:16:28 +00:00
joerg
b6d8c98f61 Import Paul Kranenburg's man page for ld.so (aka. rtld).
Obtained from:	NetBSD
1995-08-26 13:17:39 +00:00
pst
416f3402c6 Clean up compilation warnings. 1995-08-23 05:37:24 +00:00
pst
c16c80c96b Fix compilation warnings. 1995-08-23 05:35:03 +00:00
ache
30ce7d007c Upgrade 1.06 -> 1.06.1 1995-08-21 11:28:26 +00:00
ache
b05c688b22 Fix LEGAL_GRADE determination, isalnum can return true when national
environment is active
1995-08-19 22:08:38 +00:00
ache
b06a057b82 Commit delta: current -> 1.06 + FreeBSD configuration 1995-08-19 21:30:30 +00:00
joerg
61bcf2851a Reset the umask before creating the output file; otherwise running
ldconfig as root with a restrictive umask yielded ld.so.hints
unreadable by the world (and thus useless).
1995-08-16 06:31:50 +00:00
peter
8c03fe0f4d This changes two things when importing an unreadable file:
1: It stops invalid files being created in the cvs tree
2: It stops the import from aborting without mailing a commit message..

The first is simple, it opens the file for reading before touching the
repository, and the second catches the pieces when it hits an unreadable
file rather than just aborting mid-way through, leaving the repository in
a bit mess.

Reviewed by:	rgrimes
1995-08-15 20:38:00 +00:00
wpaul
debc540217 Fix bug pointed out by user on c.u.b.f.m: commenting out NOPUSH=true
for master/slave configuration doesn't work because DOMAIN isn't
correctly defined.
1995-08-11 13:55:42 +00:00
ache
9610e91949 Replace ctime by strftime %c to use national representation 1995-08-08 03:20:25 +00:00
ache
f8cf8863f0 Replace ctime by strftime %c to use national representation 1995-08-08 03:07:15 +00:00
bde
1d5c50aac7 Install source files with the -c flag, not with the optional flag ${COPY}. 1995-08-06 12:37:41 +00:00
bde
6579f34131 Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.

Previously I missed dozens of Makefiles that skip the install after
using `cmp -s' to decide that the install isn't necessary.
1995-08-06 12:24:38 +00:00
joerg
4d820dd715 Make only a -r' flag (as opposed to -r*') special within the
LINK_SPEC.  This solves a problem with the f77 frontend where
aproviding the -r8 option (use REAL*8) caused `cc' to ``forget'' to
pass the entry point to the linker.

Closes PR #gnu/644: f77 -r8

Reviewed by:	watanabe@komadori.earth.s.kobe-u.ac.jp (Takeshi WATANABE)
1995-08-04 17:11:32 +00:00
pst
e3f0703d42 Don't build xditview unless the actual include files for X11 are present.
Merely checking for the directory is -not- sufficient, since the XFree86
non-programmers distribution has that directory to hold bitmaps.
1995-07-29 17:47:53 +00:00
bde
f5284ed86d Change install' to ${INSTALL}' so that default install flags can be
specified in the top level Makefiles.
1995-07-25 00:37:58 +00:00
bde
a9ae1e691e Change install' to ${INSTALL}' as usual.
Use -c, not ${COPY}, to install `dir'.  ${COPY} should never be used to
install source files.  The source might be lost if the default is overridden.
1995-07-25 00:12:06 +00:00
bde
a437d889e3 Change install' to ${INSTALL}' as usual.
Don't remove targets before installing.  Removing targets will defeat
`install -C'.
1995-07-24 23:51:48 +00:00
joerg
56891345ba Make the tag checks more strict according to Rod's wishes.
Reviewed by:
Submitted by:
Obtained from:
1995-07-23 17:34:00 +00:00
wpaul
c0d9518d8d Updates, fixes and cleanups -- oh my.
In ypserv:

yp_svc.c:
- small signal handler tweak (hopefully the last): just use sigemptyset()
to clear sa_mask.

Makefile.yp:
- Let the user specify the location of master.passwd when updating
maps (e.g. make MASTER_PASSWD=/some/path/to/master.passwd). Editing
the file to change the location of master.passwd still works. This
is mostly to let yppassswdd specify the name of the master.passwd
file itself.

In yppasswdd:

yppasswdd.c:
- Roll in some minor changes (mostly casts) from Olaf Kirch's latest
yppasswd package release (version 0.7).
- Use daemon() instead of doing all the deamonizing gruntwork ourselves.
- Call pw_init() after daemonizing ourselves. pw_init() sets up some
resource limits and blocks some signals for us. We used to do this before
every password change, but there's really no point in calling it more
than once during the life of the program.
- Change install_reaper() so that we can use it to de-install the SIGCHLD
handler if we need to (and we do in pw_mkdb() -- this is what I get for
splicing code from two different programs together).
- Use sigemptyset(&act.sa_mask) rather than act.sa_mask = 0: the latter is
decidedly non-portable. (In IRIX, HP-UX and Solaris, sigset_t is an
array of longs, not an int.)

update.c:
- Roll in change from new version (check that we're not modifying an NIS
entry in validate_args()).
- Get rid of call to pw_init() (moved to yppasswdd.c).
- Check return values from pw_util routines and return error status to
yppasswd clients if there's a problem.
- Straighten out password file copying mechanism a little. Keep a grip
on the original password file rather than summarily overwriting it so
that we can restore everything if we fail to fork() a process to update
the NIS maps.
- Pass the name of the password template file (specified with -m or
/etc/master.passwd by default) to the yppwupdate script, which in
turn should now pass it to /var/yp/Makefile.

pw_util.c:
- Nuke the pw_edit() and pw_prompt() functions -- we don't need them.
- Change all warn()s, warnx()s and err()s to syslog()s.
- Make sure we return error status to caller rather than bailing out
in pw_lock() and pw_tmp().
- Don't block SIGTERM in pw_init() (by ignoring SIGTERM, we prevent
yppasswdd from being shut down cleanly).
- Don't let pw_error() exit. (This stuff was stolen from chpass and vipw
which are interactive programs; it's okay to let pw_error() bail out
for these programs, but not in a daemon like yppasswdd).
- Fix signal handling in pw_mkdb (we need to temporarily de-install the
SIGCHLD handler so that we can wait on the pwd_mkdb child ourselves).

pw_copy.c:
- Change all warn()s, warnx()s and err()s to syslog()s.
- Add a bunch of returns() and make pw_copy() return and int ( 0 on success,
-1 on failure) so that update.c can flag errors properly.
- Return -1 after calling pw_error() to signal failures rather than
relying on pw_error() to bail out.
- Abort copying if we discover that we've been asked to change an entry
for a user that exists in the NIS passwd maps but not in the master.passwd
template file. This can happen if the passwd maps and the template file
fall out of sync with each other (or if somebody tries to spoof
us). The old behavior was to create add the entry to the password file,
which yppasswdd should not do under any circumstances.

Makefile:
- update VERSION to 0.7

yppasswdd.8:
- fix typo (forgot a carriage return somewhere)
- remove bogus reference to pwunconv(8) which FreeBSD doesn't have.
- bump version from 0.5 to 0.7
- Reflect changes in password file handling.

yppwupdate:
- Log map rebuilds to /var/yp/ypupdate.log.
- Pass the name of the template password file to /var/yp/Makefile as
$MASTER_PASSWD.
1995-07-19 17:44:41 +00:00
ache
daa31af2a2 Update version info
Reviewed by:
Submitted by:
Obtained from:
1995-07-19 17:01:56 +00:00
ache
54df868824 Sync with bash 1.4.5 version
Check some null pointers before action, cosmetique fixes
Submitted by:
Obtained from:
1995-07-19 17:01:18 +00:00
joerg
78899f53ab Remove my last week's CFLAGS hack from Makefile.inc, and fix
info/Makefile instead to not clobber the settings inherited from
/etc/make.conf.
1995-07-16 10:24:18 +00:00
wpaul
7715d6b5da Some small signal handling tweaks: be sure to keep wait3()ing until all
children are reaped and make sure to block SIGCHLD delivery during handler
execution when installing SIGCHLD handler with sigaction().
1995-07-15 23:27:49 +00:00
wpaul
5322c9c163 Add missing 'break' statement in failure case of ypxfr switch clause. 1995-07-15 17:51:11 +00:00
wpaul
270b119bea server.c: When 'securenets' (actually TCP_WRAPPERS) is enabled, don't
syslog connections unless they were rejected. This helps save wear and
tear on the syslog facility in large networks with many clienst systems.

yp_svc.c: Be a little smarter about using sigaction() -- set the SA_RESTART
flag.

svc_run: Be doubly paranoid about killing off child processes. Do a flag
chack and a pid check before letting child 'threads' self-destruct.
1995-07-14 01:56:51 +00:00
rgrimes
ac48d7123c Make ld's error messages consistent with gcc when no input files
are given on the command line.

Submitted by:	Thomas Graichen <graichen@omega.physik.fu-berlin.de>
1995-07-13 08:30:07 +00:00
bde
a7d94821dd Fix dependencies for regex.texi. It is constructed by merging a C header
file with an info source file.
1995-07-12 19:02:06 +00:00
bde
6084d1328b Fix dependencies for gcc.info and reno.info. `make depend' doesn't handle
info files although texinfo supports @include.
1995-07-12 18:57:21 +00:00
wpaul
7fafe87077 ypserv performance improvements:
- There are two cases where the server can potentially block for a long
  time while servicing a request: when handling a yp_all() request, which
  could take a while to complete if the map being transfered is large
  (e.g. 'ypcat passwd' where passwd.byname has 10,000 entries in it),
  and while doing DNS lookups when in SunOS compat mode (with the -dns
  flag), since some DNS lookups can take a long time to complete. While
  ypserv is blocked, other clients making requests to the server will
  also block. To fix this, we fork() ypall and DNS lookups into subprocesses
  and let the parent ypserv process go on servicing other incoming
  requests.

  We place a cap on the number of simultaneous processes that ypserv can
  fork (set at 20 for now) and go back to 'linear mode' if it hits the
  limit (which just means it won't fork() anymore until the number of
  simultaneous processes drops under 20 again). The cap does not apply
  to fork()s done as a result of ypxfr calls, since we want to do our
  best to insure that map transfers from master servers succeed.

  To make this work, we need our own special copy of svc_run() so that
  we can properly terminate child processes once the RPC dispatch
  functions have run.

  (I have no idea what SunOS does in this situation. The only other
  possibility I can think of is async socket I/O, but that seems
  like a headache and a half to implement.)

- Do the politically correct thing and use sigaction() instead of
  signal() to install the SIGCHLD handler and to ignore SIGPIPEs.

- Doing a yp_all() is sometimes slow due to the way read_database() is
  implemented. This is turn is due to a certain deficiency in the DB
  hash method: the R_CURSOR flag doesn't work, which means that when
  handed a key and asked to return the key/data pair for the _next_
  key in the map, we have to reset the DB pointer to the start of the
  database, step through until we find the requested key, step one
  space ahead to the _next_ key, and then use that. (The original ypserv
  code used GDBM has a function called gdbm_nextkey() that does
  this for you.) This can get really slow for large maps. However,
  when doing a ypall, it seems that all database access are sequential,
  so we can forgo the first step (the 'search the database until we find
  the key') since the database should remain open and the cursor
  should be positioned at the right place until the yp_all() call
  finishes. We can't make this assumption for arbitrary yp_first()s
  and yp_next()s however (since we may have requests from several clients
  for different maps all arriving at different times) so those we have
  to handle the old way.

  (This would be much easier if R_CURSOR really worked. Maybe I should
   be using something other than the hash method.)
1995-07-12 16:28:13 +00:00
ats
bb114085bf Fix two typos in a comment. 1995-07-08 21:42:59 +00:00
ats
887812a0a8 Makefile:
Fix the use of /usr/X386 to ${X11BASE}. Fix the pathname /usr/bin/chess
to /usr/games/chess.
XCircle.c:
Fix the comment after an ifdef to make it a real comment to silent gcc.
std.h:
Comment out a private definition of sys_errlist.
1995-07-08 21:40:01 +00:00
joerg
c4a6c7b333 I added a few lines of code to the latest info browser in the
texinfo-3.6 distribution to enable the use of the cursor keys.
Since there is an open problem report (gnu/289) for this it might be
of interest for (some of) you.

I (Joerg) have also added a minor hack that makes info recognizing a
window size change while it has been suspended.

Submitted by:	thomas@ghpc8.ihf.rwth-aachen.de (Thomas Gellekum)
1995-07-08 16:46:13 +00:00
dfr
f602814c3c Define CPLUSPLUSLIB so that bsd.lib.mk will add c++rt0.o to call
constructors and destructors.
Add -lgcc_pic to LDADD for the shared library since C++ code uses stuff from
libgcc and we no longer have a shared libgcc.  Should this be done by
CPLUSPLUSLIB?
1995-07-05 15:04:47 +00:00
wpaul
310bc7086f Oh fer cryin' out loud... While playing with the ypserv code on a different
platform, I discovered the following: if you use ypcat (or anything that
does a yp_all() for that matter) to dump out a map and then hit ^C before
it finishes, ypserv gets hit with a SIGPIPE and dies. (The ypall() service
is implemented using TCP.)

Fix: ignore SIGPIPEs.
1995-07-04 21:58:38 +00:00
bde
0a7517cef3 Add a dependency on the .x source file and avoid copying it.
bootparam_prot.x was changed for nfsv3 but bootparamd and callbootd
kept using the old version which fortunately failed at build time.
Copying hasn't been necessary since path handling was fixed in
rpcgen/rpc_main.c some time ago.
1995-07-04 08:39:27 +00:00
wpaul
77efe4f862 Small touchups in open_database():
- Use one sprintf() to put together the path to the map database instead
  of strcat()s and strcpy()s.

- Make the 'error opening database' Perror()  statement sane.
1995-07-02 18:48:21 +00:00
dfr
6da3ef3223 Change ld.so to correctly load dependant libraries for dlopen and unload them
on dlclose.  Also correctly call constructors and destructors for libraries
linked with /usr/lib/c++rt0.o.
Change interpretation of dlopen manpage to call _init() rather than init()
for dlopened objects.
Change c++rt0.o to avoid using atexit to call destructors, allowing dlclose to
call destructors when an object is unloaded.
Change interface between crt0 and ld.so to allow crt0 to call a function on
exit to call destructors for shared libraries explicitly.

These changes are backwards compatible.  Old binaries will work with the new
ld.so and new binaries will work with the old ld.so.  A version number has
been introduced in the crt0-ld.so interface to allow for future changes.

Reviewed by:	GAWollman, Craig Struble <cstruble@singularity.bevc.blacksburg.va.us>
1995-06-27 09:53:27 +00:00
bde
8d95a8ac3e Remove bogus references to /usr/ucb. 1995-06-26 06:40:23 +00:00
bde
f0ca90235f Improve the handling of large minor numbers:
cpio/copyout.c:
Don't output a file if the major, minor or totality of its rdev would be
truncated.  Print a message about the skipped files to stderr but don't
report the error in the exit status.  cpio's abysmal error handling doesn't
allow continuing after an error, and the rdev checks had to be misplaced
to avoid the problem of returning an error code from routines that return
void.

pax/pax.h:
Use the system macros for major(), minor() and makedev().

pax already checks _all_ output conversions for overflow.  This has the
undesirable effect that failure to convert relatively useless fields
such as st_dev for regular files causes files not to be output.  pax
doesn't report exactly which fields couldn't be converted.

tar/create.c:
Don't output a file if the major or minor its rdev would be truncated.
Print a message about the skipped files to stderr and report the error
in the exit status.

tar/tar.c:
For not immediately fatal errors, exit with status 1, not the error count
(mod 256).

All:
Minor numbers are limited to 21 bits in pax's ustar format and to 18
bits in archives created by gnu tar (gnu tar wastes 3 bits for padding).
pax's and cpio's ustar format is incompatible with gnu tar's ustar
format for other reasons (see cpio/README).
1995-06-26 06:24:48 +00:00
joerg
fd01f43e65 Convert the colon after (send-pr) into a period, so the info file can
be actually found.

Suggested by:  someone on the bugs (or -hackers) list, whose name i forgot
1995-06-24 17:11:56 +00:00
asami
62d154d210 Add an "-m" flag to merge instead of replace the entries. We can
now safely add a line like

ldconfig -m ${PREFIX}/lib

in ports' Makefiles and packing lists without throwing away some
directories the user may have added.

Submitted by:   Mostly by Paul Kranenburg <pk@cs.few.eur.nl>
1995-06-24 10:08:44 +00:00
wpaul
32fda3f3ae Fixed awk scripts for 'netgroup,' 'ethers.*' and 'bootparams' targets so that
corresponding map databases are created correctly.

This fixes the problem Ken Wilcox noted on the freebsd-bugs list.
1995-06-18 16:08:15 +00:00
joerg
dbe3013fc1 Make `ld' properly honoring the umask setting when chmod'ing the
output file for the `x' bits.

This is a Posix requirement.
1995-06-14 06:25:09 +00:00
rgrimes
1b1ee55538 Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
rgrimes
2ad6f3dee6 Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
ats
0575dd0190 Added a NOMAN= macro as this subdir doesn't have a manpage yet. 1995-05-28 21:21:26 +00:00
ats
4c3abf163b Replaced the whole former Makefile with a more BSD conformant Makefile. 1995-05-28 21:20:30 +00:00
ats
96e4c12ad4 Reviewed by: with the allowance of Rod :-).
Add a NOMAN= . It doesn't have a manual page yet.

Please don't cry :-). I ask Rod first. the whole isdn subdir is not
used in the moment and is only dead source code in the tree.
1995-05-28 21:18:20 +00:00
ache
3c248cf0af Add link to sperl4.036, needed for suid scripts and pgms
which use sperl$]
1995-05-28 19:40:18 +00:00
ache
211a7d9f9a Make link to tperl4.036, needed for suid scripts and other stuff
which use tperl$]
1995-05-28 19:38:59 +00:00
ache
e4c9343d9d Fix $] variable value (version number), close PR 449
Submitted by: Bill Fenner <fenner@parc.xerox.com>
1995-05-28 19:21:54 +00:00
jkh
c8aeb3cc9c Don't make TAB and BACK-TAB destroy field contents incorrectly.
Submitted by:	gibbs
1995-05-28 03:36:05 +00:00
adam
c88727cf79 eliminate coredump for readline(NULL) case 1995-05-22 13:32:29 +00:00
jmz
582eb7ce21 configuration files are in /etc/uucp and spool files are in /var/spool/uucp 1995-05-20 21:25:25 +00:00
ache
9c78f8a3ae Don't chdir to subdirs before formatting, non-native manpages
assume it for .so directive
Submitted by: Wolfram Schneider <wosch@cs.tu-berlin.de>
1995-05-20 19:02:53 +00:00
rgrimes
822ee59bc8 Make error message for no input files specified consistent across all
three compilers.

Submitted by:	Thomas Graichen <graichen@sirius.physik.fu-berlin.de>
1995-05-17 01:03:56 +00:00
ache
a42dff69c2 Remove extra argument from mesgbox 1995-05-16 10:17:13 +00:00
ache
7918fd9c8d Call mesgbox instead of msgbox for long descriptions 1995-05-16 06:09:28 +00:00
jkh
9de827c980 Changes to support the new dialog_dselect() features required to fix
pkg_install.  dialog_dselect() wasn't very useful before.
Submitted by:	Marc van Kempen <wmbfmk@urc.tue.nl>
1995-05-16 01:31:40 +00:00
ache
042ea47697 Fix draw shadow bug, when shadow reaches end of the screen,
bringed by devmenu or tzsetup f.e.
1995-05-15 16:40:02 +00:00
rgrimes
1e7f876bc0 This patch teaches info to read gzipped files (emacs info already
works) so one can gzip files in /usr/share/info and save a few
megabytes diskspace.

Submitted by:	Kai Vorma <vode@snakemail.hut.fi>
1995-05-14 17:54:44 +00:00
ache
492dcc2fc3 Install uuconv/uuchk with right permissions 1995-05-14 17:01:07 +00:00
ache
c44bccb7ff Update other Makefiles to reflect uuconv/uuchk install place change 1995-05-13 12:57:44 +00:00
ache
2177a2ea4f Install uuconv/uuchk to /usr/sbin 1995-05-13 12:30:17 +00:00
ache
9c36abb627 Add missing include 1995-05-12 19:21:46 +00:00
rgrimes
55cfac0c2c Submitted by: Charles Henrich <henrich@fubar.cl.msu.edu>
Quite up man when directories in MANPATH do not exist.  If you want
it to tell you about problems use man -d.
1995-05-12 04:56:28 +00:00
rgrimes
0b1bcecfed Submitted by: gj
Delete suspicious looking chunk of code that was partially commented out.
1995-05-09 13:59:22 +00:00
rgrimes
7156cd0fdd Fix nested comments for -Wcomment warnings. 1995-05-09 12:58:53 +00:00
ache
7d2ee025c4 Bump major number, function deleted 1995-05-08 16:10:34 +00:00
ache
6aa33920cc Bump major number 1995-05-08 08:43:06 +00:00
ache
3aa0d024e8 Fix nasty shadow bug sneaked in Marc's commit.
Implement ^K and KEY_EOL as clear end of line
Move common code from line_edit to static function
Cosmetique changes in textbox
1995-05-08 01:43:52 +00:00
joerg
9369e97838 From Wolfram: Fix: typos, old links
Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-05-06 19:04:07 +00:00
ache
498b9e1f2e Bump major number instead of minor: old functions arguments was changed too 1995-05-04 09:45:29 +00:00
ache
e945945e13 Bump minor number 1995-05-03 18:54:09 +00:00
wpaul
0c34ce41cd Small fix for yp_match implementation:
In the case where ypserv is started with the -dns flag, fall through to
the DNS lookup code only if asked to match a map with the word 'host'
in its name. This prevents failed matches on non-host maps from being
incorrectly handed off to DNS.
1995-05-03 14:36:12 +00:00
ache
98983f573b Handle too long strings correctly in print_autowrap()
Submitted by: Marc van Kempen <wmbdmr@urc.tue.nl>
1995-04-30 19:43:53 +00:00
ache
5c6277cb5c Fix HAVE_SAVED_IDS and HAVE_BROKEN_SETREUID defines 1995-04-29 12:22:41 +00:00
ache
a7372e7b99 Remove setr* hacks 1995-04-27 19:56:37 +00:00
jkh
212277584e Close this PR:
>Number:         364
>Category:       bin
>Synopsis:       Interrupting man results in half-baked man page
>Description:

Interrupting man while it is waiting for the page to be formatted
results in a zero length file or a half-baked file.

>How-To-Repeat:

Inetrrupt man while it is formatting a page.

>Fix:

Pay more attention to the return value from the system command.
Submitted by:	John Capo <jc@irbs.com>
1995-04-26 16:19:23 +00:00
jkh
81c312becc Gary J's patches to make gdb -w work properly.
Submitted by:	gj
1995-04-26 01:01:20 +00:00
jkh
fecc1587af Hastily back out my previous change to install ui_objects.h; upon further
examination, I'm not entirely sure this was meant to be public.  It's not
idempotent or anything.  I'll make pkg_manage deal with it another way
until it's been confirmed one way or the other by Marc.
1995-04-21 10:18:33 +00:00
jkh
3bf1d99e22 Also install new ui_objects.h header file. I'm not sure how I feel about
these Makefile constructs - surely there's a better way?
1995-04-21 10:15:31 +00:00
nate
053ac70f9f Sync. up bits with Paul K. Cascade support plus some cosmetic changes.
Obtained from: NetBSD
1995-04-21 04:57:50 +00:00
ache
64d059015a Upgrade.
Submitted by: Marc van Kempen  <wmbfmk@urc.tue.nl>
1995-04-20 17:39:37 +00:00
joerg
50062c9a78 Fix for the ``gdb -k /nonexistent /dev/mem'' core dump.
Submitted by:	gj@freebsd.org (Gary Jennejohn)
1995-04-19 22:59:33 +00:00
nate
c203c95556 Backed out the only FreeBSD specific change to the stock CVS sources now
that it's taken care of in the CVSROOT/cvsignore file which is FreeBSD
specific.

This will make it easier to track changes in the *official* release.
1995-04-18 18:14:57 +00:00
ache
35de6bd9e2 Fix update_line() updates on screen edges
Obtained from: bash sources
1995-04-18 11:00:47 +00:00
rgrimes
88e2646a0d Add missing $(DESTDIR) to rm command so that this stops removing files
from my master system.

This makefile is a crock, and will soon be rewritten!
1995-04-17 19:10:20 +00:00