Commit Graph

551 Commits

Author SHA1 Message Date
Andrey A. Chernov
6de8ce1a74 Replace ctime by strftime %c to use national representation 1995-08-08 03:07:15 +00:00
Joerg Wunsch
6aefd62078 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
Paul Traina
522aab930c 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
Bruce Evans
9c0dc173cc 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
Bruce Evans
db1e9e9ea9 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
Bruce Evans
ddb43e8bd8 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 Wunsch
37e0d97047 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
Joerg Wunsch
d6d2ae6a56 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
Rodney W. Grimes
c7e5c6a843 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
Bruce Evans
460396d6ee 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
Joerg Wunsch
c3081fb7f9 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
Bruce Evans
a7aac2725f 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
Doug Rabson
82aaeb09ad 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
Bruce Evans
278e874772 Remove bogus references to /usr/ucb. 1995-06-26 06:40:23 +00:00
Bruce Evans
d1e00e9390 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 Wunsch
00a44db927 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
Satoshi Asami
f606c848fa 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
Joerg Wunsch
5fbea18fbe 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
Rodney W. Grimes
d3628763db Merge RELENG_2_0_5 into HEAD 1995-06-11 19:33:05 +00:00
Rodney W. Grimes
4399be3cbd Remove trailing whitespace. 1995-05-30 05:05:38 +00:00
Andrey A. Chernov
f7cdf1f7ad Add link to sperl4.036, needed for suid scripts and pgms
which use sperl$]
1995-05-28 19:40:18 +00:00
Andrey A. Chernov
5a630b07ee Make link to tperl4.036, needed for suid scripts and other stuff
which use tperl$]
1995-05-28 19:38:59 +00:00
Andrey A. Chernov
4b7250c3f9 Fix $] variable value (version number), close PR 449
Submitted by: Bill Fenner <fenner@parc.xerox.com>
1995-05-28 19:21:54 +00:00
Andrey A. Chernov
7b9728ce0b 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
Rodney W. Grimes
58d8a5e922 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
Rodney W. Grimes
4f66643c1d 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
Rodney W. Grimes
ba0879629f 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
Rodney W. Grimes
1f2c9ce35f Submitted by: gj
Delete suspicious looking chunk of code that was partially commented out.
1995-05-09 13:59:22 +00:00
Rodney W. Grimes
eb0b975c2d Fix nested comments for -Wcomment warnings. 1995-05-09 12:58:53 +00:00
Joerg Wunsch
d2b27ba8b6 From Wolfram: Fix: typos, old links
Submitted by:	wosch@cs.tu-berlin.de (Wolfram Schneider)
1995-05-06 19:04:07 +00:00
Andrey A. Chernov
4843859879 Remove setr* hacks 1995-04-27 19:56:37 +00:00
Jordan K. Hubbard
4b1e0d1665 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
Jordan K. Hubbard
38f4846ec5 Gary J's patches to make gdb -w work properly.
Submitted by:	gj
1995-04-26 01:01:20 +00:00
Nate Williams
110aea11f2 Sync. up bits with Paul K. Cascade support plus some cosmetic changes.
Obtained from: NetBSD
1995-04-21 04:57:50 +00:00
Joerg Wunsch
e6073fb7f6 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 Williams
c0a7a54b73 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
Rodney W. Grimes
aa556f48a9 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
Nate Williams
3cc6a1ed2e Added back 'examples' to the subdirs which was bogusly removed. 1995-04-14 15:15:27 +00:00
Joerg Wunsch
c8a2ad770c Fix broken file name globbing. Man is now also able to find pages
like "3DBorder" and "[".  (NB, the "3DBorder" problem has actually
been intention, it allowed for weird section names like "3xyzzy".  We
don't have them, either.)

(Partially) Submitted by:	taob@gate.sinica.edu.tw (Brian Tao)
1995-04-11 22:01:53 +00:00
Nate Williams
65cc5b32c2 Re-enabled cvs now that Rod is satisfied that it will work correctly. 1995-04-11 17:28:26 +00:00
Jordan K. Hubbard
f0681de0c2 Mods to tar (--fast-read) to cause it to stop looking for exact-matching
file specifications when they've been extracted (enabling you to get a file
fast if it occurs somewhere close to the front).
Submitted by:	Marc van Kempen <wmbfmk@urc.tue.nl>
1995-04-10 11:47:37 +00:00
Nate Williams
b6b718f326 as Thomas Graichen recently wrote in private mail:
> * the gdb-4.13 of current (compiled and used under 2.0R) can not attach to my
> own processes (it works only then i'm root - else i get open failed - for my
> own processes)

how embarassing ! This turns out to be a bug in infptrace.c. Below
is a patch. Could some kind soul apply it ?

Submitted by:	"Gary J." <garyj@rks32.pcs.dec.com>
1995-04-10 00:01:01 +00:00
Nate Williams
5b9d4f5aa8 Added Makefile for example files. They are now installed in
/usr/share/examples/cvs for use by the cvsinit script.
1995-04-08 17:50:48 +00:00
Nate Williams
5a5755a556 Because -lcompat defines the same symbols as -lgnuregex and the weakness
of the linker to enforce linking of modules in command line order it is
not possible to link gdb shared with -lcompat.

*HACK ALERT*
Removed -lcompat from LDADD and bring in the necessary functions out of
libcompat as a source module until the linker can be fixed.
1995-04-07 05:13:26 +00:00
Nate Williams
7e613ac7bd Back out my change to enforce command line linker order due to
underlying bugs which are caused by mixing static/shared libraries with
this change in place.

The shlib code is not capable of supporting this feature in it's present
state and will need significant modifications in order to do so.
1995-04-07 05:08:28 +00:00
Bill Paul
0b2a7a1bff Take yp_svc.c out of CLEANFILES rule. 1995-04-02 20:28:09 +00:00
Bill Paul
adaf7ba36a Add back some stuff to yppush.c that I was a little over-zealous in
removing. Also do away with compiling yp_svc.c: yppush doesn't need it.
1995-04-02 20:01:50 +00:00
Bill Paul
56e74043f4 Make yppush compile again when obj directory exists. *groan* 1995-04-02 16:00:30 +00:00
Bruce Evans
15519b2f58 Fix compiler warnings: don't declare enum types as static. 1995-04-02 13:11:14 +00:00
Bill Paul
812647ed6b Reduce yppush. Now that all the required yp_xdr functions are
in libc, we can get rid of the private/special copies of yp_*.c
files and rpcgen them at compile time instead. This leaves us with
just one unique source files: yppush.c
1995-04-02 01:10:13 +00:00