aboutsummaryrefslogtreecommitdiff
path: root/fastjar/dostime.c
AgeCommit message (Collapse)AuthorFilesLines
2003-03-10dostime.c: add #include <stddef.h> for definition of NULLMohan Embar1-0/+2
2003-03-10 Mohan Embar <gnustuff@thisiscool.com> * dostime.c: add #include <stddef.h> for definition of NULL From-SVN: r64112
2002-11-11dostime.c (dos2unixtime): Mask for seconds is 0x1f.Tom Tromey1-5/+8
* 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-07dostime.c: Rewrote from scratch.Tom Tromey1-100/+47
* dostime.c: Rewrote from scratch. * dostime.h (dostime): Removed. From-SVN: r58892
2000-12-14Warning fixes:Kaveh R. Ghazi1-3/+6
* 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-08fastjar: Imported.Alexandre Petit-Bianco1-0/+126
2000-12-08 Alexandre Petit-Bianco <apbianco@cygnus.com> * fastjar: Imported. From-SVN: r38145