summaryrefslogtreecommitdiff
path: root/fastjar/jartool.c
Commit message (Collapse)AuthorAgeFilesLines
* 2001-08-28 Alexandre Petit-Bianco <apbianco@redhat.com>apbianco2001-08-291-1/+6
| | | | | | | | | | * jartool.c (add_to_jar): Return 1 if `stat' initialy failed. Fixes PR java/3949. (http://gcc.gnu.org/ml/gcc-patches/2001-08/msg01641.html) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45250 138bc75d-0d04-0410-961f-82ee72b054a4
* * jartool.c (jarfile): Remove length limitation.tromey2001-08-271-4/+12
| | | | | | | (main): Use jt_strdup when initializing jarfile. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45217 138bc75d-0d04-0410-961f-82ee72b054a4
* Modified from patch by Julian Hall <jules@acris.co.uk>:tromey2001-07-041-7/+18
| | | | | | | | | | | * jartool.c (errno): Conditionally declare. (O_BINARY): Conditionally define. (main): Use open, not creat. Use O_BINARY everywhere. (make_manifest): Use O_BINARY. (add_to_jar): Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43766 138bc75d-0d04-0410-961f-82ee72b054a4
* * jartool.c (jt_strdup): New function.danglin2001-05-031-3/+20
| | | | | | | (get_next_arg): Use jt_strdup instead of strdup. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41815 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-28 Robert Lipe <robertl@sco.com>robertl2000-12-281-2/+32
| | | | | | | * jartool.c (MAXPATHLEN): Provide if not defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38515 138bc75d-0d04-0410-961f-82ee72b054a4
* Warning fixes:ghazi2000-12-141-32/+63
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38254 138bc75d-0d04-0410-961f-82ee72b054a4
* * jartool.c (extract_jar): Use strchr, not index.tromey2000-12-131-5/+10
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38225 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-08 Alexandre Petit-Bianco <apbianco@cygnus.com>apbianco2000-12-091-0/+1757
* fastjar: Imported. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38145 138bc75d-0d04-0410-961f-82ee72b054a4