Commit Graph

3078 Commits

Author SHA1 Message Date
mrg 14a817a516 create a "stat_flags.h" to go with stat_flags.c 1998-10-10 07:38:22 +00:00
itohy c567b3c6b8 The range of the argument of ctype(3) functions is not that of "char",
but "unsigned char" plus EOF.
The original code may cause troubles processing 8-bit code files.
1998-10-09 17:00:56 +00:00
wsanchez 55ce51b29f Get rid of commons.
Rename vfree() to v_free() to avoid conflict in out libc's vfree().
1998-10-08 17:36:55 +00:00
lukem da0a823fb0 * hash & progress are mutually exclusive. [noted by mrg@netbsd.org]
* in autofetch mode, don't attempt to 'cd /' on first xfer (only on
  subsequent xfers), as some ftp daemons don't permit that.
  [noted by dbj@netbsd.org].
  XXX: code could be smarter (but a lot more complicated to boot); this
  works for now.
1998-10-08 14:45:26 +00:00
itohy edb019abaf Eliminate memory leaks.
Use  xrealloc()  rather than  xmalloc/memcpy/free  trio.
1998-10-08 08:20:37 +00:00
wsanchez 420c1e461a *** empty log message *** 1998-10-08 02:15:14 +00:00
wsanchez 438823cc1c Add new option -S, which is like -s, but takes a string of options to pass to strip,
rather than "-s". For example:
	install -S "-i -s symbolfile" foo /usr/bin/foo
  Invokes:
	/bin/sh -c "strip -i -s /usr/bin/foo"
  This is needed, because we need different strip options for dynamic libraries and
  Mach-O bundles than for executables; our strip supports more directed stripping.
  /bin/sh is used in this case, to parse the arguments.

Don't bother mmap()ing files of zero length. Was a workaround for a bug in our mmap(),
  which didn't get along with such files, but makes sense anyway.
1998-10-08 02:12:51 +00:00
wsanchez cc084df5da Init style to quiet compiler.
Allow zcat hard link to compress rather than using zcat.sh wrapper; same as uncompress.
Don't install zcat, however; gzcat seems to be living in /usr/bin/zcat at the moment.
1998-10-08 01:56:28 +00:00
wsanchez 76c99f3c0a We can't define MACHINE from a makefile in Rhapsody, because you might be cross
compiling, or building a fat (multi-architecture) binary.  Our compiler
  defines __ARCHITECTURE__ for this use.
Fixed an off-by-one error that may occasionally cause man to seg fault. Found
  by using a special strict malloc() implementation.
1998-10-08 01:36:04 +00:00
wsanchez c19ec78ded Include unistd and sys/fcntl.
Add return types to functions.
1998-10-08 01:32:23 +00:00
wsanchez 1696358aa0 Didn't get along with ObjC/C++ style "//" comments. Add code to deal with that. 1998-10-08 01:31:59 +00:00
wsanchez 1a8d48f462 Add return 0 after errx in to quiet the compiler 1998-10-08 01:31:34 +00:00
wsanchez 9e44eb8cc1 Add __ppc__ test 1998-10-08 01:30:50 +00:00
wsanchez ab92b4feee Get rid of multiply defined common symbols 1998-10-08 01:30:27 +00:00
wsanchez 6f3b17afac #elsej (!) should be #else 1998-10-08 01:29:49 +00:00
wsanchez d2b96d3f77 Get rid of multiply defined common symbols
langauge should be language in error.h
1998-10-08 01:29:27 +00:00
veego ee0b338314 Fix the include problem of <compat/linux/arch/xxx/linux_syscall.h>. 1998-10-04 10:49:58 +00:00
kleink 20eda71b18 It's sufficient to list Janis Joplin's death once only. 1998-10-02 18:19:05 +00:00
erh ecf84c1f19 Add -p flag to usage(). 1998-10-01 18:23:52 +00:00
thorpej 23309c9e22 Make the magic type field explicitly unsigned and fix comparisons of this
value appropriately.  Fixes warnings on systems where char is naturally
unsigned.
1998-09-30 18:51:13 +00:00
thorpej bdbbf87163 Must cast size_t to long and use %ld to print. 1998-09-30 18:37:05 +00:00
jonathan 34bcc57619 Add bzip2, bzip2recover to SUBDIRS. 1998-09-29 22:43:51 +00:00
lukem 887627831e * add transfer rate to progress meter. (suggested by hubert feyrer)
* fix up progress meter display for files once > ~20.47MB has been
  transferred.  (noted by darren reed)
