Commit Graph

698 Commits

Author SHA1 Message Date
Andrey A. Chernov
71358584f3 Fix merge errors 1998-04-28 07:37:54 +00:00
Andrey A. Chernov
49772d6129 Merge local changes 1998-04-28 06:49:42 +00:00
Andrey A. Chernov
d3bbabc05a This commit was generated by cvs2svn to compensate for changes in r35486,
which included commits to RCS files with non-trunk default branches.
1998-04-28 06:22:20 +00:00
Andrey A. Chernov
91d01d1fdf V2.2 import 1998-04-28 06:22:20 +00:00
Peter Wemm
4af3a821f1 -pg was causing a link with -lc_r... :-]
Submitted by:  Dmitry Khrustalev <dima@xyzzy.machaon.ru>
PR: 6287
1998-04-13 14:12:34 +00:00
Peter Wemm
044b7805a9 Argh!.. Spot the deliberate mistake that was probably causing the
leftover files in /tmp..  (this commit brought to you by 'cvs update -j')
1998-04-11 16:12:07 +00:00
John Birrell
2161ed1f46 Document the FreeBSD specific options from LIB_SPEC. 1998-04-10 09:19:11 +00:00
Bruce Evans
8c4461a8ff Removed yacc output files so that it is impossible to mix them with
new ones that we generate.
1998-03-27 11:14:12 +00:00
Bruce Evans
eab034e45d Removed yacc output files so that it is impossible to mix them with
new ones that we generate.  We used to always mix the old header with
the new .cc file.  This worked because Cygnus's yacc is surprisingly
compatible with our yacc.
1998-03-27 11:13:47 +00:00
Peter Wemm
6314ca637f Some tweaks to get this to compile for the userland tools. 1998-03-21 13:39:11 +00:00
Peter Wemm
f4b66beedb Import ipfilter 3.2.3 1998-03-21 10:04:55 +00:00
Peter Wemm
d2e0bd41f7 This commit was generated by cvs2svn to compensate for changes in r34739,
which included commits to RCS files with non-trunk default branches.
1998-03-21 10:04:55 +00:00
John Birrell
6db4691d19 Ouch, my local cvs walloped the version I thought I was committing.
Here is what I intended.
1998-03-14 03:02:19 +00:00
John Birrell
1de944af88 On i386, freebsd.h and freebsd-elf.h have been merged to combine
aout and elf support. freebsd-elf.h died as a result, so the BINFORMAT
test for elf in src/gnu/usr.bin/cc/cc_tool/Makefile will need to
use freebsd.h, not freebsd-elf.h. That means that alpha will have to
go the same way. The new alpha/freebsd.h has the alpha/freebsd-elf.h
definitions merged in.
1998-03-13 21:12:12 +00:00
John Birrell
0f471b05f9 Nuke crti.o from the STARTFILE_SPEC again. No asm code is needed on alpha.
Add the define that lets gas know how to ".set" and enable pragmas
so that #pragma weak will work.
1998-03-11 20:56:24 +00:00
Peter Wemm
ab10ac1949 Tweak from the cvs sources just after the 1.9.26 release:
1998-03-07  Tim Pierce  <twp@skepsis.com>
    * rcs.c (RCS_checkout): Negation bug when checking out symlinks:
    existence_error should be !existence_error.

This shouldn't cause any major merge problems later.
1998-03-11 09:30:51 +00:00
James Raynard
3e77698b86 Remove test sub-directory. 1998-03-10 19:28:47 +00:00
Peter Wemm
bde4819bd2 Merge changes from vendor branch into mainline 1998-03-10 13:58:02 +00:00
Peter Wemm
f380a4f2e1 This commit was generated by cvs2svn to compensate for changes in r34461,
which included commits to RCS files with non-trunk default branches.
1998-03-10 13:40:57 +00:00
Peter Wemm
4b06c89291 Import cvs-1.9.26 onto vendor branch 1998-03-10 13:40:57 +00:00
John Birrell
37aebf7ed2 Change the LINK_SPEC to specify the same runtime loader as used on
i386-elf because that is what will be used for FreeBSD/Alpha.

Change the STARTFILE_SPEC to match the non-aout version of i386 so
that the csu files can be built in exactly the same way as i386-elf.
This means that FreeBSD/Alpha departs from NetBSD/Alpha which uses
crt0 and crtbegin/crtend. Since i386-aout uses crt0, I guess it was
decided that i386-elf should use crt1. i386-elf also references
crti and with this change, so does FreeBAS/Alpha.

I think it is important for FreeBSD to have a consistent implementation
across architectures and since ELF is quite compatible (ignoring
differences in 32 and 64 bits), gcc might as well be configured the
same.

Another change is that the entry symbol is _start, not __start as
in NetBSD.
1998-03-10 06:47:14 +00:00
Peter Wemm
42fcd1ffa9 Both our a.out (hacked) gas and the binutils gas support .weak
Prompted by: bde
1998-03-09 04:47:58 +00:00
Peter Wemm
df320ec9d3 Only do a.out/elf switching on i386 family 1998-03-09 04:13:31 +00:00
John Birrell
11ab2a9095 Import an extra source file from binutils 2.8.1 that is included on
alpha.
1998-03-09 03:38:19 +00:00
John Birrell
c76572aa7a This commit was generated by cvs2svn to compensate for changes in r34351,
which included commits to RCS files with non-trunk default branches.
1998-03-09 03:38:19 +00:00
John Birrell
45e0d510b8 Add a FreeBSD entry for alpha-elf. 1998-03-09 03:34:53 +00:00
Peter Wemm
3f39463468 Don't disable the use of $ in assembler labels.. It changes libstdc++
and libg++ so that they won't work with existing binaries (including
netscape!!).
1998-03-09 03:26:57 +00:00
John Birrell
27dd36da49 Our default rules tend to shove asm code through cpp, so comments
starting with hashes have a sub-optimal impact. This change adds
/* */ around the block comment in the header of each file to make
them friendly to cpp. Also added an Id keyword cause I like to
see revision numbers in source.
1998-03-08 21:09:04 +00:00
Peter Wemm
b51cdb1e8b Spell -Bshareable correctly... :-] 1998-03-08 16:09:57 +00:00
Peter Wemm
a2034fc036 svr4.h defines ASM_IDENTIFY_GCC, but neglects to define
ASM_IDENTIFY_LANGUAGE.  Use the osfrose.h method, because gdb assumes
'C' by default, so there's no need to further clutter the symbol table.
1998-03-08 13:26:15 +00:00
Peter Wemm
9ed6fc5562 Cosmetic cleanup for a.out asm generation.. Don't put the end-of-file
markers that the stabs-in-elf system uses.
1998-03-08 12:47:45 +00:00
Peter Wemm
178576c62f Put the function stabs in traditional order on a.out, or gdb doesn't see
function local variables.
1998-03-08 11:54:04 +00:00
Peter Wemm
ebdff85b87 Add hooks for John Birrell's kernel thread support library.
Submitted by: John Birrell <jb@cimlogic.com.au>
1998-03-08 05:33:24 +00:00
Peter Wemm
9cb13c2344 First round of changes to support generation of assembler for the old
a.out gas and the binutils gas (elf or a.out) with a single compiler.

This uses other infrastructure not yet committed, in order to support
both a.out and elf it needs to be able to get to both a.out and elf
gas, ld, libs, crt* etc.  So for now, the support is pretty much dormant.

The new freebsd.h file is based on the old freebsd-elf.h file (which has a
long lineage, right back through linux and svr4 files).  The change is
pretty dramatic from a gcc internals standpoint as it overrides a lot of
definitions in order to generate different output based on target mode.
There is potential for screw-ups, so please be on the lookout - gcc's
configuration mechanism wasn't really meant for this kind of thing.
It's believed to compile world etc just fine under both a.out and elf, can
handle global constructors and destructors, handles the differences in
a.out and elf stabs, and what sections things like exceptions go in.

