Commit Graph

3111 Commits

Author SHA1 Message Date
christos 30c9449a34 Adjust to Eric's recent errno renaming. 1998-10-24 19:04:51 +00:00
augustss 5650a635f5 Fix typo. 1998-10-22 10:34:17 +00:00
hwr 28a88d13b8 Typo *sigh* 1998-10-21 20:24:11 +00:00
hwr 1332e7b200 Jon Postel died ;-( 1998-10-21 17:44:05 +00:00
augustss 9fe2d0d409 Add f flag to getopt() argument. Fixes PR 6335.
From  Andreas Wrede <andreas@planix.com>
1998-10-20 20:22:09 +00:00
wsanchez bd68b6099d Remove spurious return 1998-10-19 00:43:59 +00:00
christos 9a04d28344 Fix emulation errno translation. 1998-10-18 17:43:43 +00:00
christos ff08129ca5 strftime is not needed for svr4 machines; also fix the prototype footprint. 1998-10-18 14:24:16 +00:00
christos 3b7c5b4ed8 Only define const and volatile when __STDC__ is not defined (for BOOTSTRAP) 1998-10-18 14:23:48 +00:00
kleink 759e4c8f58 <sys/fcntl.h> -> <fcntl.h> in previous. 1998-10-16 22:01:57 +00:00
ross 034eedfe44 Add missing .El 1998-10-15 08:18:46 +00:00
briggs b8fdc19047 Explicitly declare the storage for some variables that used to be defined only
in a header file.  Defined here since tt_tab was already defined here
1998-10-15 01:49:04 +00:00
thorpej 4567103300 Make this compile again, and fix some whitespace lossage. 1998-10-14 21:56:57 +00:00
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