* use xsignal() for SIGWINCH, so window resizes don't abort xfers on
  drainbamaged systems.
* don't assume that TIOCGWINSZ returns a non zero width.
1998-09-28 09:03:22 +00:00
christos 710d4c153b add -p flag, similar to cp(1) 1998-09-28 08:16:15 +00:00
christos 4edda7dedc Modernize (use err, don't use bogus cpp macros, prototypes etc.) 1998-09-27 18:29:15 +00:00
lukem 9dee5d2b46 don't install in /usr/share if NOSHARE is defined 1998-09-27 17:22:03 +00:00
christos 8f945ca5b1 Amend copyright to a berkeley style one. From Ian Darwin. 1998-09-24 12:50:27 +00:00
christos 635d311056 - argument error detection
- long line support
- argument change [-f <fname>] instead of [-c <args>]
- conditional prototypes
1998-09-24 12:28:39 +00:00
perry 50a3fa9e59 make compile with warnings on. 1998-09-23 21:45:44 +00:00
perry b0ed6b6fa0 add shuffle 1998-09-23 21:07:47 +00:00
perry 6e92230560 Add shuffle, a small program for producing permutations.
Note that is still a little cleanup to be done, but I thought it was
the right point to commit.
1998-09-23 21:05:59 +00:00
christos f46e623e45 Turn on ELF and other NetBSD features. 1998-09-20 15:36:46 +00:00
christos 397e929e3b remove old files. 1998-09-20 15:32:43 +00:00
christos faf55c153e resolve corn flakes. 1998-09-20 15:27:15 +00:00
christos a7ad0f02b4 file-3.26 1998-09-19 18:07:40 +00:00
frueauf 342f84988e Remove duplicate paragraph, mention .forward file, fixes pr 6177 by
Andreas Wrede.
1998-09-18 20:39:48 +00:00
christos 82ee767393 Fix conditional variable expression parsing (reported by cgd) 1998-09-18 20:35:11 +00:00
christos 1b24c735a6 PR/6162: Greg A. Woods: pmake does not add suffix rules if gnodes have children.
This is traditional make behavior (Solaris make does the same), but
	 GNU does not. Lets see what breaks.
1998-09-18 20:20:52 +00:00
christos aed39ca72c PR/6174: ITOH Yasufumi: Purify bug and a compile error in utility code. 1998-09-18 20:15:36 +00:00
cjs 0ad4a32dfb Add bugs section noting that, with -F, tail can fail to detect a file
truncation. Also note that -F option is an extension.
1998-09-18 01:54:13 +00:00
cjs 59a47ce7be Remove tracking of file size by how many characters were output.
This succumbs to a race condition where data are written to the
file while the sleep is occurring. If a stat is done immediately
after, lastsize is updated but the file pointer wasn't pointing at
the end of the file, so the number of bytes between the current
pointer and the end of the file is added to the lastsize when
lastsize already points to the end of the file.
1998-09-18 01:42:54 +00:00
ross c7c3a68ca1 Fix MLINKS. Define LDADD and DPADD. 1998-09-14 05:34:41 +00:00
ross 51ecc07eb9 NetBSD rcs id keyword. 1998-09-14 04:42:45 +00:00
ross 28e76b2580 Add NetBSD-specific Makefile. 1998-09-14 04:42:21 +00:00
ross e4cac751bf Initial import of bzip2-0.9.0b from Julian Seward. 1998-09-14 04:27:53 +00:00
ross f9cab68505 NetBSD rcs id keywords.
New Makefile, README.
1998-09-14 02:37:23 +00:00
ross 90b00880b2 Initial import of bzip2-0.9.0b from Julian Seward. 1998-09-14 02:13:36 +00:00
wrstuden 67db0c4b38 Teach crunchgen to play nice in a cross-compiling environment. Make
the machine type a run-time decision a la make. Also, use ${LD}
for the linker, not ld.

Note: you will have to delete the crunchgen cache file for these
changes to take effect.
1998-09-13 05:32:18 +00:00
mycroft ae0f007e15 Update for signal handling changes. 1998-09-11 23:09:31 +00:00
tron f1bd8f538d Print login time left justified as suggested by Wolfgang Helbig in
PR bin/6131.
1998-09-09 17:22:31 +00:00