Commit Graph

3098 Commits

Author SHA1 Message Date
wsanchez 8a7fb4fe55 Get rid of the bazillion commons in several header files.
Rename string.h to window_string.h so compiler can find /usr/include/string.h.
1998-10-14 00:58:46 +00:00
wsanchez 76e31a71ac include unistd 1998-10-14 00:58:00 +00:00
wsanchez eca3ac5bf3 Silence -Wall by casting to (long) in printf formats. 1998-10-14 00:57:40 +00:00
wsanchez b9e3650e39 Add #ifdef SKEY around SKEY-specific code. 1998-10-14 00:56:48 +00:00
wsanchez af4e69540c include unistd 1998-10-14 00:56:00 +00:00
wsanchez a6e937b096 Replace groups and whoami sh scripts with hard links to id. 1998-10-14 00:55:03 +00:00
wsanchez 3376e86cab include stdlib 1998-10-14 00:50:59 +00:00
wsanchez 6149c86370 init mask to silence -Wall 1998-10-14 00:50:43 +00:00
wsanchez 65b6624a6d Include sys/types.h 1998-10-13 17:09:16 +00:00
wsanchez 8a6084908f Use __ARCHITECTURE__, if defined, as MACHINE_ARCH 1998-10-13 17:08:34 +00:00
wsanchez f873d81217 Use unsigned long instead of ulong 1998-10-13 17:03:39 +00:00
wsanchez 34e6a21ac8 include stdlib.h 1998-10-13 17:02:53 +00:00
wsanchez d213a54fe9 include unistd.h 1998-10-13 17:02:16 +00:00
wsanchez 1426fb14d2 Use __CONCAT to concatenate strings "-I" and _PATH_CALENDARS. 1998-10-12 20:51:06 +00:00
wsanchez 76847494e0 Replace _PATH_INCLUE with _PATH_CALENDARS for clarity. 1998-10-12 20:38:55 +00:00
erh 7713adc833 Add "-p" usage line. 1998-10-12 20:33:52 +00:00
matt 2e3397e773 Teach file that NetBSD/vax has two magic numbers. 1998-10-12 01:41:32 +00:00
itohy a42010baf2 Eliminate memory leaks at case labels. 1998-10-10 20:51:48 +00:00
itohy 476393a9c0 Eliminate a memory leak. 1998-10-10 20:48:04 +00:00
itohy 868f04b4ca Eliminate memory leaks. 1998-10-10 20:45:59 +00:00
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