system 3 date program

utzoo!hcr!anton utzoo!hcr!anton
Fri Oct 29 20:08:49 AEST 1982


Two bugs here:

The date input formula reads

	month date hour miniute [ year ]

whereas V7 read

	[[ year ] [[ month ] [[ day ] [[ hour ] [ minuite ]]]]] [ .seconds ]

This is easy to fix.  Go get gtime from V7.

The second is ludicrous and caught me out for hours..

The original reads

	main(arc,argv)
	int	argc;
	int	**argv;

instead of the conventional and correct

	main(argc,argv)
	int	argc;
	char	**argv;

This is tolerable if you have sloppy compilers or dont try 
to use argv much.

WHY does USG let stuff like this out ?  It is such a trivial thing !

/anton aylward	..decvax!hcr!anton




More information about the Net.bugs mailing list