Commit Graph

5 Commits

Author SHA1 Message Date
Mohan Embar a489d8b084 dostime.c: add #include <stddef.h> for definition of NULL
2003-03-10  Mohan Embar  <gnustuff@thisiscool.com>

        * dostime.c: add #include <stddef.h> for definition of NULL

From-SVN: r64112
2003-03-10 19:52:15 +00:00
Tom Tromey 90e76e864a dostime.c (dos2unixtime): Mask for seconds is 0x1f.
* dostime.c (dos2unixtime): Mask for seconds is 0x1f.  Correctly
	compute month.
	(unix2dostime): Handle years before 1980.  Correctly compute month
	and day of month.

From-SVN: r59027
2002-11-11 22:20:56 +00:00
Tom Tromey eeff4ca3ce dostime.c: Rewrote from scratch.
* dostime.c: Rewrote from scratch.
	* dostime.h (dostime): Removed.

From-SVN: r58892
2002-11-07 14:07:19 +00:00
Kaveh R. Ghazi 990bee10e7 Warning fixes:
* compress.c: Include stdlib.h and compress.h.
	(rcsid): Delete.
	(report_str_error): Make static.
	(ez_inflate_str): Delete unused variable.  Add parens in if-stmt.
	(hrd_inflate_str): Likewise.

	* compress.h (init_compression, end_compression, init_inflation,
	end_inflation): Prototype void arguments.

	* dostime.c (rcsid): Delete.

	* jargrep.c: Include ctype.h, stdlib.h, zlib.h and compress.h.
	Make functions static.  Cast ctype function argument to `unsigned
	char'.  Add parens in if-stmts.  Constify.
	(Usage): Change into a macro.
	(jargrep): Remove unused parameter.

	* jartool.c: Constify.  Add parens in if-stmts.  Align
	signed/unsigned char pointers in functions calls using casts.
	(rcsid): Delete.
	(list_jar): Fix printf format specifier.
	(usage): Chop long string into bits.  Reformat.

	* pushback.c (rcsid): Delete.

From-SVN: r38254
2000-12-14 18:45:35 +00:00
Alexandre Petit-Bianco bd8757b313 fastjar: Imported.
2000-12-08  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * fastjar: Imported.

From-SVN: r38145
2000-12-08 19:08:23 -08:00