223 Commits

Author SHA1 Message Date
peter
344c014087 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
a3f9754a77 use xstrdup rather than strdup in case of malloc failure. 1997-05-17 14:14:47 +00:00
peter
9d520c8a55 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
2b6097ead3 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
4ad318b323 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
12c4ced9fa 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
174a377378 Update 1997-05-15 23:10:27 +00:00
peter
baaed17f86 Delete extranious $Id$ - it's not expanded on -ko files 1997-05-15 22:56:29 +00:00
peter
6ff5202f15 Merge import conflicts 1997-05-15 22:52:26 +00:00
peter
e99541e508 Merge conflicts 1997-05-15 22:50:32 +00:00
peter
4667046756 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
4f40fe8334 Import of cvs-1.9.9-970515 onto vendor branch.
Obtained from: cyclic.com
1997-05-15 22:46:24 +00:00
peter
4e0403c01e add .St -p1003.1b and -p1003.1b-93 1997-05-12 12:28:57 +00:00
peter
4fade92ec3 The -pthread option was added to freebsd.h but missed from freebsd-elf.h 1997-05-12 09:24:27 +00:00
jmg
4e2b8410b9 change an' to a'...
Submitted by: Josh Gilliam
Closes PR#3471
1997-05-05 07:43:50 +00:00
jb
8063125723 Let gcc know about libc_r. Use -pthread to link against libc_r instead
of libc.
1997-05-03 02:58:54 +00:00
ache
9dce1336fb Emulate ':o' and '/o' letters using 'o' 1997-05-02 05:18:37 +00:00
peter
93c713af2b 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
ache
8d94879c4e Use UT_NAMESIZE instead of hardcoded user names length 1997-04-21 13:52:29 +00:00
jkh
c87043915b Enable GLOBAL tags support for nvi.
Submitted-By: Shigio Yamaguchi <shigio@wafu.netgate.net>
1997-04-18 23:36:52 +00:00
jdp
76800e1dac 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
jdp
8a34de70b7 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
obrien
38e82dbbff 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
obrien
f48bf10e97 FreeBSD specific readme for contributed source.
(FREEBSD-upgrade is now the "accpeted" filename for this).
1997-04-03 10:45:21 +00:00
darrenr
1843adec77 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
darrenr
d255035008 Import IP Filter version 3.2alpha4 to bring in working LKM for 2.2 1997-04-03 10:22:02 +00:00
pst
3b050a1d41 Base work to make gdbserver work with FreeBSD 1997-04-03 00:29:25 +00:00
obrien
8a15519b3e 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
obrien
22bb48addf Virgin import of GNU cpio v2.4.2. 1997-03-31 09:37:59 +00:00
obrien
4cc24cbbac 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
obrien
bee6a370f3 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
obrien
843afab413 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
obrien
f1b5283040 Support dummy lchown() so that cpio understands 4.4 symbolic links. 1997-03-30 10:45:44 +00:00
obrien
8596af284a - 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
obrien
3bca94d06e 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
obrien
3fecf166e7 Fix typo. 1997-03-30 10:32:26 +00:00
obrien
5dcdf37754 I goofed, Makefile lchown.c don't belong here. 1997-03-30 08:19:38 +00:00
obrien
6718192ec9 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
obrien
8d4a60ff51 FreeBSD BSD-style Makefile for contributed CPIO source. 1997-03-29 23:11:22 +00:00
obrien
54e8b4d91d 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
obrien
5d450da5b0 Don't need tcexparg.c on FreeBSD. 1997-03-29 23:05:27 +00:00
obrien
ad1858dc05 Don't need tcexparg.c which impliments Unix-style command line wildcards
for Turbo C
1997-03-29 23:04:03 +00:00
obrien
8a5f0f4d0b FreeBSD specific readme for contributed CPIO soruces. 1997-03-29 22:48:41 +00:00
obrien
b3a30fbfec Virgin import of GNU cpio v2.4.2. 1997-03-29 22:40:46 +00:00
obrien
070358f751 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
wosch
b94212811b back out rev 1.8 (last minute CDROM releases) 1997-03-29 20:34:40 +00:00
peter
471b960858 Don't use these that were generated on a foreign system, generate our own. 1997-03-29 10:36:49 +00:00
jdp
33b1550bf9 Update the value of "__FreeBSD__" to 3 for the ELF compiler. 1997-03-26 17:05:21 +00:00
asami
5db8032745 -current is now 3.0. NOT a 2.2 candidate. :) 1997-03-25 08:06:06 +00:00
wosch
66a23e711e 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