The initial idea came from i386/osfrose.h which is a dual rose/elf format
target.  These two are not as diverse as a.out and elf it would seem.

The cc front-end uses external configuration to determine default object
format (still being thrashed out, so read the source if you want to see
it so far), and has a '-aout' and '-elf' override command line switch.
There are some other internal switches that can be accessed, namely -maout,
-mno-aout, -munderscores and -mnounderscores.  The underscore and local
symbol prefixing rules are controllable seperately to the output format.
(ie: it's possible to generate a.out without the _ prefixes on symbols and
also to generate elf with the _ prefixes.  This isn't quite optimal, but
does seem to work pretty well, except the linkers don't always recognise
the local symbols without their normal names)

The default format is a.out (still), nobody should see any major changes.

With both elf and a.out tools and libraries installed:

[1:26pm]/tmp-223> cc -elf -o hello hello.c
peter@beast[1:27pm]/tmp-224> file hello
hello: ELF 32-bit LSB executable, Intel 80386, version 1 (FreeBSD), dynamically linked, not stripped
[1:27pm]/tmp-225> ./hello
hello world!

[1:27pm]/tmp-226> cc -aout -o hello hello.c
[1:27pm]/tmp-227> file hello
hello: FreeBSD/i386 compact demand paged dynamically linked executable not stripped
1:27pm]/tmp-228> ./hello
hello world!

Since my co-conspirators put a lot of effort into this too, I'll add them
so they can share the blame^H^H^H^H^Hglory. :-)

Reviewed by: sos, jdp
1998-03-08 05:29:49 +00:00
John Birrell
051b1b1a74 This commit was generated by cvs2svn to compensate for changes in r34204,
which included commits to RCS files with non-trunk default branches.
1998-03-07 21:27:49 +00:00
John Birrell
f2b7551c39 Import of the mpn asm source files for alpha from V2.0.2 which
appears to match the other libgmp files in the repository.
1998-03-07 21:27:49 +00:00
cvs2svn
d3609998d8 This commit was manufactured by cvs2svn to create branch
'VENDOR-binutils'.
1998-03-01 23:26:33 +00:00
John Polstra
12df71b07c Configuration changes to support FreeBSD. The linker only works for
ELF, not a.out.  But all the other tools support both.  I'm not so
sure about the assembler -- it might need more work.
1998-03-01 23:26:32 +00:00
John Polstra
ff8f730683 Don't use "/" as a comment starter. In some FreeBSD sources, "/"
means divide (duh).
1998-03-01 23:22:00 +00:00
John Polstra
d228076248 Fix the output format of "nm" so that it works properly for FreeBSD's
"lorder" command.

GNU rejected this change because they felt it would be an unacceptable
incompatibility to change the output format at this point -- even
though it was wrong to begin with.
1998-03-01 23:20:03 +00:00
John Polstra
ff0c247c3c Fix a bug which incorrectly caused files to be labeled as having
text relocations in certain situations.
1998-03-01 23:17:03 +00:00
John Polstra
4f24af7764 Add automatic branding of FreeBSD ELF files. 1998-03-01 23:15:09 +00:00
John Polstra
6a248bab85 Add upgrade instructions and helper file. 1998-03-01 23:13:26 +00:00
John Polstra
52cb49752a Initial import of GNU binutils version 2.8.1. Believe it or not,
this is heavily stripped down.
1998-03-01 22:58:51 +00:00
John Polstra
d1e127f135 This commit was generated by cvs2svn to compensate for changes in r33965,
which included commits to RCS files with non-trunk default branches.
1998-03-01 22:58:51 +00:00
John Birrell
309df62fd9 Add #include <string.h> to get prototypes. 1998-02-20 07:48:36 +00:00
Peter Wemm
950fca26ed A hack to work around the sleep prior to calling the built-in diff. This
affects speed of doing 'cvs diff' (in all modes) and 'cvs update' over the
network.

1: don't pause at all unless running in server protocol mode.
2: if running in server protocol mode, do a kludge that intercepts the
   stdout and stderr write functions and diverts them to cvs_output() and
   cvs_outerr().  Yes, this might be done with fwopen() etc, but that also
   requires copying "FILE" structs since you can't freopen stdout etc and
   specify functions at the same time.

This HACK will go away once the cvs folks have done their changes to the
library version of gnu diff to use the callbacks as mentioned in the
comments.
1998-02-14 09:47:14 +00:00
Peter Wemm
8f3f2b2e9d Reduce the sleep(1) inbetween each diff, as suggested by bde some time
ago.  The real fix is rather large.
1998-02-08 06:48:37 +00:00
Chris Timmons
19aa4407da Painless merge... 1998-02-02 05:42:16 +00:00
Chris Timmons
0823b5bf08 Global v2.24 1998-02-02 05:38:11 +00:00
Chris Timmons
20a037099e This commit was generated by cvs2svn to compensate for changes in r33011,
which included commits to RCS files with non-trunk default branches.
1998-02-02 05:38:11 +00:00
Peter Wemm
178f53ff27 Cosmetic cleanups for the local tag support. Since rcs isn't called
anymore, don't do all the putenv's for it's benefit.
1998-01-31 01:39:40 +00:00
Peter Wemm
b1408ba741 Merge vendor changes to files that we've touched onto mainline.
(If only all import/merges were this trivial :-)
1998-01-30 15:35:26 +00:00
Peter Wemm
7b9d411405 Import cvs-1.9.24 since it came quite soon after the snapshot that was
imported a few days ago.  There is very little difference, except that
the remote protocol apparently supports wrappers and -k options better.
1998-01-30 15:31:47 +00:00
Peter Wemm
a0c60322a8 This commit was generated by cvs2svn to compensate for changes in r32896,
which included commits to RCS files with non-trunk default branches.
1998-01-30 15:31:47 +00:00
Peter Wemm
9b9b7eea08 Update import instructions from last time. 1998-01-30 15:09:55 +00:00
Peter Wemm
f5c9b8cbc7 Merge CYCLIC branch changes 1998-01-26 04:50:17 +00:00
Peter Wemm
4665b7b2d1 Restore file that was inadvertently deleted last time 1998-01-26 04:48:56 +00:00
Peter Wemm
3d0e86bdb6 Remove stray files 1998-01-26 04:47:16 +00:00
Peter Wemm
2dfc3bcde9 missing bracket 1998-01-26 03:54:53 +00:00
Peter Wemm
64c8118794 Merge changes from CYCLIC onto main branch 1998-01-26 03:29:29 +00:00
Peter Wemm
d302a0c08c Merge changes from CYCLIC branch onto mainline. rcs.[ch] still to come. 1998-01-26 03:24:11 +00:00
Peter Wemm
57e58c3aa7 Import cvs-1.9.23 as at 19980123. There are a number of really nice
things fixed in here, including the '-ko' vs. -A problem with
remote cvs which caused all files with -ko to be resent each time
(which is damn painful over a modem, I can tell you).  It also found a
heap of stray empty directories that should have been pruned with the -P
flag to cvs update but were not for some reason.

It also has the fully integrated rcs and diff, so no more fork/exec
overheads for rcs,ci,patch,diff,etc.  This means that it parses the control
data in the rcs files only once rather than twice or more.

