Commit Graph

3157 Commits

Author SHA1 Message Date
explorer faade9c8e2 Send an Accept: */* header, since some sites require content negotiation.
Grr.
1998-11-22 06:52:32 +00:00
jwise ed12d196f3 msgs uses /var/msgs, not /usr/msgs. Closes PR bin/6464 1998-11-20 03:18:25 +00:00
itohy 6d075e2860 Temporary fix of UTC -> time_t conversion:
1. changed to use timegm(3) on NetBSD and
2. supply alternative code for other Unix-like OSs
(NetBSD ftp shall be portable for some reasons :-).

This fix closes PR #6448.

NOTE: This should be fixed again if a portable UTC to time_t
conversion method is specified in some standards.
1998-11-18 07:24:25 +00:00
ross 3eb0afd457 Fix a bug that apparently prevented, since day 1, the .-include / .sinclude
feature from ever working. Also, fix the man page that incorrectly described
the syntax of the feature that didn't work.
1998-11-17 23:56:23 +00:00
christos e79f03e595 Fix problems with LINTED comment:
if (a) b;
	/*LINTED*/
	c;

	if (a) { b; }
	/*LINTED*/
	c;

	do { b; }
	/*LINTED*/
	while (c);

Produced warnings for c.
1998-11-13 16:48:01 +00:00
lukem fa954d84d1 * fix previous in a more portable manner (timegm() is not portable/standard).
use mktime(), and adjust to GMT as per code in util.c::remotemodtime()
1998-11-12 22:27:17 +00:00
itohy 638ec4fd83 HTTP uses UTC time, and changed to use timegm(3) instead of mktime(3)
for conversion of HTTP time.

XXX Unfortunately, timegm(3) is not portable (ex. SunOS 4 have, but 5 not).
1998-11-12 18:19:02 +00:00
eeh cee5e32c50 Warn about parser stack discrepancies at the end of colon definitions. 1998-11-12 00:55:58 +00:00
christos 4f3cc30bcc This patch fixes the problem introduced in the previous commit where
parents would be get remade, even if children were not really updated
by the commands executed for them. It also makes all the children have
the real modification time set if possible, so it should fix some other
timing weirdnesses...

- collapse childMade and make fields into flags and convert them to bits
  CHILDMADE and REMAKE
- introduce FORCE flag that gets set in all the parents of a child that
  has no sources and does not exist.
- set oodate if the FORCE flag is set, and not if CHILDMADE
- centralize the RECHECK into Make_Recheck() and use this in make.c and compat.c
- use Make_TimeStamp for all child -> parent timestamp propagations
1998-11-11 19:37:06 +00:00
christos 7e91b1976d PR/6426: Jim Bernard: make sometimes does not make directories on top of
a union mount.

	eg.
	src: FORCE

	FORCE is a fake target that does not have sources. When FORCE is
	considered made it gets updated with the current timestamp. If the
	directory happens to have the same timestamp too, then it will not
	be made because it is considered to be up-to-date with respect to
	the child. This can happen because the time resolution is only in
	seconds. It is more likely to happen on a union filesystem where
	the timestamps take longer to update.

	The fix is to consider the parent unmade when children have been
	updated.
