summaryrefslogtreecommitdiffstats
path: root/gnu
Commit message (Collapse)AuthorAgeFilesLines
* When building -static, link with special scrt0.o instead of crt0.o. Thisdg1995-10-181-0/+3
| | | | reduces the text size by about 1.5Kbytes.
* A one-liner:wpaul1995-10-111-1/+3
| | | | | | 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.)
* Change UNIX to FreeBSD.gclarkii1995-10-101-3/+3
| | | | | | | | 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.
* This is a FreeBSD manpage, not a NetBSD manpage. :)nate1995-10-051-2/+2
|
* Make cc1plus smaller and faster as was done for cc1 by linking static.wollman1995-10-021-1/+2
|
* Build cc1 nonshared. This actually results in it consuming 40K *less* diskdg1995-10-011-1/+2
| | | | space and improves compile times by a few percent.
* Fix checks for open() failing. open() may successfully return 0.bde1995-09-282-6/+6
| | | | | ld.c: Fix a an error message that said that open() failed after fopen() failed.
* Intitialize $(tmac_s_ and $(tmac_m). Use the initialized variable $(device)bde1995-09-281-1/+3
| | | | | | | | | | 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 `'.
* Make the error message more readable when 'ld.so' cannot locate a needednate1995-09-271-13/+11
| | | | | | | | | | | | | | 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)
* Fixup the "ld.so failed" message for the case when ld.so finds undefinednate1995-09-271-5/+5
| | | | | | | | | | | 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)
* phkmalloc strikes!wpaul1995-09-241-10/+34
| | | | | | | | | | | | | | | | | | | | | | #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.
* Stop using gnumalloc.phk1995-09-224-13/+8
|
* Make it sgid dialer to read lockfilesache1995-09-151-2/+3
|
* Make cu/uucico sgid dialer to help to work with others lockfiles,ache1995-09-142-4/+6
| | | | they can't open root.dialer lockfiles in old variant.
* Give "Index" specified filenames preference over other filenames specifiedgibbs1995-09-141-3/+6
| | | | | | | 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.
* Output a zero rdev except for bdevs, cdevs, fifos and sockets. Thisbde1995-09-121-2/+26
| | | | | stops regular files with unrepresentable rdevs from being rejected and makes the output independent of unpreservable metadata.
* Fix a few minor bugs in makewhatis.joerg1995-09-101-4/+33
| | | | Submitted by: wosch@cs.tu-berlin.de (Wolfram Schneider)
* Re-initialize the terminal after ^Z / fg.joerg1995-09-101-0/+1
| | | | Submitted by: thomas@ghpc8.ihf.rwth-aachen.de (Thomas Gellekum)
* Put a bandaid on the NULL pointer dereference caused by doing anpeter1995-09-031-2/+3
| | | | | | | | | "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.
* Add MLINKS for sendbug manpage.jkh1995-08-291-0/+1
| | | | Suggested by: paul
* Link send-pr to sendbug. sendbug is back! hurrah!jkh1995-08-281-0/+2
|
* Import Paul Kranenburg's man page for ld.so (aka. rtld).joerg1995-08-262-2/+147
| | | | Obtained from: NetBSD
* Clean up compilation warnings.pst1995-08-231-1/+1
|
* Fix compilation warnings.pst1995-08-231-1/+1
|
* Upgrade 1.06 -> 1.06.1ache1995-08-2112-25/+75
|
* Fix LEGAL_GRADE determination, isalnum can return true when nationalache1995-08-191-1/+1
| | | | environment is active
* Commit delta: current -> 1.06 + FreeBSD configurationache1995-08-19227-2518/+10961
|
* Reset the umask before creating the output file; otherwise runningjoerg1995-08-161-1/+2
| | | | | ldconfig as root with a restrictive umask yielded ld.so.hints unreadable by the world (and thus useless).
* This changes two things when importing an unreadable file:peter1995-08-151-2/+14
| | | | | | | | | | | | 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
* Fix bug pointed out by user on c.u.b.f.m: commenting out NOPUSH=truewpaul1995-08-111-5/+5
| | | | | for master/slave configuration doesn't work because DOMAIN isn't correctly defined.
* Replace ctime by strftime %c to use national representationache1995-08-081-1/+1
|
* Replace ctime by strftime %c to use national representationache1995-08-081-3/+3
|
* Install source files with the -c flag, not with the optional flag ${COPY}.bde1995-08-061-3/+3
|
* Change `install' to `${INSTALL}' so that default install flags can bebde1995-08-065-10/+10
| | | | | | | 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.
* Make only a `-r' flag (as opposed to `-r*') special within thejoerg1995-08-041-1/+1
| | | | | | | | | | 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)
* Don't build xditview unless the actual include files for X11 are present.pst1995-07-291-1/+1
| | | | | Merely checking for the directory is -not- sufficient, since the XFree86 non-programmers distribution has that directory to hold bitmaps.
* Change `install' to `${INSTALL}' so that default install flags can bebde1995-07-2523-41/+42
| | | | specified in the top level Makefiles.
* Change `install' to `${INSTALL}' as usual.bde1995-07-251-1/+1
| | | | | 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.
* Change `install' to `${INSTALL}' as usual.bde1995-07-241-4/+3
| | | | | Don't remove targets before installing. Removing targets will defeat `install -C'.
* Make the tag checks more strict according to Rod's wishes.joerg1995-07-232-30/+76
| | | | | | Reviewed by: Submitted by: Obtained from:
* Updates, fixes and cleanups -- oh my.wpaul1995-07-199-143/+206
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* Update version infoache1995-07-191-1/+1
| | | | | | Reviewed by: Submitted by: Obtained from:
* Sync with bash 1.4.5 versionache1995-07-195-20/+18
| | | | | | Check some null pointers before action, cosmetique fixes Submitted by: Obtained from:
* Remove my last week's CFLAGS hack from Makefile.inc, and fixjoerg1995-07-163-7/+3
| | | | | info/Makefile instead to not clobber the settings inherited from /etc/make.conf.
* Some small signal handling tweaks: be sure to keep wait3()ing until allwpaul1995-07-152-8/+6
| | | | | children are reaped and make sure to block SIGCHLD delivery during handler execution when installing SIGCHLD handler with sigaction().
* Add missing 'break' statement in failure case of ypxfr switch clause.wpaul1995-07-151-3/+6
|
* server.c: When 'securenets' (actually TCP_WRAPPERS) is enabled, don'twpaul1995-07-143-2/+10
| | | | | | | | | | | 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.
* Make ld's error messages consistent with gcc when no input filesrgrimes1995-07-131-2/+2
| | | | | | are given on the command line. Submitted by: Thomas Graichen <graichen@omega.physik.fu-berlin.de>
* Fix dependencies for regex.texi. It is constructed by merging a C headerbde1995-07-121-1/+1
| | | | file with an info source file.
* Fix dependencies for gcc.info and reno.info. `make depend' doesn't handlebde1995-07-121-0/+5
| | | | info files although texinfo supports @include.
OpenPOWER on IntegriCloud