If the 'cvs diff' vs. Index thing is going to be fixed for future patch
compatability, this is the place to do it.
1998-01-26 03:09:57 +00:00
Peter Wemm
edd1d86130 This commit was generated by cvs2svn to compensate for changes in r32785,
which included commits to RCS files with non-trunk default branches.
1998-01-26 03:09:57 +00:00
Warner Losh
d82dcd5eaf MFC: sprintf paranoia 1998-01-22 00:04:57 +00:00
Andrey A. Chernov
e562327407 Back out my -L change, now "patch -I" usage supposed to get Index:
precedence
1998-01-21 15:20:29 +00:00
Bruce Evans
ea07747224 Removed redundant declarations. Keymap functions are declared in
<readline/keymaps.h> which is included here.
1998-01-16 09:12:05 +00:00
Bruce Evans
b54167e198 Use the system __CONCAT() instead of /**/ for concatenation in the
non-ANSI case.  The system version is normally also /**/, but may
be different to support K&R compilers other than gcc -traditional.
1998-01-16 08:59:21 +00:00
Bruce Evans
1e5b51ef70 Fixed copying of N_TXTADDR() from the system version in the previous
revision.  N_TXTADDR() was 0x20 too high in the usual case.

Reported by:	luoqi@watermarkgroup.com (Luoqi Chen)
1998-01-16 08:46:50 +00:00
Andrey A. Chernov
0d913a0d1a Fix wrong ---/*** names produced using -L diff option
CVS gurus from info-cvs agrees that previous Index: usage is bogus
1998-01-16 06:00:36 +00:00
Steve Price
cd67e07e72 vmunix -> kernel
PR:		5484
Submitted by:	Vasily V. Grechishnikov <bazilio@ns1.ied-vorstu.ac.ru>
1998-01-13 14:17:10 +00:00
Julian Elischer
34bda5731d Allow a -D'date' option to be included with a -r'branch'
on a checkout.
this allows us to do:
cd /usr/src/sys
cvs update -rRELENGE_2_2 -D"Yesterday"
which has been a feature sorely needed for any project with active branches.

warning: this breaks on usr.sbin/pkg_install for some reason.
everything else works as advertised.
(other things allready break on pkg_install, so it's not the fault of
this patch, it just falls faul of another bug somewhere)
If I had more time I'd make -r always accept the same syntax as -j (tag:data)
1998-01-12 06:51:07 +00:00
John Birrell
2e56a2ce82 Upgrade the cpp pre-defines to include -Dunix. Turns out we need that
to compile m4.

And don't just define __FreeBSD__, but define it as -D__FreeBSD__=3
like on i386.
1998-01-12 02:53:28 +00:00
John Birrell
0f4140c055 Add the alpha MD files for gcc to product ELF for FreeBSD/Alpha.
See freebsd.h and freebsd-elf.h for the silly comment that cgd@netbsd.org
wanted me to add about his claim that uncommented source files that
have been publicly available for ftp for nearly a year; that are
configuration patches to a GPL'ed program; are owned by his previous
employer who refuses to release them. Well... I did as he said. As if
that makes a difference!

At this point we've got cpp, gcc, g++ ported to FreeBSD/Alpha so all
the code that uses __FreeBSD__ is correctly pre-processed. Yay.

I'll commit the bootstrap makefile next to let others play, then on
to libc.
1998-01-11 04:39:46 +00:00
John Birrell
50dbd3f631 NetBSD has sys_errlist in errno.h, not stdio.h like FreeBSD. 1998-01-09 20:02:20 +00:00
Steve Price
1e940cecad Fix an anomaly in the option descriptions.
PR:		5469
Submitted by:	NOKUBI Hirotaka <h-nokubi@yyy.or.jp>
1998-01-09 18:46:53 +00:00
Andrey A. Chernov
6bc0f0317d Remove library funcs we already have 1998-01-04 20:45:41 +00:00
Andrey A. Chernov
a8ab3d6865 Reflect new import 1998-01-04 20:28:01 +00:00
Andrey A. Chernov
6f584bd599 This commit was generated by cvs2svn to compensate for changes in r32243,
which included commits to RCS files with non-trunk default branches.
1998-01-04 20:25:29 +00:00
Andrey A. Chernov
98c7cc311f Raw import of patch 2.5 1998-01-04 20:25:29 +00:00
Paul Traina
1c1351793c Handle frame relay, decode ATM VP/VC info, and handle ISO over FR. 1998-01-01 04:13:54 +00:00
Paul Traina
13acb9488b Add frame-relay decode support. 1997-12-31 21:50:31 +00:00
Wolfram Schneider
721d426d82 Add OS macros for FreeBSD 2.2.6, OpenBSD 2.2, OpenBSD 2.3. 1997-12-28 18:20:05 +00:00
Steve Price
978b87426f Remove one last /etc/sysconfig reference.
PR:		3460
Pointed out by:	hoek@FreeBSD.org
1997-12-27 20:00:13 +00:00
Jordan K. Hubbard
57ff4097d0 diff to /usr/share/tmac/mdoc/mdoc-syms to accept
.Fx 2.2.1
   .Fx 2.2.2
Submitted by: Kazutaka YOKOTA <yokota@zodiac.mech.utsunomiya-u.ac.jp>
1997-12-27 05:55:15 +00:00
Alexander Langer
c62b41d9d5 YTK fix. 1997-12-22 23:00:35 +00:00
John Birrell
f1129700ee Reviewed by: William LeFebvre <wnl@groupsys.com>
Change errno -> error in local structure to avoid a clash with the
thread-aware version of errno which is required for a thread-safe libc.

Have discussed this with the author and he has agreed to this change. 8-)
1997-12-22 19:39:20 +00:00
James Raynard
002706979c Year 2000 fixes for groff
PR:		4930
Submitted by:	Stephen J. Roznowski
1997-12-20 22:29:55 +00:00
Bruce Evans
be08fbf9fb Don't print "Making info file ...' except in verbose mode. 1997-12-19 21:20:07 +00:00
Bruce Evans
7b6b0ca343 Backed out all FreeBSD changes. They are unnecessary now that bfd
understands kernels.

Reviewed by:	jdp
1997-12-19 21:09:20 +00:00
Bruce Evans
243d233f9f Override gdb's version of N_TXTADDR() with the (new) system version
so that gdb gets the text address right for kernels.  Override some
other macros to get a consistent set.

Reviewed by:	jdp
1997-12-19 21:08:54 +00:00
Bruce Evans
27c62c22c7 Close some file descriptors on exec so that the inferior process gets
a normal environment.  Fd's 3 and 4 were usually left open.
1997-12-17 13:23:51 +00:00
Chris Timmons
9cd5c83ccc Remove extra cruft. The previouos commit silently removed source ifles no longer required as of v2.2.1 as well. 1997-12-15 23:27:04 +00:00
Chris Timmons
d8cd62e2bf Resolve -Wall issues and be stylistic about #include directives. 1997-12-15 23:23:35 +00:00
Chris Timmons
f409599509 Merge and resolve conflicts... 1997-12-15 23:13:53 +00:00
Chris Timmons
dde39e507a Import of virgin Global v2_2_1 sources 1997-12-15 23:08:46 +00:00
Chris Timmons
4a7f990ff7 This commit was generated by cvs2svn to compensate for changes in r31750,
which included commits to RCS files with non-trunk default branches.
1997-12-15 23:08:46 +00:00
Garrett Wollman
0bfc6e6706 This is a hack. Decode IEEE 802.1Q VLAN tagging so that we can decode
tagged traffic according to the encapsulated protocol.  It needs in
addition modifications to the filter generator which would deal with
checking the ethertype and vlan header as required.
1997-12-08 21:42:35 +00:00
Philippe Charnier
81e04eaec0 MFC: no \n in syslog strings. Change -P to -p in flags. EOF -> -1. Use err(3). 1997-12-08 07:41:13 +00:00
Warner Losh
eb064071a1 Buffer overflow from bitblt's commit to OpenBSD. Committed here for lack
of a better place to do it.

Reviewed by:	joerge
Obtained from: OpenBSD
1997-12-04 02:54:05 +00:00
John Polstra
5f6c54ce0a The previous revision (objfiles.c:1.2) fixed backtracing in the
absence of full debugging symbols for the kernel, but broke it for
application programs.  This commit disables that change except when
kernel debugging mode is in effect.

This needs to go into -2.2 as well, after a suitable burn-in period.
1997-11-27 21:26:08 +00:00
Paul Traina
4e181614f6 Resolve merge conflicts. 1997-11-27 19:52:45 +00:00
Paul Traina
d18478a033 This commit was generated by cvs2svn to compensate for changes in r31434,
which included commits to RCS files with non-trunk default branches.
1997-11-27 19:49:05 +00:00
Paul Traina
f25b19db8d Import TCL v8.0 PL2. 1997-11-27 19:49:05 +00:00
Steve Price
f8a9ca2b82 Make this manpage reveal its true identity. A diff of these
changes has also been sent to opie-bugs@inner.net.

PR:		5129
Submitted by:	jkh
1997-11-27 18:10:42 +00:00
Peter Wemm
af5dd3181a Import ipfilter 3.2.1 (update from 3.1.8) 1997-11-16 04:52:19 +00:00
Peter Wemm
7c1fcb22f9 This commit was generated by cvs2svn to compensate for changes in r31183,
which included commits to RCS files with non-trunk default branches.
1997-11-16 04:52:19 +00:00
John-Mark Gurney
1d9dbc1a0d fix return type so that it returns both bytes (instead of just first)
Found-by: conrads@neosoft.com
Fix-by: Luigi
1997-11-12 08:48:13 +00:00
Andrey A. Chernov
4cd7551c19 Merge changes 1997-11-06 01:00:03 +00:00
Andrey A. Chernov
7c3c5c1539 Update to current bash version 1997-11-06 00:50:44 +00:00
Andrey A. Chernov
dc25b435e9 This commit was generated by cvs2svn to compensate for changes in r30971,
which included commits to RCS files with non-trunk default branches.
1997-11-06 00:50:44 +00:00
Andrey A. Chernov
53ba4fe663 Some FreeBSD files to add... 1997-10-30 19:35:17 +00:00
Andrey A. Chernov
b5935e1422 Temp remove config.h, was imported to FSF branch 1997-10-30 19:34:01 +00:00
Andrey A. Chernov
006b6b8074 This commit was generated by cvs2svn to compensate for changes in r30858,
which included commits to RCS files with non-trunk default branches.
1997-10-30 19:13:48 +00:00
Andrey A. Chernov
964382dc00 Add file needed for configure 1997-10-30 19:13:48 +00:00
Andrey A. Chernov
a85388f609 -f -> -F for pr 1997-10-30 19:07:39 +00:00
Andrey A. Chernov
bb3e4497dd Localize diff 1997-10-29 17:17:32 +00:00
Andrey A. Chernov
587c681815 Include <gnuregex.h> for FreeBSD 1997-10-29 16:27:56 +00:00
Andrey A. Chernov
f5e00e241f Initial import 1997-10-29 16:14:35 +00:00
Andrey A. Chernov
4be67e9c5a This commit was generated by cvs2svn to compensate for changes in r30839,
which included commits to RCS files with non-trunk default branches.
1997-10-29 16:14:35 +00:00
James Raynard
be4ad1aa3f Remove yet another superfluous file. 1997-10-26 12:53:16 +00:00
Andrey A. Chernov
ac1431c18d Back out mode (unsigned char)... 1997-10-26 12:17:33 +00:00
Andrey A. Chernov
bca8110182 Back out (unsigned char) cast, will use -funsigned-char instead 1997-10-26 12:14:54 +00:00
Andrey A. Chernov
833c9488dd Add more (unsigned char) casts to ctype macros
Fix casetable usage in the same manner too
1997-10-23 02:03:43 +00:00
Andrey A. Chernov
92463139ce Add (unsigned char) cast to all ctype macros 1997-10-23 01:29:44 +00:00
James Raynard
7349403013 Fix a #include "regex.h" that slipped through the net. 1997-10-18 13:12:39 +00:00
James Raynard
72ed1bbc5f Update expected results for random number generator. 1997-10-17 19:24:33 +00:00
James Raynard
5ad3425a39 Remove GNU regex.h (it's already in /usr/include). 1997-10-17 19:16:02 +00:00
James Raynard
9498125fa7 Update FREEBSD-upgrade file after removing random.* 1997-10-16 21:45:46 +00:00
James Raynard
156ac67ae3 Delete redundant files (thanks, Andrei!) 1997-10-16 21:39:00 +00:00
Andrey A. Chernov
fca096e2e1 srandom(time()) is too weak even for joke, use srandom(time() ^ getpid())
at least. Note that srandomdev can't be used here since gawk preserve old
seed value.
1997-10-15 22:49:19 +00:00
Andrey A. Chernov
65068df9af Unspam l10n ranges check 1997-10-15 15:37:46 +00:00
Andrey A. Chernov
d4efecb283 Do not use gawk random, we have better one in libc 1997-10-15 14:01:31 +00:00
James Raynard
9253f21fd5 This commit was generated by cvs2svn to compensate for changes in r30411,
which included commits to RCS files with non-trunk default branches.
1997-10-14 18:17:11 +00:00
James Raynard
728510ce91 Virgin import of GNU awk 3.0.3 1997-10-14 18:17:11 +00:00
Peter Wemm
13aee6bd41 Fix a serious bug in the recursion processor. When descending a tree,
the descend can jump several directories down in one hit, eg: when a user
mentions multiple directories on the command line, eg: "cvs diff
sys/i386/isa/snd sys/sys".  The problem is that the chdir()s are
pushed/popped to account for this, but the "full path" merely has
the last component chopped off on the way back up.  This busts lots
of things when the recursion is backing up more than one directory (such
as in the example).  This causes 'cvs diff' to emit bogus Index: lines,
'cvs update' to do really stupid things, 'cvs commit' to record incorrect
pathnames etc.  I'm not sure that what I've done is quite correct, there
seems to be a comment that implies some sort of problem with "." vs. ""
equivalence or not, perhaps this is a problem on some other OS's, but
I've not (yet) found any problems.  This bug has been present since
at least cvs-1.8.1.

This should fix problems noted by several people including asami and jmg.
1997-10-12 12:47:05 +00:00
Julian Elischer
90a5b66500 make a string longer so we can handle deeper source trees.
if global is in 2.2 can we do this there as well?

Submitted by:	doug ambrisko (ambrisko@whistle.com)
1997-10-11 01:07:42 +00:00
Frank Durda IV
bf7bcc34e1 PR: bin/771 and bin/1037 are resolved by this change
This change changes the default handling of linemode so that older and/or
stupider telnet clients can still get wakeup characters like <ESC> and
<CTRL>D to work correctly multiple times on the same line, as in csh
"set filec" operations.   It also causes CR and LF characters to be read by
apps in certain terminal modes consistently, as opposed to returning
CR sometimes and LF sometimes, which broke existing apps.  The change
was shown to fix the problem demonstrated in the FreeBSD telnet client,
along with the telnet client in Solaris, SCO, Windows '95 & NT, DEC OSF,
NCSA, and others.

A similar change was incorporated in the non-crypto version of telnetd.

This resolves bin/771 and bin/1037.
1997-10-08 03:14:34 +00:00
Poul-Henning Kamp
7ff52f246b Resolve conflicts. 1997-10-01 13:27:30 +00:00
Poul-Henning Kamp
539e1e66ff Upgrade to 8.0 release. 1997-10-01 13:19:13 +00:00
Poul-Henning Kamp
6456a78f41 This commit was generated by cvs2svn to compensate for changes in r30037,
which included commits to RCS files with non-trunk default branches.
1997-10-01 13:19:13 +00:00
Andrey A. Chernov
b1769be32c Move locks from /etc/opielocks to /var/run/opielocks to keep
/etc  non-writeable as possible
1997-10-01 13:02:20 +00:00
Andrey A. Chernov
6305a1fdec This commit was generated by cvs2svn to compensate for changes in r29975,
which included commits to RCS files with non-trunk default branches.
1997-09-29 11:31:22 +00:00
Andrey A. Chernov
32fb311063 Add setutent.c 1997-09-29 11:31:22 +00:00
Andrey A. Chernov
14925a4bcd Oops, __END_DECLS was in wrong place 1997-09-29 10:58:53 +00:00
Andrey A. Chernov
bde4652505 Not used in this version 1997-09-29 10:42:45 +00:00
Andrey A. Chernov
4aed43db5a Moved to libopie 1997-09-29 10:38:24 +00:00
Andrey A. Chernov
e9fcc517e1 Merge 1997-09-29 10:33:14 +00:00
Andrey A. Chernov
8fd53644f9 Upgrade to 2.31 1997-09-29 08:53:38 +00:00
Andrey A. Chernov
27544d1f2f This commit was generated by cvs2svn to compensate for changes in r29964,
which included commits to RCS files with non-trunk default branches.
1997-09-29 08:53:38 +00:00
Wolfram Schneider
eb00d48411 Polish message catalogs for vi.
Submitted by: abial@warman.org.pl
PR:         4522
1997-09-22 23:14:37 +00:00
Wolfram Schneider
99352561f6 .Ox macro needs to support "OpenBSD 2.1"
PR: docs/4561
Submitted by: Norihiro Kumagai <kuma@slab.tnr.sharp.co.jp>
1997-09-19 21:37:05 +00:00
John-Mark Gurney
c2a28d3aba this is an import of Sujal M. Petal's pnpinfo.. it includes modifications
by Luigi Rizzo and myself...
1997-09-19 15:36:00 +00:00
Philippe Charnier
8e705c9c21 Typo: environmental variable -> environment variable. 1997-09-18 06:49:40 +00:00
Wolfram Schneider
753da33042 Add a genclass.1 manpage. 1997-09-15 19:18:59 +00:00
Wolfram Schneider
11210c4ed5 Add a simple manpage. 1997-09-15 16:08:56 +00:00
Andrey A. Chernov
dfb33229a0 Sense *.ISO_8859-1 and *.KOI8-R locales from environment
PR: 4290
Submitted by: "Anatoly A. Orehovsky" <tolik@www.tomsk.su>
1997-09-15 02:03:13 +00:00
Wolfram Schneider
c455f09b2d Add a simple manpage. 1997-09-14 23:43:22 +00:00
Wolfram Schneider
f6b31571f6 spelling corrections.
PR: docs/4450
Submitted by: josh@quick.net
1997-09-13 16:01:53 +00:00
Mark Murray
04c426cce3 Bring the FreeBSD changes to the virgin sources. 1997-09-07 07:02:53 +00:00
Mark Murray
81cb6ddccd Initial import of BSD telnet. This will be used to build the kerberised
telnet, and after userland diffs have been merged in, will be used to
build the non-kerberised sources as well. (See unifdef(1) for details)
1997-09-04 06:11:16 +00:00
Paul Traina
5901e3495b Remove bits of libmissing we don't care about. 1997-09-03 08:24:28 +00:00
John-Mark Gurney
46657c7e77 fix a few spelling changes
Submitted by: Josh Gilliam

Closes PR's: 4429, 4431-4438

PS: He has agreed to submit all contrib fixes back to the original author.
1997-08-30 12:22:49 +00:00
John-Mark Gurney
9ee038d6de fix misspelling
Submitted-by: Josh Gilliam

Closes PR:4430
1997-08-30 11:12:39 +00:00
John-Mark Gurney
7844af61ca fix misspelling
Submitted-by: Josh Gilliam

Closes PR: 4422
1997-08-30 11:01:54 +00:00
Peter Wemm
a5c9a443bf Import a file that is needed when compiling under ELF. 1997-08-29 13:48:36 +00:00
Peter Wemm
fa170aac22 This commit was generated by cvs2svn to compensate for changes in r28896,
which included commits to RCS files with non-trunk default branches.
1997-08-29 13:48:36 +00:00
Peter Wemm
3be5a5220c "fix" this for compiling under the sticter ELF linker.. There was a
reference to an undefined function (digit_value_in_base()) that was static
elsewhere that it was used.
1997-08-29 06:14:05 +00:00
Peter Wemm
2eba9bcd51 Merge in some of my changes with John's. I've used this to build
an ELF system.  I'm not sure about some of the things here.  We definately
need to go back and rationalize this.
1997-08-29 06:11:52 +00:00
John Polstra
6eb0e3b9f9 Add the necessary defines to the freebsd-elf configuration so that
it can be built via BINFORMAT=elf in the environment.  Most likely
some of the directory defines such as STANDARD_EXEC_PREFIX will
change again soon, as we settle on the proper locations for the
various components.

Note, the build still fails when it tries to compile libgcc2.c
using the ELF compiler, unless arrangements have been made for the
compiler to find the ELF assembler instead of the a.out assembler.
1997-08-28 01:38:56 +00:00
Paul Traina
0e904270de Update synopsis. A partial fix has also been submitted to opie@bugs@inner.net
Submitted by:	bde
1997-08-26 20:55:43 +00:00
David E. O'Brien
7fd6f1c607 I clamined to not have imported cpio.texi. This is not true. 1997-08-25 09:11:06 +00:00
Peter Wemm
676e0d5507 Fix a braino in the Attic/ removal code for $CVSHeader$ that originated
from XFree86.  I think this was harmless, the strncmp happened always
rather than being optimised out.

Submitted by: jdp
1997-08-22 06:57:30 +00:00
Peter Wemm
f86fcdade3 oops, missed a debug printf somehow.. 1997-08-19 11:29:01 +00:00
Peter Wemm
f9d4cf805b Redo the $CVSHeader$ support to use code similar to that from David Dawes
but adapted to run within cvs instead of rcs.
The stuff I hacked together didn't strip out "/Attic/" for files
on branches when the HEAD version was cvs rm'ed.
1997-08-19 11:21:34 +00:00
Chris Timmons
489efa52f0 Repair ESC-r processing in the gtags emacs mode (typo).
Submitted by: Shigio Yamaguchi <shigio@wafu.netgate.net>
1997-08-17 18:01:54 +00:00
Chris Timmons
0839869572 The standard upgrade procedure derived from the handbook section
on maintaining contributed software.

The merge from our FreeBSD maintained v1.81 to the author's v2.0
yielded only one small difference (a duplicate inclusion of errno.h
in btreeop/btreeop.c) which for now I will leave alone and submit
back to the author; we'll catch it on the vendor branch in v2.1.

Reviewed by: jdp
1997-08-16 04:29:36 +00:00
Chris Timmons
43c4a137c1 Import global v2.0 as contributed software. We will maintain it this
way, retiring the sources from usr.bin/global shortly.

Reviewed by: jdp
Discussed-with: obrien
1997-08-16 04:13:58 +00:00
Chris Timmons
84d8721748 This commit was generated by cvs2svn to compensate for changes in r28248,
which included commits to RCS files with non-trunk default branches.
1997-08-16 04:13:58 +00:00
Steve Price
2ddd302d75 __GNU_G__ -> __GNUG__
PR:		gnu/4188
Submitted by:	Dustin Sallings <dustin@spy.net>
1997-08-13 03:11:18 +00:00
Andrey A. Chernov
6d0f9ab962 Detect null secret as error, it is temp. fix until next release
Submitted by: Craig Metz <cmetz@inner.net>
1997-08-05 23:15:28 +00:00
Poul-Henning Kamp
88cf7394be Resolve conflicts, seems like just one of our changes didn't make it back. 1997-07-25 19:49:22 +00:00
Poul-Henning Kamp
3d33409926 Import TCL release 8.0 beta 2. 1997-07-25 19:27:55 +00:00
Poul-Henning Kamp
21cd47e85e This commit was generated by cvs2svn to compensate for changes in r27676,
which included commits to RCS files with non-trunk default branches.
1997-07-25 19:27:55 +00:00
Bruce Evans
365c345167 Create fifos using mkfifo() instead of attempting to create them using
mknod().
1997-07-13 14:07:48 +00:00
Peter Wemm
8338db6552 Apply Bill Fenner's patch for the lost vendor branch bug - I've looked
over the code too and it makes sense to me.

PR: 4033
1997-07-05 02:15:42 +00:00
Bruce Evans
b3174ab1ce Removed most unused files (about 8M total). 1997-06-29 18:12:14 +00:00
Bruce Evans
82db78fb71 Removed unused files (about 8MB total). 1997-06-29 18:06:40 +00:00
Bruce Evans
d016a1346f Fixed clobbered vendor Id. 1997-06-29 11:52:51 +00:00
Bruce Evans
d2f874d9b7 Attempt to fix clobbered vendor Id. 1997-06-29 11:43:31 +00:00
Steve Price
a2f9613a31 Add a blurb on how to import newer versions of patch(1) so
that others don't make the same bone-headed mistakes that
I just did.

Obtained from: Peter Wemm's version of this file in contrib_cvs
1997-06-29 07:20:16 +00:00
Steve Price
b75cabea32 -Wall clean. 1997-06-29 06:56:24 +00:00
Steve Price
511633a2fe Import of GNU patch version 2.4. 1997-06-29 06:55:02 +00:00
Steve Price
bf872bad95 This commit was generated by cvs2svn to compensate for changes in r27044,
which included commits to RCS files with non-trunk default branches.
1997-06-29 06:55:02 +00:00
Peter Wemm
0bf958b1eb Clean (trimmed down) import of bind-4.9.6 onto vendor branch. This is
to buy time to allow v8.1.1 to be done right rather than rushing it.
1997-06-27 07:25:32 +00:00
Peter Wemm
11e226045a This commit was generated by cvs2svn to compensate for changes in r26971,
which included commits to RCS files with non-trunk default branches.
1997-06-27 07:25:32 +00:00
Peter Wemm
6d4b6391fd remove some stray files 1997-06-22 12:50:33 +00:00
Peter Wemm
c222d4bb39 update the 'zapped files' list 1997-06-22 11:06:30 +00:00
Peter Wemm
b4b1029478 merge conflicts 1997-06-22 10:59:24 +00:00
Peter Wemm
3398c9be05 Import cvs-1.9.10 1997-06-22 10:55:49 +00:00
Peter Wemm
b4f08217a4 This commit was generated by cvs2svn to compensate for changes in r26801,
which included commits to RCS files with non-trunk default branches.
1997-06-22 10:55:49 +00:00
Andrey A. Chernov
88d4735de6 Merge with previous variant 1997-06-07 12:58:06 +00:00
Andrey A. Chernov
933f368172 Virgin import of readline-2.1, unneded docs deleted 1997-06-07 12:17:44 +00:00
Andrey A. Chernov
9698361552 This commit was generated by cvs2svn to compensate for changes in r26497,
which included commits to RCS files with non-trunk default branches.
1997-06-07 12:17:44 +00:00
Peter Wemm
a3faae319b If the localid is set, don't forget to expand it... 1997-06-02 07:06:35 +00:00
Satoshi Asami
7371365efc Make all the info dir entries line up neatly. 1997-05-28 07:49:21 +00:00
Bill Fenner
685b49de6d Get rid of the T2CHECK() macro, since it duplicates functionality
available from TCHECK(), TCHECK2(), TTEST() and TTEST2().
1997-05-27 02:20:36 +00:00
Bill Fenner
2ebf6c0513 Merge tcpdump 3.3.
The print_nfs.c changes are pretty extensive; this is partially because
 LBL did a lot of cleanup and partially because I removed lots of
 pointless changes away from the LBL style.

PR:		3371
mostly-Submitted by:	Chris Timmons <skynyrd@opus.cts.cwu.edu>
1997-05-27 02:17:42 +00:00
Bill Fenner
4de76e3137 Virgin import of LBL tcpdump v3.3 1997-05-27 02:11:31 +00:00
Bill Fenner
5775941a02 This commit was generated by cvs2svn to compensate for changes in r26180,
which included commits to RCS files with non-trunk default branches.
1997-05-27 02:11:31 +00:00
Bill Fenner
4c6f72b0be Merge libpcap 0.3
Update FREEBSD-upgrade to mention bumping library version number.

Suggested-by:	Chris Timmons <skynyrd@opus.cts.cwu.edu>
1997-05-27 00:05:23 +00:00
Bill Fenner
3052b2361a Virgin import of libpcap 0.3 1997-05-27 00:01:12 +00:00
Bill Fenner
a9d3bb1aa3 This commit was generated by cvs2svn to compensate for changes in r26175,
which included commits to RCS files with non-trunk default branches.
1997-05-27 00:01:12 +00:00
Peter Wemm
e393b6503f One of the new cvs's features is to be able to run a checker on the
log messages after they've been entered.  This is more flexible than
using the editinfo script since it works for all log message types
and doesn't have to deal with trying to run the editor for the user.

The problem is that the verifymsg script can't modify the file like
editinfo can, which makes it useless for cleaning up the message (as is
needed for remote commits etc).  This change causes the verifymsg handler
to read back the message after the verify script has run and returned an
"OK" exit code.
1997-05-26 05:15:29 +00:00
Darren Reed
acdb2ce24a Import version 3.2alpha7
(they're currently in src/contrib/ipfilter/ipfilter/ by mistake, if someone
 from core would like to delete that directory with three files as I'm not
 meant to do that :)
1997-05-25 15:49:17 +00:00
Darren Reed
c72fbbeca9 This commit was generated by cvs2svn to compensate for changes in r26121,
which included commits to RCS files with non-trunk default branches.
1997-05-25 15:49:17 +00:00
Darren Reed
0eab801c99 Import version 3.2alpha7 1997-05-25 15:45:04 +00:00
Darren Reed
03310e166b This commit was generated by cvs2svn to compensate for changes in r26119,
which included commits to RCS files with non-trunk default branches.
1997-05-25 15:45:04 +00:00
Peter Wemm
8c7b1f58de forgot to mention that the vms source was pruned 1997-05-23 14:55:31 +00:00
Peter Wemm
b599640220 Merge conflicts from 970523 import 1997-05-23 14:52:34 +00:00
Peter Wemm
aa134866ad Import a slightly newer version of 1.9.9 (as at 970523) that has fixed a
few more memory leaks and cleaned up getopt usage.  These were done shortly
after the last one I imported.  Very little has changed other than that.
(except for some doc updates)

Obtained from: cyclic.com
1997-05-23 14:48:05 +00:00
Peter Wemm
18c208774a This commit was generated by cvs2svn to compensate for changes in r26065,
which included commits to RCS files with non-trunk default branches.
1997-05-23 14:48:05 +00:00
Peter Wemm
348d458447 Attempt to work around the problem Bruce reported with 'cvs diff -rHEAD'
complaining about long-deleted files having been deleted and that there
is no diff available.
1997-05-21 16:21:08 +00:00
Eivind Eklund
6ad98044a1 it's'' -> its'' where appropriate and typo fixes in time2posix.3.
Closes PR docs/3612.

Submitted by:	Josh Gilliam <soil@quick.net>
1997-05-19 16:33:27 +00:00
Peter Wemm
eac9eb60ad Implement a -R option to cvs to turn on read-only repository mode.
When using a local repository that is only written to by CVSup - which
I assume doesn't do the cvs locking protocol - this option might be a
speedup since cvs will not create lock files.
1997-05-17 14:20:33 +00:00
Peter Wemm
c5648cfb9a use xstrdup rather than strdup in case of malloc failure. 1997-05-17 14:14:47 +00:00
Peter Wemm
e7905b1443 Catch write-lock attempts immediately if running in read-only mode rather
than depending on getting a write fail.
1997-05-17 14:04:18 +00:00
Peter Wemm
484aca02e2 Pull in OpenBSD's support for checking out from a read-only repository,
such as within an anoncvs server, or from a CDROM repository.
Cyclic (the cvs maintainers) do not like this approach and have an
alternative read-only system, but that requires a read/write repository to
work (which rules out CDROM).

Obtained from: OpenBSD
1997-05-17 14:01:25 +00:00
Peter Wemm
16d2615d3e Complete the support for $FreeBSD$. Add an option "tagexpand=" which
controls the RCSINCEXC encironment variable for our rcs version, and
also convert the rest of the checkout enhancements from rcs into cvs's
fast checkout code.  (yes, cvs doesn't call 'co' anymore)
We now have fine grained individual keyword expansion control and can
set the keyword to anything the user wants.

Also, a new keyword, $CVSHeader$ comes in from rcs, it's like $Header$
except that it shows the pathname relative to the cvsroot.  eg:
  $FreeBSD: src/bin/ls/ls.c,v 1.10.2.14 1997/05/17 13:15:45 peter Exp $
	    ^^^^^^^^^^^^^^^^^
The idea for this comes from $XFree86$ which expands like $CVSHeader$.
The "local id" string can be set to expand like Id, Header or CVSHeader.
(Matching support for this is apparently happening in cvsup right now)
1997-05-17 13:38:45 +00:00
Peter Wemm
740a435538 Initial round of support for a local $Id$ keyword in cvs, eg: $FreeBSD$.
This is not complete yet in that it doesn't drive our version of RCS
completely, but it does work fine when you do the appropriate magic.

Obtained from: OpenBSD source tree
1997-05-16 00:12:16 +00:00
Peter Wemm
a6f2f679f8 Update 1997-05-15 23:10:27 +00:00
Peter Wemm
b2eea91b77 Delete extranious $Id$ - it's not expanded on -ko files 1997-05-15 22:56:29 +00:00
Peter Wemm
625799437a Merge import conflicts 1997-05-15 22:52:26 +00:00
Peter Wemm
02e03a8b5f Merge conflicts 1997-05-15 22:50:32 +00:00
Peter Wemm
4a59246031 Import of cvs-1.9.9-970515 onto vendor branch.
Obtained from: cyclic.com
1997-05-15 22:46:24 +00:00
Peter Wemm
474fb3aab4 This commit was generated by cvs2svn to compensate for changes in r25839,
which included commits to RCS files with non-trunk default branches.
1997-05-15 22:46:24 +00:00
Peter Wemm
26a5f2e99c add .St -p1003.1b and -p1003.1b-93 1997-05-12 12:28:57 +00:00
Peter Wemm
5db0562b97 The -pthread option was added to freebsd.h but missed from freebsd-elf.h 1997-05-12 09:24:27 +00:00
John-Mark Gurney
86696f47ac change an' to a'...
Submitted by: Josh Gilliam
Closes PR#3471
1997-05-05 07:43:50 +00:00
John Birrell
85351f7d5a Let gcc know about libc_r. Use -pthread to link against libc_r instead
of libc.
1997-05-03 02:58:54 +00:00
Andrey A. Chernov
a90ebee102 Emulate ':o' and '/o' letters using 'o' 1997-05-02 05:18:37 +00:00
Peter Wemm
300fb94053 correct vfork()/exit() to vfork()/_exit(). This is far more important
now that vfork() actually works in FreeBSD for the first time.

Spotted by: se
1997-04-25 06:42:57 +00:00
Andrey A. Chernov
447e1358b6 Use UT_NAMESIZE instead of hardcoded user names length 1997-04-21 13:52:29 +00:00
Jordan K. Hubbard
e56a720515 Enable GLOBAL tags support for nvi.
Submitted-By: Shigio Yamaguchi <shigio@wafu.netgate.net>
1997-04-18 23:36:52 +00:00
John Polstra
07bb70bf47 Make "gcc -shared" work properly for building shared libraries. An
up-to-date version of c++rt0.o is necessary for this to work right.

Closes PR gnu/3035: gcc -shared flag is broken.
1997-04-09 20:13:41 +00:00
John Polstra
5a55bb419e Disallow "-p" when linking, with a diagnostic that recommends using
"-pg" and gprof(1) instead.  FreeBSD does not support plain "-p" or
prof(1).

Plain "-p" is still allowed when just compiling.  In the compile
phase, "-p" is identical "-pg".  It is used by <bsd.lib.mk> for
building profiled object files.
1997-04-05 16:19:08 +00:00
David E. O'Brien
39caadde7c Fix bug that can cuase a loop to become endless.
The bug is triggered by attempts to copy in (-i) a file which happens
to have zero length.
1997-04-03 11:24:59 +00:00
David E. O'Brien
bcff1846f0 FreeBSD specific readme for contributed source.
(FREEBSD-upgrade is now the "accpeted" filename for this).
1997-04-03 10:45:21 +00:00
Darren Reed
5a1a935563 Import IP Filter version 3.2alpha4 to bring in working LKM for 2.2 1997-04-03 10:22:02 +00:00
Darren Reed
ea7c0c7bcd This commit was generated by cvs2svn to compensate for changes in r24583,
which included commits to RCS files with non-trunk default branches.
1997-04-03 10:22:02 +00:00
Paul Traina
ae56d56bdf Base work to make gdbserver work with FreeBSD 1997-04-03 00:29:25 +00:00
David E. O'Brien
c075572228 This commit was generated by cvs2svn to compensate for changes in r24434,
which included commits to RCS files with non-trunk default branches.
1997-03-31 09:37:59 +00:00
David E. O'Brien
0b4f4c36a7 Virgin import of GNU cpio v2.4.2. 1997-03-31 09:37:59 +00:00
David E. O'Brien
0ae8758e00 JKH says:
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.. :-)
1997-03-30 11:01:43 +00:00
David E. O'Brien
7b0fc5433e don't lookup rsh(1) at bogus pathnames
Submitted by:	joerg via old gnu/usr.bin/cpio v2.3
1997-03-30 10:56:38 +00:00
David E. O'Brien
88fd8e23ef Don't set the umask until after we have processed the arguments
and opened the archive file.  This allows "cpio -o -O output_file"
to create the output file with the callers proper umask.
Closed PR# 1391

Add setlocale LC_ALL (from ache).
1997-03-30 10:50:01 +00:00
David E. O'Brien
adfc6bdf06 Support dummy lchown() so that cpio understands 4.4 symbolic links. 1997-03-30 10:45:44 +00:00
David E. O'Brien
e3740caa96 - Correct the recommended option for "find" from "-depth" to "-d".
- Fix gross spelling and typographical errors pointed out by Keith Bostic.
- Mention -l, --link is only usable with "-p".

Obtained from: old gnu/usr.bin/cpio v2.3.
1997-03-30 10:42:21 +00:00
David E. O'Brien
895bfbc4e9 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.

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.

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).

Submitted by:	bde via old gnu/usr.bin/cpio v2.3.
1997-03-30 10:34:16 +00:00
David E. O'Brien
22565b1e72 Fix typo. 1997-03-30 10:32:26 +00:00
David E. O'Brien
ab2f30749e I goofed, Makefile lchown.c don't belong here. 1997-03-30 08:19:38 +00:00
David E. O'Brien
db6f14a034 Replace ctime by strftime %c to use national representation.
Use isprint() for Localization.

Submitted by:	ache via gnu/usr.bin/cpio v2.3
1997-03-30 00:23:39 +00:00
David E. O'Brien
28d8514012 FreeBSD BSD-style Makefile for contributed CPIO source. 1997-03-29 23:11:22 +00:00
David E. O'Brien
bf68d2fada Rodney Grimes's dummy lchown() so that cpio understands 4.4 symbolic links.
(taken from old gnu/usr.bin/cpio)

Reviewed by:	phk
1997-03-29 23:10:24 +00:00
David E. O'Brien
b14e73e0c2 Don't need tcexparg.c on FreeBSD. 1997-03-29 23:05:27 +00:00
David E. O'Brien
31f82f1198 Don't need tcexparg.c which impliments Unix-style command line wildcards
for Turbo C
1997-03-29 23:04:03 +00:00
David E. O'Brien
beeb070b45 FreeBSD specific readme for contributed CPIO soruces. 1997-03-29 22:48:41 +00:00
David E. O'Brien
e7fc40c22f Virgin import of GNU cpio v2.4.2. 1997-03-29 22:40:46 +00:00
David E. O'Brien
0b02b926be This commit was generated by cvs2svn to compensate for changes in r24398,
which included commits to RCS files with non-trunk default branches.
1997-03-29 22:40:46 +00:00
Wolfram Schneider
f2b89289b3 back out rev 1.8 (last minute CDROM releases) 1997-03-29 20:34:40 +00:00
Peter Wemm
226e691b4c Don't use these that were generated on a foreign system, generate our own. 1997-03-29 10:36:49 +00:00
John Polstra
27aa98671d Update the value of "__FreeBSD__" to 3 for the ELF compiler. 1997-03-26 17:05:21 +00:00
Satoshi Asami
8fd2f83608 -current is now 3.0. NOT a 2.2 candidate. :) 1997-03-25 08:06:06 +00:00
Wolfram Schneider
3e9c55a063 Add last minute CDROM releases 2.1.6.1, 2.1.7.1, 2.2.1 to macro .Fx 1997-03-23 22:31:19 +00:00
Joerg Wunsch
6ab598d69b Apply the FreeBSD-local patches.
Obtained from:	The ports collection.
1997-03-23 18:53:01 +00:00
Joerg Wunsch
583a088157 This commit was generated by cvs2svn to compensate for changes in r24139,
which included commits to RCS files with non-trunk default branches.
1997-03-23 18:51:21 +00:00
Joerg Wunsch
aee34003d7 This is the long-awaited import of top into the base system (actually,
the src/contrib/top part right now).  This tools is simply too system-
dependant to maintain it in the ports collection.
1997-03-23 18:51:21 +00:00
John-Mark Gurney
538efd5320 slight fix to gcc's man page... 1997-03-23 00:51:16 +00:00
Mike Pritchard
641973124a Fix the location of the files in the FILES section.
Closes PR# 3063.

Submitted by:	Kent Vander Velden <graphix@iastate.edu>
1997-03-22 23:59:56 +00:00
Doug Rabson
adce8de5c3 Don't indirect through a NULL pointer in rl_strpbrk. This makes filename
completion work in GDB.
1997-03-22 14:03:08 +00:00
Bruce Evans
f90e4276f2 Quick fix for section limits not being relocated. This has always been
broken for gdb -k, but the section limits weren't used much in previous
versions of gdb in FreeBSD.  Now they are used for backtracing when full
symbols aren't available, and in some other new cases.

This should be fixed properly by someone who knows bfd.

This should be fixed in 2.2.
1997-03-22 04:44:51 +00:00
Mike Pritchard
29f7017cff Add all of the pre-FreeBSD 2.0 release to the .Fx macro. 1997-03-21 19:09:21 +00:00
Mike Pritchard
b8b9ef00b4 Update the usage message for the ".Bf" macro to match the actual
arguments that it takes.
1997-03-19 20:05:19 +00:00
Bruce Evans
610ad63a48 Fixed synopsis (missing #include and wrong paths in #includes). 1997-03-19 01:44:56 +00:00
Bruce Evans
39f44bd04f This commit was generated by cvs2svn to compensate for changes in r23943,
which included commits to RCS files with non-trunk default branches.
1997-03-16 17:37:16 +00:00
Bruce Evans
145f6cb629 Attempt to (re-?)import enough of gdb's configuration files for
./configure to work.
1997-03-16 17:37:16 +00:00
Bruce Evans
6ca2402eef Removed binary file. 1997-03-16 15:10:43 +00:00
Bruce Evans
7a8d9b048b Recovered FreeBSD changes from attic:
1.2: don't refer to emacs (1)
1.3: fixed "will will".
1997-03-12 19:42:21 +00:00
Paul Traina
6234a6e16a Make OPIE's public API use BSD conventions. 1997-03-08 19:42:17 +00:00
Mike Pritchard
ee04d1548c Bring the .Nx (NetBSD) macro into line with NetBSD's version.
Add the .Ox (OpenBSD) macro from OpenBSD.
1997-03-06 07:06:32 +00:00
Mike Pritchard
911d1ec30d The .Os macro was missing 2.1.6, 2.1.7 and 3.0.
The .Fx macro was missing 2.1.7.

Add 2.2.5 to both .Os and .Fx.  If I'm wrong about the version
number, no big deal - it can be removed later, but I wanted
to be able to get this into 2.2 so that when I'm using a
2.2 system ome months down the line, man pages intended for (what I
think will be the next 2.2 release) will be formatted properly.

Also fix a typo in a comment.
1997-03-06 06:58:12 +00:00
Peter Wemm
b182e52bf6 reimport ipfilter v3.1.8 to get it onto the vendor branch again. 1997-03-02 15:40:21 +00:00
Peter Wemm
87a0d81b21 This commit was generated by cvs2svn to compensate for changes in r23279,
which included commits to RCS files with non-trunk default branches.
1997-03-02 15:40:21 +00:00
Peter Wemm
4d64566be2 Missed the $FreeBSD$ on this otherwise touched file. 1997-03-02 05:18:13 +00:00
David E. O'Brien
6a16ae63cd Undo rev 1.4 of freebsd.h and 1.2 freebsd-elf.h, where I added
_BSD4_4 as a predefined symbol.  People on the lists generally didn't care
for it.
1997-02-24 13:19:34 +00:00
Peter Wemm
8988623bce check for /usr/libdata/gcc/specs and use it if it exists. 1997-02-22 15:21:40 +00:00
Peter Wemm
d83a2228e2 Revert a $FreeBSD$ to $Id$ (file otherwise modified) 1997-02-22 14:45:36 +00:00
Peter Wemm
d1b41eefd9 Urk, there were two $FreeBSD$'s in this file... 1997-02-22 11:35:10 +00:00
Peter Wemm
fda8ea94b5 back out an easy $FreeBSD$ (file already left vendor branch) 1997-02-22 11:34:03 +00:00
Peter Wemm
99a60da8f1 Back out an easy $FreeBSD$ (file already left vendor branch) 1997-02-22 10:53:59 +00:00