1998-11-11 11:25:43 +00:00
mrg c7a1452687 add fgen 1998-11-11 05:53:15 +00:00
mrg 843b0a05b3 make this compile under NetBSD. 1998-11-11 05:26:57 +00:00
simonb d5383a01a8 Remove elfstrip - not used now that we have an ELF-aware strip and it
isn't in the distrib-lists anyway.
1998-11-10 12:19:39 +00:00
kleink 8ff7d07b09 Add a -p option to uname(1), which returns the machine's processor
architecture; inspired by SunOS 5.  Note that its output is excluded from the
output of -a.
1998-11-09 13:24:05 +00:00
mycroft e9109c511c Convert the evil sed crap to 3 separate invocations of sed.
This is way faster over NFS.
1998-11-09 04:52:44 +00:00
jonathan e67b964e28 binutils gprof doesn't support mips. Build a.out gprof on mips, to support
kernel profiling.
1998-11-07 17:52:19 +00:00
christos 889ce7db6e - full prototypes
- more conservative printf
- char -> unsigned char
1998-11-06 23:31:09 +00:00
christos a3cf33f0fd make printf format more conservative 1998-11-06 23:21:38 +00:00
christos 3f852e73e1 we don't need sys/ucred.h 1998-11-06 23:21:01 +00:00
christos c3203395bd char -> unsigned char 1998-11-06 23:06:38 +00:00
christos 051c69de86 disambiguate if/else block 1998-11-06 23:06:30 +00:00
christos e1178b155e - include <termios.h> for winsize
- char -> unsigned char
1998-11-06 22:59:12 +00:00
christos bd5b624c4c char -> unsigned char 1998-11-06 22:57:55 +00:00
christos 9b6b9cac77 - factor out common code
- char -> unsigned char
1998-11-06 22:56:38 +00:00
christos ac193186ef char -> unsigned char 1998-11-06 22:49:30 +00:00
christos b239b35fe2 char -> unsigned char
rindex -> strrchr
1998-11-06 22:40:13 +00:00
christos 1a67b18deb char -> unsigned char 1998-11-06 22:29:44 +00:00
christos 2de3ba714e - Don't understand why use union wait pstat.w_status...
Change it to just int status...
- char -> unsigned char
1998-11-06 22:28:15 +00:00
christos b62bb45812 - prototype tgetstr()
- add decls for *SE, *SO, *SV for svr4
- initscr() should not be compared with ERR, but NULL, since it returns
  a window pointer.
1998-11-06 22:14:58 +00:00
christos dbc0627f1d use waitpid instead of wait3 1998-11-06 20:05:43 +00:00
christos 6eb7ceb840 char -> unsigned char 1998-11-06 20:03:08 +00:00
christos 501608c08c bcpy->memcpy, and don't trash memory if
hp->h_length is > sizeof(struct sockaddr_in);
1998-11-06 20:00:07 +00:00
christos 81c93f4c32 - synchronize with the domestic version
- setupterm -> setup_term
- char -> unsigned char
1998-11-06 19:54:18 +00:00
christos 7f1ed758a3 char -> unsigned char 1998-11-06 16:52:42 +00:00
christos 7872ac63c8 explicitly zero the lines structure! How did this ever work before? 1998-11-03 14:27:09 +00:00
christos 8d721633cd Pacify gcc-2.8.1 (extra braces). 1998-11-03 14:26:45 +00:00
cgd ca87c75e7d completely reimplement ELF symbol hiding. now it's even more of a gross
hack, but more likely to work on non-alpha ELF systems.
1998-11-03 02:30:16 +00:00
eeh c53c836082 Copyrights and minor cleanup. 1998-11-01 22:27:11 +00:00
itohy 6aeb72f23f Reduced memory leaks.
I found some more leaks, but are not in inside of iterations.
1998-11-01 03:07:33 +00:00
itohy 841c52934a If the target name is shorter than the suffix,
the previous garbage bytes may be read.
Example: "make n" --- target = n, suffix = .ln

Changing interface of SuffSuffIsSuffix() is required to fix this bug.
1998-11-01 03:05:03 +00:00
itohy f748b52ef3 Avoid reading outside of allocated memory
on command execution if the output is empty.
1998-11-01 03:01:53 +00:00
eeh 1e192ee3f9 Added an FCode tokenizer for all your FCode tokenizing needs. 1998-10-31 18:14:53 +00:00
mrg 3adcd350ed put all the different struct sockaddr_xxx types into the union pt_u, to force the alignment to be correct for all of them. 1998-10-31 06:42:22 +00:00
is 30d737b32b learn more about AMANDA files 1998-10-29 11:11:49 +00:00
simonb 1f00456a27 For -ls output, change field widths to allow inodes up to 9,999,999 and
file sizes up to 999,999,999 bytes (and 999,999 blocks) without wobbly
lines.  Also change device minor/major to be 3/5 digits (current maximum
is 4/7 digits - the 3/5 split is arbitary).
1998-10-27 04:53:03 +00:00
jonathan e1d397462e usr.bin/Makefile: recurse into fdformat on all ports
usr.bin/fdformat/Makefile:  build manpages on all  ports
distrib/sets/lists/man/mi: add fdformat manpages
distrib/sets/lists/man/md.{arm32,atari,i386,sparc}:
	 only listed fdformat manpegs. remove.
distrib/sets/lists/man/md.mvem68k:
	duplicate entry of mvme68k installboot.	remove.
1998-10-25 23:30:39 +00:00
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