Ignore:
Timestamp:
Apr 27, 2004, 8:39:34 PM (21 years ago)
Author:
bird
Message:

GCC v3.3.3 sources.

Location:
branches/GNU/src/gcc
Files:
12 edited

Legend:

Unmodified
Added
Removed
  • branches/GNU/src/gcc

    • Property svn:ignore
      •  

        old new  
        2626configure.vr
        2727configure.vrs
         28dir.info
        2829Makefile
        29 dir.info
        3030lost+found
        3131update.out
  • branches/GNU/src/gcc/fastjar/ChangeLog

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    1 2003-02-05  Release Manager
    2 
    3         * GCC 3.2.2 Released.
    4 
    5 2002-11-19  Release Manager
    6 
    7         * GCC 3.2.1 Released.
    8 
    9 2002-11-19  Release Manager
    10 
    11         * GCC 3.2.1 Released.
    12 
    13 2002-11-18  Release Manager
    14 
    15         * GCC 3.2.1 Released.
     12004-02-14  Release Manager
     2
     3        * GCC 3.3.3 Released.
     4
     52003-10-16  Release Manager
     6
     7        * GCC 3.3.2 Released.
     8
     92003-08-13  Matthias Klose  <doko@debian.org>
     10
     11        * fastjar.texi: License manual under the GPL.
     12        * Makefile.am: Remove reference to fdl.texi
     13        * Makefile.in: Regenerate
     14
     152003-08-04  Release Manager
     16
     17        * GCC 3.3.1 Released.
     18
     192003-07-11  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
     20
     21        * README: Note that FastJar is not part of GCC.
     22
     232003-05-13  Release Manager
     24
     25        * GCC 3.3 Released.
     26
     272003-03-30  Joseph S. Myers  <jsm@polyomino.org.uk>
     28
     29        * fastjar.texi: Remove @ at start of file.
     30
     312003-03-10  Mohan Embar  <gnustuff@thisiscool.com>
     32
     33       * dostime.c: add #include <stddef.h> for definition of NULL
     34
     352003-02-04  Joseph S. Myers  <jsm@polyomino.org.uk>
     36
     37        * fastjar.texi: Update to GFDL 1.2.
     38
     392003-01-31  Daiki Ueno  <ueno@unixuser.org>
     40
     41        * jartool.c (extract_jar): Don't lseek to skip extra fields.
     42        (consume): If the stream is seekable, do lseek.
     43
     442003-01-28  Ranjit Mathew  <rmathew@hotmail.com>
     45
     46        * jargrep.c: Include xregex.h from libiberty instead of
     47        system regex.h for better portability.
     48
     492003-01-21  Ranjit Mathew  <rmathew@hotmail.com>
     50
     51        * jartool.c (list_jar): Terminate the 'ascii_date' buffer
     52        with a '\0' to guard against the case where the formatted
     53        time string is more than the size allowed by the buffer.
     54
     552002-12-30  DJ Delorie  <dj@redhat.com>
     56
     57        * Makefile.am (jar.1, grepjar.1): Protect against
     58        texi2pod/pod2man failing.
     59        * Makefile.in: Regenerated.
     60
     612002-12-23  Joseph S. Myers  <jsm@polyomino.org.uk>
     62
     63        * fastjar.texi: Include Cover Texts in man page.
     64
     652002-12-04  Jakub Jelinek  <jakub@redhat.com>
     66
     67        * fastjar.texi (jar @direntry, grepjar @direntry): Add (fastjar).
     68
     692002-11-21  Ranjit Mathew <rmathew@hotmail.com>
     70
     71        * jartool.c (extract_jar): Use "open" with O_BINARY instead of
     72        "creat" to create extracted files.
    1673
    17742002-11-11  Tom Tromey  <tromey@redhat.com>
     
    2279        and day of month.
    2380
     812002-11-10  Jakub Jelinek  <jakub@redhat.com>
     82
     83        * jartool.c (add_to_jar): Only compare file to jarfile if jarfile is
     84        non-NULL.
     85
     86        * configure.in (AC_CHECK_HEADERS): Add limits.h.
     87        * configure, config.h.in: Rebuilt.
     88
    24892002-11-07  Tom Tromey  <tromey@redhat.com>
    2590
     
    2792        * dostime.h (dostime): Removed.
    2893
    29 2002-08-14  Release Manager
    30 
    31         * GCC 3.2 Released.
    32 
    33 2002-07-25  Release Manager
    34 
    35         * GCC 3.1.1 Released.
    36 
    37 2002-05-14  Release Manager
    38 
    39         * GCC 3.1 Released.
    40 
    41 2002-05-14  Release Manager
    42 
    43         * GCC 3.1 Released.
     942002-10-20  Tom Tromey  <tromey@redhat.com>
     95
     96        * jartool.c: Use mode 0666 when opening new file.
     97
     982002-10-15  Ranjit Mathew  <rmathew@hotmail.com>
     99
     100        * configure, config.h.in: Rebuilt.
     101        * configure.in: Call gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG.
     102
     1032002-09-11  Tom Tromey  <tromey@redhat.com>
     104
     105        * Makefile.in: Rebuilt.
     106        * Makefile.am (TEXINFO_TEX): New macro.
     107        (info_TEXINFOS): Likewise.
     108        (fastjar_TEXINFOS): Likewise.
     109        (man_MANS): Likewise.
     110        (EXTRA_DIST): Likewise.
     111        (my_makei_flags): Likewise.
     112        (fastjar.info): New rule.
     113        (fastjar_TEXINFOS): Don't mention `$(srcdir)'.
     114        (TEXINFO_TEX): Likewise.
     115        (AUTOMAKE_OPTIONS): Added `cygnus'.
     116
     1172002-09-11  Matthias Klose  <doko@debian.org>
     118
     119        * Makefile.am: Revert the previous patch.
     120        * Makefile.in: Regenerated.
     121
     1222002-09-10  Matthias Klose  <doko@debian.org>
     123
     124        * fastjar.texi: New.
     125        * Makefile.am: Support building info docs and manpages.
     126        * Makefile.in: Regenerated.
     127        * configure.in: Set gcc_version.
     128        * configure: Regenerated.
     129        * jargrep.c: Update usage and help strings.
     130
     1312002-09-09  Tom Tromey  <tromey@redhat.com>
     132
     133        * jartool.c (mkdir): Define.
     134        * config.h.in: Rebuilt.
     135        * aclocal.m4, configure: Rebuilt.
     136        * acinclude.m4: New file.  Copied gcc_AC_COMPILE_CHECK_SIZEOF,
     137        gcc_AC_EXAMINE_OBJECT, and fastjar_AC_COMPILE_C_BIGENDIAN from
     138        aclocal.m4.
     139
     1402002-09-04  Tom Tromey  <tromey@redhat.com>
     141
     142        From greenrd@hotmail.com:
     143        * jartool.c (list_jar): Correctly determine when new `filename'
     144        buffer must be allocated.  Fixes PR java/7830.
     145
     1462002-06-03  Geoffrey Keating  <geoffk@redhat.com>
     147
     148        * configure.in: Support cross-compiling.
     149        * configure: Regenerate.
     150        * aclocal.m4 (gcc_AC_COMPILE_CHECK_SIZEOF): New.
     151        (gcc_AC_EXAMINE_OBJECT): New.
     152        (fastjar_AC_COMPILE_C_BIGENDIAN): New.
    44153
    451542002-03-18  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
  • branches/GNU/src/gcc/fastjar/Makefile.am

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    5858
    5959AM_CFLAGS = @fastjar_warn_cflags@
     60
     61TEXINFO_TEX = ../gcc/doc/include/texinfo.tex
     62info_TEXINFOS = fastjar.texi
     63fastjar_TEXINFOS = \
     64        ../gcc/doc/include/gcc-common.texi \
     65        ../gcc/doc/include/gpl.texi
     66man_MANS = jar.1 grepjar.1
     67EXTRA_DIST = $(man_MANS)
     68
     69## This is a hack.  We can't set AM_MAKEINFOFLAGS, since that isn't
     70## available in 1.4.  Nor can we override or append to MAKEINFO or
     71## MAKEINFOFLAGS, since these are overridden by the top-level
     72## Makefile.  So, we just duplicate the rules.  FIXME: remove this
     73## when we upgrade automake.  Note that we don't include $(srcdir) in
     74## my_makei_flags; makeinfo is run in srcdir.
     75my_makei_flags += -I ../gcc/doc/include
     76fastjar.info: fastjar.texi $(fastjar_TEXINFOS)
     77        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
     78        cd $(srcdir) \
     79          && $(MAKEINFO) $(my_makei_flags) `echo $< | sed 's,.*/,,'`
     80
     81
     82TEXI2POD = perl $(srcdir)/../contrib/texi2pod.pl
     83POD2MAN = pod2man --center="GNU" --release="gcc-@gcc_version@"
     84
     85$(srcdir)/jar.1: $(srcdir)/fastjar.texi
     86        -$(TEXI2POD) -D jar < $(srcdir)/fastjar.texi > fastjar.pod
     87        -($(POD2MAN) --section=1 fastjar.pod > jar.1.T$$$$ && \
     88                mv -f jar.1.T$$$$ $(srcdir)/jar.1) || \
     89                (rm -f jar.1.T$$$$ && exit 1)
     90        -rm -f fastjar.pod
     91
     92$(srcdir)/grepjar.1: $(srcdir)/fastjar.texi
     93        -$(TEXI2POD) -D grepjar < $(srcdir)/fastjar.texi > grepjar.pod
     94        -($(POD2MAN) --section=1 grepjar.pod > grepjar.1.T$$$$ && \
     95                mv -f grepjar.1.T$$$$ $(srcdir)/grepjar.1) || \
     96                (rm -f grepjar.1.T$$$$ && exit 1)
     97        -rm -f grepjar.pod
  • branches/GNU/src/gcc/fastjar/Makefile.in

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    1 # Makefile.in generated automatically by automake 1.4 from Makefile.am
    2 
    3 # Copyright (C) 1994, 1995-8, 1999 Free Software Foundation, Inc.
     1# Makefile.in generated automatically by automake 1.4-p6 from Makefile.am
     2
     3# Copyright (C) 1994, 1995-8, 1999, 2001 Free Software Foundation, Inc.
    44# This Makefile.in is free software; the Free Software Foundation
    55# gives unlimited permission to copy and/or distribute it,
     
    7474ZLIBS = @ZLIBS@
    7575fastjar_warn_cflags = @fastjar_warn_cflags@
     76gcc_version = @gcc_version@
    7677
    7778AUTOMAKE_OPTIONS = no-dependencies
     
    8081# values defined in terms of make variables, as is the case for CC and
    8182# friends when we are called from the top level Makefile.
    82 AM_MAKEFLAGS = \
    83         "AR_FLAGS=$(AR_FLAGS)" \
    84         "CC_FOR_BUILD=$(CC_FOR_BUILD)" \
    85         "CFLAGS=$(CFLAGS)" \
    86         "CXXFLAGS=$(CXXFLAGS)" \
    87         "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)" \
    88         "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)" \
    89         "INSTALL=$(INSTALL)" \
    90         "INSTALL_DATA=$(INSTALL_DATA)" \
    91         "INSTALL_PROGRAM=$(INSTALL_PROGRAM)" \
    92         "INSTALL_SCRIPT=$(INSTALL_SCRIPT)" \
    93         "JC1FLAGS=$(JC1FLAGS)" \
    94         "LDFLAGS=$(LDFLAGS)" \
    95         "LIBCFLAGS=$(LIBCFLAGS)" \
    96         "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)" \
    97         "MAKE=$(MAKE)" \
    98         "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)" \
    99         "PICFLAG=$(PICFLAG)" \
    100         "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)" \
    101         "SHELL=$(SHELL)" \
    102         "exec_prefix=$(exec_prefix)" \
    103         "infodir=$(infodir)" \
    104         "libdir=$(libdir)" \
    105         "prefix=$(prefix)" \
    106         "AR=$(AR)" \
    107         "AS=$(AS)" \
    108         "CC=$(CC)" \
    109         "CXX=$(CXX)" \
    110         "LD=$(LD)" \
    111         "LIBCFLAGS=$(LIBCFLAGS)" \
    112         "NM=$(NM)" \
    113         "PICFLAG=$(PICFLAG)" \
    114         "RANLIB=$(RANLIB)" \
    115         "DESTDIR=$(DESTDIR)"
     83AM_MAKEFLAGS =          "AR_FLAGS=$(AR_FLAGS)"  "CC_FOR_BUILD=$(CC_FOR_BUILD)"  "CFLAGS=$(CFLAGS)"      "CXXFLAGS=$(CXXFLAGS)"  "CFLAGS_FOR_BUILD=$(CFLAGS_FOR_BUILD)"  "CFLAGS_FOR_TARGET=$(CFLAGS_FOR_TARGET)"        "INSTALL=$(INSTALL)"    "INSTALL_DATA=$(INSTALL_DATA)"  "INSTALL_PROGRAM=$(INSTALL_PROGRAM)"    "INSTALL_SCRIPT=$(INSTALL_SCRIPT)"      "JC1FLAGS=$(JC1FLAGS)"  "LDFLAGS=$(LDFLAGS)"    "LIBCFLAGS=$(LIBCFLAGS)"        "LIBCFLAGS_FOR_TARGET=$(LIBCFLAGS_FOR_TARGET)"  "MAKE=$(MAKE)"  "MAKEINFO=$(MAKEINFO) $(MAKEINFOFLAGS)"         "PICFLAG=$(PICFLAG)"    "PICFLAG_FOR_TARGET=$(PICFLAG_FOR_TARGET)"      "SHELL=$(SHELL)"        "exec_prefix=$(exec_prefix)"    "infodir=$(infodir)"    "libdir=$(libdir)"      "prefix=$(prefix)"      "AR=$(AR)"      "AS=$(AS)"      "CC=$(CC)"      "CXX=$(CXX)"    "LD=$(LD)"      "LIBCFLAGS=$(LIBCFLAGS)"        "NM=$(NM)"      "PICFLAG=$(PICFLAG)"    "RANLIB=$(RANLIB)"      "DESTDIR=$(DESTDIR)"
    11684
    11785
     
    12189
    12290bin_PROGRAMS = jar grepjar
    123 jar_SOURCES = jartool.c dostime.c compress.c pushback.c jartool.h \
    124 zipfile.h dostime.h compress.h pushback.h
     91jar_SOURCES = jartool.c dostime.c compress.c pushback.c jartool.h zipfile.h dostime.h compress.h pushback.h
    12592
    12693jar_LDADD = $(ZLIBS) $(LIBIBERTY)
    12794jar_DEPENDENCIES = $(ZDEPS) $(LIBIBERTY)
    12895
    129 grepjar_SOURCES = jargrep.c dostime.c compress.c pushback.c jartool.h \
    130 zipfile.h dostime.h compress.h pushback.h
     96grepjar_SOURCES = jargrep.c dostime.c compress.c pushback.c jartool.h zipfile.h dostime.h compress.h pushback.h
    13197
    13298grepjar_LDADD = $(ZLIBS) $(LIBIBERTY)
     
    134100
    135101AM_CFLAGS = @fastjar_warn_cflags@
     102
     103TEXINFO_TEX = ../gcc/doc/include/texinfo.tex
     104info_TEXINFOS = fastjar.texi
     105fastjar_TEXINFOS =      ../gcc/doc/include/gcc-common.texi      ../gcc/doc/include/gpl.texi
     106
     107man_MANS = jar.1 grepjar.1
     108EXTRA_DIST = $(man_MANS)
     109
     110my_makei_flags =  -I ../gcc/doc/include
     111
     112TEXI2POD = perl $(srcdir)/../contrib/texi2pod.pl
     113POD2MAN = pod2man --center="GNU" --release="gcc-@gcc_version@"
    136114ACLOCAL_M4 = $(top_srcdir)/aclocal.m4
    137115mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
     
    154132CCLD = $(CC)
    155133LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(LDFLAGS) -o $@
    156 DIST_COMMON =  README ./stamp-h.in AUTHORS COPYING ChangeLog INSTALL \
    157 Makefile.am Makefile.in NEWS aclocal.m4 config.h.in configure \
    158 configure.in install-defs.sh.in install-sh missing mkinstalldirs
     134TEXI2DVI = texi2dvi
     135INFO_DEPS = fastjar.info
     136DVIS = fastjar.dvi
     137TEXINFOS = fastjar.texi
     138man1dir = $(mandir)/man1
     139MANS = $(man_MANS)
     140
     141NROFF = nroff
     142DIST_COMMON =  README $(fastjar_TEXINFOS) ./stamp-h.in AUTHORS COPYING \
     143ChangeLog INSTALL Makefile.am Makefile.in NEWS acinclude.m4 aclocal.m4 \
     144config.h.in configure configure.in install-defs.sh.in install-sh \
     145missing mkinstalldirs
    159146
    160147
     
    168155all: all-redirect
    169156.SUFFIXES:
    170 .SUFFIXES: .S .c .o .s
     157.SUFFIXES: .S .c .dvi .info .o .ps .s .texi .texinfo .txi
    171158$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ Makefile.am $(top_srcdir)/configure.in $(ACLOCAL_M4)
    172159        cd $(top_srcdir) && $(AUTOMAKE) --gnu Makefile
     
    176163          && CONFIG_FILES=$@ CONFIG_HEADERS= $(SHELL) ./config.status
    177164
    178 $(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in
     165$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ configure.in  acinclude.m4
    179166        cd $(srcdir) && $(ACLOCAL)
    180167
     
    266253        $(LINK) $(grepjar_LDFLAGS) $(grepjar_OBJECTS) $(grepjar_LDADD) $(LIBS)
    267254
     255fastjar.info: fastjar.texi $(fastjar_TEXINFOS)
     256fastjar.dvi: fastjar.texi $(fastjar_TEXINFOS)
     257
     258
     259DVIPS = dvips
     260
     261.texi.info:
     262        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
     263        cd $(srcdir) \
     264          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
     265
     266.texi.dvi:
     267        TEXINPUTS=$(srcdir)/../gcc/doc/include:$$TEXINPUTS \
     268          MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
     269
     270.texi:
     271        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
     272        cd $(srcdir) \
     273          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
     274
     275.texinfo.info:
     276        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
     277        cd $(srcdir) \
     278          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
     279
     280.texinfo:
     281        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
     282        cd $(srcdir) \
     283          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
     284
     285.texinfo.dvi:
     286        TEXINPUTS=$(srcdir)/../gcc/doc/include:$$TEXINPUTS \
     287          MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
     288
     289.txi.info:
     290        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
     291        cd $(srcdir) \
     292          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
     293
     294.txi.dvi:
     295        TEXINPUTS=$(srcdir)/../gcc/doc/include:$$TEXINPUTS \
     296          MAKEINFO='$(MAKEINFO) -I $(srcdir)' $(TEXI2DVI) $<
     297
     298.txi:
     299        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
     300        cd $(srcdir) \
     301          && $(MAKEINFO) `echo $< | sed 's,.*/,,'`
     302.dvi.ps:
     303        $(DVIPS) $< -o $@
     304
     305install-info-am: $(INFO_DEPS)
     306        @$(NORMAL_INSTALL)
     307        $(mkinstalldirs) $(DESTDIR)$(infodir)
     308        @list='$(INFO_DEPS)'; \
     309        for file in $$list; do \
     310          d=$(srcdir); \
     311          for ifile in `cd $$d && echo $$file $$file-[0-9] $$file-[0-9][0-9]`; do \
     312            if test -f $$d/$$ifile; then \
     313              echo " $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile"; \
     314              $(INSTALL_DATA) $$d/$$ifile $(DESTDIR)$(infodir)/$$ifile; \
     315            else : ; fi; \
     316          done; \
     317        done
     318        @$(POST_INSTALL)
     319        @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
     320          list='$(INFO_DEPS)'; \
     321          for file in $$list; do \
     322            echo " install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file";\
     323            install-info --info-dir=$(DESTDIR)$(infodir) $(DESTDIR)$(infodir)/$$file || :;\
     324          done; \
     325        else : ; fi
     326
     327uninstall-info:
     328        $(PRE_UNINSTALL)
     329        @if $(SHELL) -c 'install-info --version | sed 1q | fgrep -s -v -i debian' >/dev/null 2>&1; then \
     330          ii=yes; \
     331        else ii=; fi; \
     332        list='$(INFO_DEPS)'; \
     333        for file in $$list; do \
     334          test -z "$$ii" \
     335            || install-info --info-dir=$(DESTDIR)$(infodir) --remove $$file; \
     336        done
     337        @$(NORMAL_UNINSTALL)
     338        list='$(INFO_DEPS)'; \
     339        for file in $$list; do \
     340          (cd $(DESTDIR)$(infodir) && rm -f $$file $$file-[0-9] $$file-[0-9][0-9]); \
     341        done
     342
     343dist-info: $(INFO_DEPS)
     344        list='$(INFO_DEPS)'; \
     345        for base in $$list; do \
     346          d=$(srcdir); \
     347          for file in `cd $$d && eval echo $$base*`; do \
     348            test -f $(distdir)/$$file \
     349            || ln $$d/$$file $(distdir)/$$file 2> /dev/null \
     350            || cp -p $$d/$$file $(distdir)/$$file; \
     351          done; \
     352        done
     353
     354mostlyclean-aminfo:
     355        -rm -f fastjar.aux fastjar.cp fastjar.cps fastjar.dvi fastjar.fn \
     356          fastjar.fns fastjar.ky fastjar.kys fastjar.ps fastjar.log \
     357          fastjar.pg fastjar.toc fastjar.tp fastjar.tps fastjar.vr \
     358          fastjar.vrs fastjar.op fastjar.tr fastjar.cv fastjar.cn
     359
     360clean-aminfo:
     361
     362distclean-aminfo:
     363
     364maintainer-clean-aminfo:
     365        cd $(srcdir) && for i in $(INFO_DEPS); do \
     366          rm -f $$i; \
     367          if test "`echo $$i-[0-9]*`" != "$$i-[0-9]*"; then \
     368            rm -f $$i-[0-9]*; \
     369          fi; \
     370        done
     371
     372install-man1:
     373        $(mkinstalldirs) $(DESTDIR)$(man1dir)
     374        @list='$(man1_MANS)'; \
     375        l2='$(man_MANS)'; for i in $$l2; do \
     376          case "$$i" in \
     377            *.1*) list="$$list $$i" ;; \
     378          esac; \
     379        done; \
     380        for i in $$list; do \
     381          if test -f $(srcdir)/$$i; then file=$(srcdir)/$$i; \
     382          else file=$$i; fi; \
     383          ext=`echo $$i | sed -e 's/^.*\\.//'`; \
     384          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
     385          inst=`echo $$inst | sed '$(transform)'`.$$ext; \
     386          echo " $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst"; \
     387          $(INSTALL_DATA) $$file $(DESTDIR)$(man1dir)/$$inst; \
     388        done
     389
     390uninstall-man1:
     391        @list='$(man1_MANS)'; \
     392        l2='$(man_MANS)'; for i in $$l2; do \
     393          case "$$i" in \
     394            *.1*) list="$$list $$i" ;; \
     395          esac; \
     396        done; \
     397        for i in $$list; do \
     398          ext=`echo $$i | sed -e 's/^.*\\.//'`; \
     399          inst=`echo $$i | sed -e 's/\\.[0-9a-z]*$$//'`; \
     400          inst=`echo $$inst | sed '$(transform)'`.$$ext; \
     401          echo " rm -f $(DESTDIR)$(man1dir)/$$inst"; \
     402          rm -f $(DESTDIR)$(man1dir)/$$inst; \
     403        done
     404install-man: $(MANS)
     405        @$(NORMAL_INSTALL)
     406        $(MAKE) $(AM_MAKEFLAGS) install-man1
     407uninstall-man:
     408        @$(NORMAL_UNINSTALL)
     409        $(MAKE) $(AM_MAKEFLAGS) uninstall-man1
     410
    268411tags: TAGS
    269412
     
    284427               END { for (i in files) print i; }'`; \
    285428        test -z "$(ETAGS_ARGS)config.h.in$$unique$(LISP)$$tags" \
    286           || (cd $(srcdir) && etags $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP) -o $$here/TAGS)
     429          || (cd $(srcdir) && etags -o $$here/TAGS $(ETAGS_ARGS) $$tags config.h.in $$unique $(LISP))
    287430
    288431mostlyclean-tags:
     
    336479          d=$(srcdir); \
    337480          if test -d $$d/$$file; then \
    338             cp -pr $$/$$file $(distdir)/$$file; \
     481            cp -pr $$d/$$file $(distdir)/$$file; \
    339482          else \
    340483            test -f $(distdir)/$$file \
     
    343486          fi; \
    344487        done
    345 info-am:
     488        $(MAKE) $(AM_MAKEFLAGS) top_distdir="$(top_distdir)" distdir="$(distdir)" dist-info
     489info-am: $(INFO_DEPS)
    346490info: info-am
    347 dvi-am:
     491dvi-am: $(DVIS)
    348492dvi: dvi-am
    349493check-am: all-am
     
    357501install-exec: install-exec-am
    358502
    359 install-data-am:
     503install-data-am: install-info-am install-man
    360504install-data: install-data-am
    361505
     
    363507        @$(MAKE) $(AM_MAKEFLAGS) install-exec-am install-data-am
    364508install: install-am
    365 uninstall-am: uninstall-binPROGRAMS
     509uninstall-am: uninstall-binPROGRAMS uninstall-info uninstall-man
    366510uninstall: uninstall-am
    367 all-am: Makefile $(PROGRAMS) config.h
     511all-am: Makefile $(INFO_DEPS) $(PROGRAMS) $(MANS) config.h
    368512all-redirect: all-am
    369513install-strip:
    370514        $(MAKE) $(AM_MAKEFLAGS) AM_INSTALL_PROGRAM_FLAGS=-s install
    371515installdirs:
    372         $(mkinstalldirs)  $(DESTDIR)$(bindir)
     516        $(mkinstalldirs)  $(DESTDIR)$(bindir) $(DESTDIR)$(infodir) \
     517                $(DESTDIR)$(mandir)/man1
    373518
    374519
     
    383528maintainer-clean-generic:
    384529mostlyclean-am:  mostlyclean-hdr mostlyclean-binPROGRAMS \
    385                 mostlyclean-compile mostlyclean-tags \
     530                mostlyclean-compile mostlyclean-aminfo mostlyclean-tags \
    386531                mostlyclean-generic
    387532
    388533mostlyclean: mostlyclean-am
    389534
    390 clean-am:  clean-hdr clean-binPROGRAMS clean-compile clean-tags \
    391                 clean-generic mostlyclean-am
     535clean-am:  clean-hdr clean-binPROGRAMS clean-compile clean-aminfo \
     536                clean-tags clean-generic mostlyclean-am
    392537
    393538clean: clean-am
    394539
    395540distclean-am:  distclean-hdr distclean-binPROGRAMS distclean-compile \
    396                 distclean-tags distclean-generic clean-am
     541                distclean-aminfo distclean-tags distclean-generic \
     542                clean-am
    397543
    398544distclean: distclean-am
     
    400546
    401547maintainer-clean-am:  maintainer-clean-hdr maintainer-clean-binPROGRAMS \
    402                 maintainer-clean-compile maintainer-clean-tags \
    403                 maintainer-clean-generic distclean-am
     548                maintainer-clean-compile maintainer-clean-aminfo \
     549                maintainer-clean-tags maintainer-clean-generic \
     550                distclean-am
    404551        @echo "This command is intended for maintainers to use;"
    405552        @echo "it deletes files that may require special tools to rebuild."
     
    412559maintainer-clean-binPROGRAMS uninstall-binPROGRAMS install-binPROGRAMS \
    413560mostlyclean-compile distclean-compile clean-compile \
    414 maintainer-clean-compile tags mostlyclean-tags distclean-tags \
    415 clean-tags maintainer-clean-tags distdir info-am info dvi-am dvi check \
    416 check-am installcheck-am installcheck all-recursive-am install-exec-am \
     561maintainer-clean-compile install-info-am uninstall-info \
     562mostlyclean-aminfo distclean-aminfo clean-aminfo \
     563maintainer-clean-aminfo install-man1 uninstall-man1 install-man \
     564uninstall-man tags mostlyclean-tags distclean-tags clean-tags \
     565maintainer-clean-tags distdir info-am info dvi-am dvi check check-am \
     566installcheck-am installcheck all-recursive-am install-exec-am \
    417567install-exec install-data-am install-data install-am install \
    418568uninstall-am uninstall all-redirect all-am all installdirs \
     
    420570maintainer-clean-generic clean mostlyclean distclean maintainer-clean
    421571
     572fastjar.info: fastjar.texi $(fastjar_TEXINFOS)
     573        @cd $(srcdir) && rm -f $@ $@-[0-9] $@-[0-9][0-9]
     574        cd $(srcdir) \
     575          && $(MAKEINFO) $(my_makei_flags) `echo $< | sed 's,.*/,,'`
     576
     577$(srcdir)/jar.1: $(srcdir)/fastjar.texi
     578        -$(TEXI2POD) -D jar < $(srcdir)/fastjar.texi > fastjar.pod
     579        -($(POD2MAN) --section=1 fastjar.pod > jar.1.T$$$$ && \
     580                mv -f jar.1.T$$$$ $(srcdir)/jar.1) || \
     581                (rm -f jar.1.T$$$$ && exit 1)
     582        -rm -f fastjar.pod
     583
     584$(srcdir)/grepjar.1: $(srcdir)/fastjar.texi
     585        -$(TEXI2POD) -D grepjar < $(srcdir)/fastjar.texi > grepjar.pod
     586        -($(POD2MAN) --section=1 grepjar.pod > grepjar.1.T$$$$ && \
     587                mv -f grepjar.1.T$$$$ $(srcdir)/grepjar.1) || \
     588                (rm -f grepjar.1.T$$$$ && exit 1)
     589        -rm -f grepjar.pod
    422590
    423591# Tell versions [3.59,3.63) of GNU make to not export all variables.
  • branches/GNU/src/gcc/fastjar/README

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
     1This directory contains the FastJar package, which is not part of GCC but
     2shipped with GCC as convenience.
     3
    14=======
    25FastJar 0.90
  • branches/GNU/src/gcc/fastjar/aclocal.m4

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    1010dnl even the implied warranty of MERCHANTABILITY or FITNESS FOR A
    1111dnl PARTICULAR PURPOSE.
     12
     13
     14dnl Host type sizes probe.
     15dnl By Kaveh R. Ghazi.  One typo fixed since.
     16dnl
     17AC_DEFUN([gcc_AC_COMPILE_CHECK_SIZEOF],
     18[changequote(<<, >>)dnl
     19dnl The name to #define.
     20define(<<AC_TYPE_NAME>>, translit(sizeof_$1, [a-z *], [A-Z_P]))dnl
     21dnl The cache variable name.
     22define(<<AC_CV_NAME>>, translit(ac_cv_sizeof_$1, [ *], [_p]))dnl
     23changequote([, ])dnl
     24AC_MSG_CHECKING(size of $1)
     25AC_CACHE_VAL(AC_CV_NAME,
     26[for ac_size in 4 8 1 2 16 $3 ; do # List sizes in rough order of prevalence.
     27  AC_TRY_COMPILE([#include "confdefs.h"
     28#include <sys/types.h>
     29$2
     30], [switch (0) case 0: case (sizeof ($1) == $ac_size):;], AC_CV_NAME=$ac_size)
     31  if test x$AC_CV_NAME != x ; then break; fi
     32done
     33])
     34if test x$AC_CV_NAME = x ; then
     35  AC_MSG_ERROR([cannot determine a size for $1])
     36fi
     37AC_MSG_RESULT($AC_CV_NAME)
     38AC_DEFINE_UNQUOTED(AC_TYPE_NAME, $AC_CV_NAME, [The number of bytes in type $1])
     39undefine([AC_TYPE_NAME])dnl
     40undefine([AC_CV_NAME])dnl
     41])
     42
     43dnl Utility macro used by next two tests.
     44dnl AC_EXAMINE_OBJECT(C source code,
     45dnl     commands examining object file,
     46dnl     [commands to run if compile failed]):
     47dnl
     48dnl Compile the source code to an object file; then convert it into a
     49dnl printable representation.  All unprintable characters and
     50dnl asterisks (*) are replaced by dots (.).  All white space is
     51dnl deleted.  Newlines (ASCII 0x10) in the input are preserved in the
     52dnl output, but runs of newlines are compressed to a single newline.
     53dnl Finally, line breaks are forcibly inserted so that no line is
     54dnl longer than 80 columns and the file ends with a newline.  The
     55dnl result of all this processing is in the file conftest.dmp, which
     56dnl may be examined by the commands in the second argument.
     57dnl
     58AC_DEFUN([gcc_AC_EXAMINE_OBJECT],
     59[AC_LANG_SAVE
     60AC_LANG_C
     61dnl Next bit cribbed from AC_TRY_COMPILE.
     62cat > conftest.$ac_ext <<EOF
     63[#line __oline__ "configure"
     64#include "confdefs.h"
     65$1
     66]EOF
     67if AC_TRY_EVAL(ac_compile); then
     68  od -c conftest.o |
     69    sed ['s/^[0-7]*[    ]*/ /
     70          s/\*/./g
     71          s/ \\n/*/g
     72          s/ [0-9][0-9][0-9]/./g
     73          s/  \\[^ ]/./g'] |
     74    tr -d '
     75 ' | tr -s '*' '
     76' | fold | sed '$a\
     77' > conftest.dmp
     78  $2
     79ifelse($3, , , else
     80  $3
     81)dnl
     82fi
     83rm -rf conftest*
     84AC_LANG_RESTORE])
     85
     86dnl Host endianness probe.
     87dnl Differs from AC_C_BIGENDIAN in that it does not require
     88dnl running a program on the host.
     89dnl
     90AC_DEFUN([fastjar_AC_COMPILE_C_BIGENDIAN],
     91[AC_CACHE_CHECK(byte ordering, ac_cv_c_compile_endian,
     92[ac_cv_c_compile_endian=unknown
     93gcc_AC_EXAMINE_OBJECT([
     94#ifdef HAVE_LIMITS_H
     95# include <limits.h>
     96#endif
     97/* This structure must have no internal padding.  */
     98  struct {
     99    char prefix[sizeof "\nendian:" - 1];
     100    short word;
     101    char postfix[2];
     102 } tester = {
     103    "\nendian:",
     104#if SIZEOF_SHORT == 4
     105    ('A' << (CHAR_BIT * 3)) | ('B' << (CHAR_BIT * 2)) |
     106#endif
     107    ('A' << CHAR_BIT) | 'B',
     108    'X', '\n'
     109};],
     110 [if   grep 'endian:AB' conftest.dmp >/dev/null 2>&1; then
     111    ac_cv_c_compile_endian=big-endian
     112  elif grep 'endian:BA' conftest.dmp >/dev/null 2>&1; then
     113    ac_cv_c_compile_endian=little-endian
     114  fi])
     115])
     116if test $ac_cv_c_compile_endian = unknown; then
     117  AC_MSG_ERROR([*** unable to determine endianness])
     118elif test $ac_cv_c_compile_endian = big-endian; then
     119  AC_DEFINE(WORDS_BIG_ENDIAN, 1,
     120  [Define if the host machine stores words of multi-word integers in
     121   big-endian order.])
     122fi
     123])
     124
     125dnl Define MKDIR_TAKES_ONE_ARG if mkdir accepts only one argument instead
     126dnl of the usual 2.
     127AC_DEFUN(gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG,
     128[AC_CACHE_CHECK([if mkdir takes one argument], gcc_cv_mkdir_takes_one_arg,
     129[AC_TRY_COMPILE([
     130#include <sys/types.h>
     131#ifdef HAVE_SYS_STAT_H
     132# include <sys/stat.h>
     133#endif
     134#ifdef HAVE_UNISTD_H
     135# include <unistd.h>
     136#endif
     137#ifdef HAVE_DIRECT_H
     138# include <direct.h>
     139#endif], [mkdir ("foo", 0);],
     140         gcc_cv_mkdir_takes_one_arg=no, gcc_cv_mkdir_takes_one_arg=yes)])
     141if test $gcc_cv_mkdir_takes_one_arg = yes ; then
     142   AC_DEFINE(MKDIR_TAKES_ONE_ARG, 1, [Define if host mkdir takes a
     143single argument.])
     144fi
     145])
    12146
    13147# Do all the work for Automake.  This macro actually does too much --
  • branches/GNU/src/gcc/fastjar/config.h.in

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    99/* Define if your <sys/time.h> declares struct tm.  */
    1010#undef TM_IN_SYS_TIME
    11 
    12 /* Define if your processor stores words with the most significant
    13    byte first (like Motorola and SPARC, unlike Intel and VAX).  */
    14 #undef WORDS_BIGENDIAN
    15 
    16 /* The number of bytes in a char.  */
    17 #undef SIZEOF_CHAR
    18 
    19 /* The number of bytes in a int.  */
    20 #undef SIZEOF_INT
    21 
    22 /* The number of bytes in a long.  */
    23 #undef SIZEOF_LONG
    24 
    25 /* The number of bytes in a long long.  */
    26 #undef SIZEOF_LONG_LONG
    27 
    28 /* The number of bytes in a short.  */
    29 #undef SIZEOF_SHORT
    3011
    3112/* Define if you have the <dirent.h> header file.  */
     
    4021/* Define if you have the <stdlib.h> header file.  */
    4122#undef HAVE_STDLIB_H
     23
     24/* Define if you have the <limits.h> header file.  */
     25#undef HAVE_LIMITS_H
    4226
    4327/* Define if you have the <sys/dir.h> header file.  */
     
    5943#undef VERSION
    6044
     45/* Define if host mkdir takes a
     46single argument. */
     47#undef MKDIR_TAKES_ONE_ARG
     48
     49/* The number of bytes in type char */
     50#undef SIZEOF_CHAR
     51
     52/* The number of bytes in type short */
     53#undef SIZEOF_SHORT
     54
     55/* The number of bytes in type int */
     56#undef SIZEOF_INT
     57
     58/* The number of bytes in type long */
     59#undef SIZEOF_LONG
     60
     61/* The number of bytes in type long long */
     62#undef SIZEOF_LONG_LONG
     63
     64/* Define if the host machine stores words of multi-word integers in
     65   big-endian order. */
     66#undef WORDS_BIG_ENDIAN
     67
  • branches/GNU/src/gcc/fastjar/configure

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    16921692fi
    16931693
    1694 for ac_hdr in fcntl.h unistd.h sys/param.h stdlib.h
     1694for ac_hdr in fcntl.h unistd.h sys/param.h stdlib.h limits.h
    16951695do
    16961696ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
     
    18011801
    18021802
    1803 echo $ac_n "checking size of char""... $ac_c" 1>&6
    1804 echo "configure:1805: checking size of char" >&5
    1805 if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
    1806   echo $ac_n "(cached) $ac_c" 1>&6
    1807 else
    1808   if test "$cross_compiling" = yes; then
    1809     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
     1803# mkdir takes a single argument on some systems.
     1804echo $ac_n "checking if mkdir takes one argument""... $ac_c" 1>&6
     1805echo "configure:1806: checking if mkdir takes one argument" >&5
     1806if eval "test \"`echo '$''{'gcc_cv_mkdir_takes_one_arg'+set}'`\" = set"; then
     1807  echo $ac_n "(cached) $ac_c" 1>&6
    18101808else
    18111809  cat > conftest.$ac_ext <<EOF
    1812 #line 1813 "configure"
    1813 #include "confdefs.h"
    1814 #include <stdio.h>
    1815 main()
    1816 {
    1817   FILE *f=fopen("conftestval", "w");
    1818   if (!f) exit(1);
    1819   fprintf(f, "%d\n", sizeof(char));
    1820   exit(0);
    1821 }
    1822 EOF
    1823 if { (eval echo configure:1824: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    1824 then
    1825   ac_cv_sizeof_char=`cat conftestval`
     1810#line 1811 "configure"
     1811#include "confdefs.h"
     1812
     1813#include <sys/types.h>
     1814#ifdef HAVE_SYS_STAT_H
     1815# include <sys/stat.h>
     1816#endif
     1817#ifdef HAVE_UNISTD_H
     1818# include <unistd.h>
     1819#endif
     1820#ifdef HAVE_DIRECT_H
     1821# include <direct.h>
     1822#endif
     1823int main() {
     1824mkdir ("foo", 0);
     1825; return 0; }
     1826EOF
     1827if { (eval echo configure:1828: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1828  rm -rf conftest*
     1829  gcc_cv_mkdir_takes_one_arg=no
    18261830else
    18271831  echo "configure: failed program was:" >&5
    18281832  cat conftest.$ac_ext >&5
    1829   rm -fr conftest*
    1830   ac_cv_sizeof_char=0
    1831 fi
    1832 rm -fr conftest*
    1833 fi
    1834 
     1833  rm -rf conftest*
     1834  gcc_cv_mkdir_takes_one_arg=yes
     1835fi
     1836rm -f conftest*
     1837fi
     1838
     1839echo "$ac_t""$gcc_cv_mkdir_takes_one_arg" 1>&6
     1840if test $gcc_cv_mkdir_takes_one_arg = yes ; then
     1841   cat >> confdefs.h <<\EOF
     1842#define MKDIR_TAKES_ONE_ARG 1
     1843EOF
     1844
     1845fi
     1846
     1847
     1848echo $ac_n "checking size of char""... $ac_c" 1>&6
     1849echo "configure:1850: checking size of char" >&5
     1850if eval "test \"`echo '$''{'ac_cv_sizeof_char'+set}'`\" = set"; then
     1851  echo $ac_n "(cached) $ac_c" 1>&6
     1852else
     1853  for ac_size in 4 8 1 2 16  ; do # List sizes in rough order of prevalence.
     1854  cat > conftest.$ac_ext <<EOF
     1855#line 1856 "configure"
     1856#include "confdefs.h"
     1857#include "confdefs.h"
     1858#include <sys/types.h>
     1859
     1860
     1861int main() {
     1862switch (0) case 0: case (sizeof (char) == $ac_size):;
     1863; return 0; }
     1864EOF
     1865if { (eval echo configure:1866: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1866  rm -rf conftest*
     1867  ac_cv_sizeof_char=$ac_size
     1868else
     1869  echo "configure: failed program was:" >&5
     1870  cat conftest.$ac_ext >&5
     1871fi
     1872rm -f conftest*
     1873  if test x$ac_cv_sizeof_char != x ; then break; fi
     1874done
     1875
     1876fi
     1877
     1878if test x$ac_cv_sizeof_char = x ; then
     1879  { echo "configure: error: cannot determine a size for char" 1>&2; exit 1; }
    18351880fi
    18361881echo "$ac_t""$ac_cv_sizeof_char" 1>&6
     
    18411886
    18421887echo $ac_n "checking size of short""... $ac_c" 1>&6
    1843 echo "configure:1844: checking size of short" >&5
     1888echo "configure:1889: checking size of short" >&5
    18441889if eval "test \"`echo '$''{'ac_cv_sizeof_short'+set}'`\" = set"; then
    18451890  echo $ac_n "(cached) $ac_c" 1>&6
    18461891else
    1847   if test "$cross_compiling" = yes; then
    1848     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
    1849 else
     1892  for ac_size in 4 8 1 2 16  ; do # List sizes in rough order of prevalence.
    18501893  cat > conftest.$ac_ext <<EOF
    1851 #line 1852 "configure"
    1852 #include "confdefs.h"
    1853 #include <stdio.h>
    1854 main()
    1855 {
    1856   FILE *f=fopen("conftestval", "w");
    1857   if (!f) exit(1);
    1858   fprintf(f, "%d\n", sizeof(short));
    1859   exit(0);
    1860 }
    1861 EOF
    1862 if { (eval echo configure:1863: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    1863 then
    1864   ac_cv_sizeof_short=`cat conftestval`
     1894#line 1895 "configure"
     1895#include "confdefs.h"
     1896#include "confdefs.h"
     1897#include <sys/types.h>
     1898
     1899
     1900int main() {
     1901switch (0) case 0: case (sizeof (short) == $ac_size):;
     1902; return 0; }
     1903EOF
     1904if { (eval echo configure:1905: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1905  rm -rf conftest*
     1906  ac_cv_sizeof_short=$ac_size
    18651907else
    18661908  echo "configure: failed program was:" >&5
    18671909  cat conftest.$ac_ext >&5
    1868   rm -fr conftest*
    1869   ac_cv_sizeof_short=0
    1870 fi
    1871 rm -fr conftest*
    1872 fi
    1873 
     1910fi
     1911rm -f conftest*
     1912  if test x$ac_cv_sizeof_short != x ; then break; fi
     1913done
     1914
     1915fi
     1916
     1917if test x$ac_cv_sizeof_short = x ; then
     1918  { echo "configure: error: cannot determine a size for short" 1>&2; exit 1; }
    18741919fi
    18751920echo "$ac_t""$ac_cv_sizeof_short" 1>&6
     
    18801925
    18811926echo $ac_n "checking size of int""... $ac_c" 1>&6
    1882 echo "configure:1883: checking size of int" >&5
     1927echo "configure:1928: checking size of int" >&5
    18831928if eval "test \"`echo '$''{'ac_cv_sizeof_int'+set}'`\" = set"; then
    18841929  echo $ac_n "(cached) $ac_c" 1>&6
    18851930else
    1886   if test "$cross_compiling" = yes; then
    1887     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
    1888 else
     1931  for ac_size in 4 8 1 2 16  ; do # List sizes in rough order of prevalence.
    18891932  cat > conftest.$ac_ext <<EOF
    1890 #line 1891 "configure"
    1891 #include "confdefs.h"
    1892 #include <stdio.h>
    1893 main()
    1894 {
    1895   FILE *f=fopen("conftestval", "w");
    1896   if (!f) exit(1);
    1897   fprintf(f, "%d\n", sizeof(int));
    1898   exit(0);
    1899 }
    1900 EOF
    1901 if { (eval echo configure:1902: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    1902 then
    1903   ac_cv_sizeof_int=`cat conftestval`
     1933#line 1934 "configure"
     1934#include "confdefs.h"
     1935#include "confdefs.h"
     1936#include <sys/types.h>
     1937
     1938
     1939int main() {
     1940switch (0) case 0: case (sizeof (int) == $ac_size):;
     1941; return 0; }
     1942EOF
     1943if { (eval echo configure:1944: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1944  rm -rf conftest*
     1945  ac_cv_sizeof_int=$ac_size
    19041946else
    19051947  echo "configure: failed program was:" >&5
    19061948  cat conftest.$ac_ext >&5
    1907   rm -fr conftest*
    1908   ac_cv_sizeof_int=0
    1909 fi
    1910 rm -fr conftest*
    1911 fi
    1912 
     1949fi
     1950rm -f conftest*
     1951  if test x$ac_cv_sizeof_int != x ; then break; fi
     1952done
     1953
     1954fi
     1955
     1956if test x$ac_cv_sizeof_int = x ; then
     1957  { echo "configure: error: cannot determine a size for int" 1>&2; exit 1; }
    19131958fi
    19141959echo "$ac_t""$ac_cv_sizeof_int" 1>&6
     
    19191964
    19201965echo $ac_n "checking size of long""... $ac_c" 1>&6
    1921 echo "configure:1922: checking size of long" >&5
     1966echo "configure:1967: checking size of long" >&5
    19221967if eval "test \"`echo '$''{'ac_cv_sizeof_long'+set}'`\" = set"; then
    19231968  echo $ac_n "(cached) $ac_c" 1>&6
    19241969else
    1925   if test "$cross_compiling" = yes; then
    1926     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
    1927 else
     1970  for ac_size in 4 8 1 2 16  ; do # List sizes in rough order of prevalence.
    19281971  cat > conftest.$ac_ext <<EOF
    1929 #line 1930 "configure"
    1930 #include "confdefs.h"
    1931 #include <stdio.h>
    1932 main()
    1933 {
    1934   FILE *f=fopen("conftestval", "w");
    1935   if (!f) exit(1);
    1936   fprintf(f, "%d\n", sizeof(long));
    1937   exit(0);
    1938 }
    1939 EOF
    1940 if { (eval echo configure:1941: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    1941 then
    1942   ac_cv_sizeof_long=`cat conftestval`
     1972#line 1973 "configure"
     1973#include "confdefs.h"
     1974#include "confdefs.h"
     1975#include <sys/types.h>
     1976
     1977
     1978int main() {
     1979switch (0) case 0: case (sizeof (long) == $ac_size):;
     1980; return 0; }
     1981EOF
     1982if { (eval echo configure:1983: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     1983  rm -rf conftest*
     1984  ac_cv_sizeof_long=$ac_size
    19431985else
    19441986  echo "configure: failed program was:" >&5
    19451987  cat conftest.$ac_ext >&5
    1946   rm -fr conftest*
    1947   ac_cv_sizeof_long=0
    1948 fi
    1949 rm -fr conftest*
    1950 fi
    1951 
     1988fi
     1989rm -f conftest*
     1990  if test x$ac_cv_sizeof_long != x ; then break; fi
     1991done
     1992
     1993fi
     1994
     1995if test x$ac_cv_sizeof_long = x ; then
     1996  { echo "configure: error: cannot determine a size for long" 1>&2; exit 1; }
    19521997fi
    19531998echo "$ac_t""$ac_cv_sizeof_long" 1>&6
     
    19582003
    19592004echo $ac_n "checking size of long long""... $ac_c" 1>&6
    1960 echo "configure:1961: checking size of long long" >&5
     2005echo "configure:2006: checking size of long long" >&5
    19612006if eval "test \"`echo '$''{'ac_cv_sizeof_long_long'+set}'`\" = set"; then
    19622007  echo $ac_n "(cached) $ac_c" 1>&6
    19632008else
    1964   if test "$cross_compiling" = yes; then
    1965     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
    1966 else
     2009  for ac_size in 4 8 1 2 16  ; do # List sizes in rough order of prevalence.
    19672010  cat > conftest.$ac_ext <<EOF
    1968 #line 1969 "configure"
    1969 #include "confdefs.h"
    1970 #include <stdio.h>
    1971 main()
    1972 {
    1973   FILE *f=fopen("conftestval", "w");
    1974   if (!f) exit(1);
    1975   fprintf(f, "%d\n", sizeof(long long));
    1976   exit(0);
    1977 }
    1978 EOF
    1979 if { (eval echo configure:1980: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    1980 then
    1981   ac_cv_sizeof_long_long=`cat conftestval`
     2011#line 2012 "configure"
     2012#include "confdefs.h"
     2013#include "confdefs.h"
     2014#include <sys/types.h>
     2015
     2016
     2017int main() {
     2018switch (0) case 0: case (sizeof (long long) == $ac_size):;
     2019; return 0; }
     2020EOF
     2021if { (eval echo configure:2022: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2022  rm -rf conftest*
     2023  ac_cv_sizeof_long_long=$ac_size
    19822024else
    19832025  echo "configure: failed program was:" >&5
    19842026  cat conftest.$ac_ext >&5
    1985   rm -fr conftest*
    1986   ac_cv_sizeof_long_long=0
    1987 fi
    1988 rm -fr conftest*
    1989 fi
    1990 
     2027fi
     2028rm -f conftest*
     2029  if test x$ac_cv_sizeof_long_long != x ; then break; fi
     2030done
     2031
     2032fi
     2033
     2034if test x$ac_cv_sizeof_long_long = x ; then
     2035  { echo "configure: error: cannot determine a size for long long" 1>&2; exit 1; }
    19912036fi
    19922037echo "$ac_t""$ac_cv_sizeof_long_long" 1>&6
     
    19972042
    19982043
    1999 echo $ac_n "checking whether byte ordering is bigendian""... $ac_c" 1>&6
    2000 echo "configure:2001: checking whether byte ordering is bigendian" >&5
    2001 if eval "test \"`echo '$''{'ac_cv_c_bigendian'+set}'`\" = set"; then
    2002   echo $ac_n "(cached) $ac_c" 1>&6
    2003 else
    2004   ac_cv_c_bigendian=unknown
    2005 # See if sys/param.h defines the BYTE_ORDER macro.
     2044echo $ac_n "checking byte ordering""... $ac_c" 1>&6
     2045echo "configure:2046: checking byte ordering" >&5
     2046if eval "test \"`echo '$''{'ac_cv_c_compile_endian'+set}'`\" = set"; then
     2047  echo $ac_n "(cached) $ac_c" 1>&6
     2048else
     2049  ac_cv_c_compile_endian=unknown
     2050
     2051ac_ext=c
     2052# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     2053ac_cpp='$CPP $CPPFLAGS'
     2054ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     2055ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     2056cross_compiling=$ac_cv_prog_cc_cross
     2057
    20062058cat > conftest.$ac_ext <<EOF
    2007 #line 2008 "configure"
    2008 #include "confdefs.h"
    2009 #include <sys/types.h>
    2010 #include <sys/param.h>
    2011 int main() {
    2012 
    2013 #if !BYTE_ORDER || !BIG_ENDIAN || !LITTLE_ENDIAN
    2014  bogus endian macros
     2059#line 2060 "configure"
     2060#include "confdefs.h"
     2061
     2062#ifdef HAVE_LIMITS_H
     2063# include <limits.h>
    20152064#endif
    2016 ; return 0; }
    2017 EOF
    2018 if { (eval echo configure:2019: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    2019   rm -rf conftest*
    2020   # It does; now see whether it defined to BIG_ENDIAN or not.
    2021 cat > conftest.$ac_ext <<EOF
    2022 #line 2023 "configure"
    2023 #include "confdefs.h"
    2024 #include <sys/types.h>
    2025 #include <sys/param.h>
    2026 int main() {
    2027 
    2028 #if BYTE_ORDER != BIG_ENDIAN
    2029  not big endian
     2065/* This structure must have no internal padding.  */
     2066  struct {
     2067    char prefix[sizeof "\nendian:" - 1];
     2068    short word;
     2069    char postfix[2];
     2070 } tester = {
     2071    "\nendian:",
     2072#if SIZEOF_SHORT == 4
     2073    ('A' << (CHAR_BIT * 3)) | ('B' << (CHAR_BIT * 2)) |
    20302074#endif
    2031 ; return 0; }
    2032 EOF
    2033 if { (eval echo configure:2034: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
    2034   rm -rf conftest*
    2035   ac_cv_c_bigendian=yes
    2036 else
    2037   echo "configure: failed program was:" >&5
    2038   cat conftest.$ac_ext >&5
    2039   rm -rf conftest*
    2040   ac_cv_c_bigendian=no
    2041 fi
    2042 rm -f conftest*
    2043 else
    2044   echo "configure: failed program was:" >&5
    2045   cat conftest.$ac_ext >&5
    2046 fi
    2047 rm -f conftest*
    2048 if test $ac_cv_c_bigendian = unknown; then
    2049 if test "$cross_compiling" = yes; then
    2050     { echo "configure: error: can not run test program while cross compiling" 1>&2; exit 1; }
    2051 else
    2052   cat > conftest.$ac_ext <<EOF
    2053 #line 2054 "configure"
    2054 #include "confdefs.h"
    2055 main () {
    2056   /* Are we little or big endian?  From Harbison&Steele.  */
    2057   union
    2058   {
    2059     long l;
    2060     char c[sizeof (long)];
    2061   } u;
    2062   u.l = 1;
    2063   exit (u.c[sizeof (long) - 1] == 1);
    2064 }
    2065 EOF
    2066 if { (eval echo configure:2067: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext} && (./conftest; exit) 2>/dev/null
    2067 then
    2068   ac_cv_c_bigendian=no
    2069 else
    2070   echo "configure: failed program was:" >&5
    2071   cat conftest.$ac_ext >&5
    2072   rm -fr conftest*
    2073   ac_cv_c_bigendian=yes
    2074 fi
    2075 rm -fr conftest*
    2076 fi
    2077 
    2078 fi
    2079 fi
    2080 
    2081 echo "$ac_t""$ac_cv_c_bigendian" 1>&6
    2082 if test $ac_cv_c_bigendian = yes; then
     2075    ('A' << CHAR_BIT) | 'B',
     2076    'X', '\n'
     2077};
     2078EOF
     2079if { (eval echo configure:2080: \"$ac_compile\") 1>&5; (eval $ac_compile) 2>&5; }; then
     2080  od -c conftest.o |
     2081    sed 's/^[0-7]*[     ]*/ /
     2082          s/\*/./g
     2083          s/ \\n/*/g
     2084          s/ [0-9][0-9][0-9]/./g
     2085          s/  \\[^ ]/./g' |
     2086    tr -d '
     2087 ' | tr -s '*' '
     2088' | fold | sed '$a\
     2089' > conftest.dmp
     2090  if   grep 'endian:AB' conftest.dmp >/dev/null 2>&1; then
     2091    ac_cv_c_compile_endian=big-endian
     2092  elif grep 'endian:BA' conftest.dmp >/dev/null 2>&1; then
     2093    ac_cv_c_compile_endian=little-endian
     2094  fi
     2095fi
     2096rm -rf conftest*
     2097ac_ext=c
     2098# CFLAGS is not in ac_cpp because -g, -O, etc. are not valid cpp options.
     2099ac_cpp='$CPP $CPPFLAGS'
     2100ac_compile='${CC-cc} -c $CFLAGS $CPPFLAGS conftest.$ac_ext 1>&5'
     2101ac_link='${CC-cc} -o conftest${ac_exeext} $CFLAGS $CPPFLAGS $LDFLAGS conftest.$ac_ext $LIBS 1>&5'
     2102cross_compiling=$ac_cv_prog_cc_cross
     2103
     2104
     2105fi
     2106
     2107echo "$ac_t""$ac_cv_c_compile_endian" 1>&6
     2108if test $ac_cv_c_compile_endian = unknown; then
     2109  { echo "configure: error: *** unable to determine endianness" 1>&2; exit 1; }
     2110elif test $ac_cv_c_compile_endian = big-endian; then
    20832111  cat >> confdefs.h <<\EOF
    2084 #define WORDS_BIGENDIAN 1
     2112#define WORDS_BIG_ENDIAN 1
    20852113EOF
    20862114
     
    21012129if test "$with_system_zlib" = yes; then
    21022130   echo $ac_n "checking for deflate in -lz""... $ac_c" 1>&6
    2103 echo "configure:2104: checking for deflate in -lz" >&5
     2131echo "configure:2132: checking for deflate in -lz" >&5
    21042132ac_lib_var=`echo z'_'deflate | sed 'y%./+-%__p_%'`
    21052133if eval "test \"`echo '$''{'ac_cv_lib_$ac_lib_var'+set}'`\" = set"; then
     
    21092137LIBS="-lz  $LIBS"
    21102138cat > conftest.$ac_ext <<EOF
    2111 #line 2112 "configure"
     2139#line 2140 "configure"
    21122140#include "confdefs.h"
    21132141/* Override any gcc2 internal prototype to avoid an error.  */
     
    21202148; return 0; }
    21212149EOF
    2122 if { (eval echo configure:2123: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
     2150if { (eval echo configure:2151: \"$ac_link\") 1>&5; (eval $ac_link) 2>&5; } && test -s conftest${ac_exeext}; then
    21232151  rm -rf conftest*
    21242152  eval "ac_cv_lib_$ac_lib_var=yes"
     
    21532181
    21542182
     2183
     2184
     2185# Get the version trigger filename from the toplevel
     2186if test "${with_gcc_version_trigger+set}" = set; then
     2187   gcc_version_trigger=$with_gcc_version_trigger
     2188else
     2189   gcc_version_trigger=${srcdir}/version.c
     2190fi
     2191gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*"\([^"]*\)".*/\1/'`
     2192gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
    21552193
    21562194
     
    23132351s%@ZDEPS@%$ZDEPS%g
    23142352s%@ZINCS@%$ZINCS%g
     2353s%@gcc_version@%$gcc_version%g
    23152354
    23162355CEOF
     
    23212360# Split the substitutions into bite-sized pieces for seds with
    23222361# small command number limits, like on Digital OSF/1 and HP-UX.
    2323 ac_max_sed_cmds=90 # Maximum number of lines to put in a sed script.
     2362ac_max_sed_cmds=60 # Maximum number of lines to put in a sed script.
    23242363ac_file=1 # Number of current file.
    23252364ac_beg=1 # First line for current file.
  • branches/GNU/src/gcc/fastjar/configure.in

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    2525AC_HEADER_STDC
    2626AC_STRUCT_TM
    27 AC_CHECK_HEADERS(fcntl.h unistd.h sys/param.h stdlib.h)
     27AC_CHECK_HEADERS(fcntl.h unistd.h sys/param.h stdlib.h limits.h)
    2828
    2929dnl Checks for typedefs, structures, and compiler characteristics.
     
    3131AC_STRUCT_TM
    3232
     33# mkdir takes a single argument on some systems.
     34gcc_AC_FUNC_MKDIR_TAKES_ONE_ARG
     35
    3336dnl Check for type-widths
    34 AC_CHECK_SIZEOF(char)
    35 AC_CHECK_SIZEOF(short)
    36 AC_CHECK_SIZEOF(int)
    37 AC_CHECK_SIZEOF(long)
    38 AC_CHECK_SIZEOF(long long)
     37gcc_AC_COMPILE_CHECK_SIZEOF(char)
     38gcc_AC_COMPILE_CHECK_SIZEOF(short)
     39gcc_AC_COMPILE_CHECK_SIZEOF(int)
     40gcc_AC_COMPILE_CHECK_SIZEOF(long)
     41gcc_AC_COMPILE_CHECK_SIZEOF(long long)
    3942
    4043dnl Check byte order
    41 AC_C_BIGENDIAN
     44fastjar_AC_COMPILE_C_BIGENDIAN
    4245
    4346AC_ARG_WITH(system-zlib,
     
    6467AC_SUBST(ZINCS)
    6568
     69# Get the version trigger filename from the toplevel
     70if test "${with_gcc_version_trigger+set}" = set; then
     71   gcc_version_trigger=$with_gcc_version_trigger
     72else
     73   gcc_version_trigger=${srcdir}/version.c
     74fi
     75changequote(,)dnl
     76gcc_version_full=`grep version_string ${gcc_version_trigger} | sed -e 's/.*"\([^"]*\)".*/\1/'`
     77gcc_version=`echo ${gcc_version_full} | sed -e 's/\([^ ]*\) .*/\1/'`
     78changequote([,])dnl
     79AC_SUBST(gcc_version)
     80
    6681AC_OUTPUT(Makefile install-defs.sh)
  • branches/GNU/src/gcc/fastjar/dostime.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    2121
    2222#include <time.h>
     23
     24#include <stddef.h>
    2325
    2426#include "dostime.h"
  • branches/GNU/src/gcc/fastjar/jargrep.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    11/*
    22  jargrep.c - main functions for jargrep utility
    3   Copyright (C) 2002 Free Software Foundation
     3  Copyright (C) 2002, 2003 Free Software Foundation
    44  Copyright (C) 1999, 2000 Bryan Burns
    55  Copyright (C) 2000 Cory Hollingsworth
     
    106106#include <stdio.h>
    107107#include <unistd.h>
    108 #include <regex.h>
    109108#include <errno.h>
    110109#include <string.h>
     
    116115#include <stdlib.h>
    117116#endif
     117
     118#include "xregex.h"
     119
    118120#include "jargrep.h"
    119121#include "jartool.h"
     
    127129void help(const char *name);
    128130
    129 #define Usage "Usage: %s [-bcinsw] <-e PATTERN | PATTERN> FILE ...\n"
     131#define Usage "Usage: %s [-bcinsVw] [--version|--help] <-e PATTERN | PATTERN> FILE ...\n"
    130132
    131133/*
     
    770772   -s                suppress error messages\n\
    771773   -w                force PATTERN to match only whole words\n\
    772    -e PATTERN        use PATTERN as regular exprssion\n\
     774   -e PATTERN        use PATTERN as regular expression\n\
     775   -V|--version      print version number and exit\n\
     776   --help            print help\n\
    773777");
    774778
  • branches/GNU/src/gcc/fastjar/jartool.c

    • Property cvs2svn:cvs-rev changed from 1.1 to 1.1.1.2
    r1390 r1391  
    239239#include "pushback.h"
    240240#include "compress.h"
     241
     242/* Some systems have mkdir that takes a single argument.  */
     243#ifdef MKDIR_TAKES_ONE_ARG
     244# define mkdir(a,b) mkdir(a)
     245#endif
     246
    241247
    242248#ifdef WORDS_BIGENDIAN
     
    434440  if(action == ACTION_CREATE){
    435441    if(jarfile){
    436       jarfd = open(jarfile, O_CREAT | O_BINARY | O_WRONLY | O_TRUNC,
    437                    S_IRUSR | S_IWUSR | S_IRGRP | S_IROTH);
     442      jarfd = open(jarfile, O_CREAT | O_BINARY | O_WRONLY | O_TRUNC, 0666);
    438443
    439444      if(jarfd < 0){
     
    839844  }
    840845
    841   if(!strcmp(file, jarfile)){
     846  if(jarfile && !strcmp(file, jarfile)){
    842847    if(verbose)
    843848      printf("skipping: %s\n", file);
     
    920925      if(de->d_name[0] == '.')
    921926        continue;
    922       if(!strcmp(de->d_name, jarfile)){ /* we don't want to add ourselves.  Believe me */
     927      if(jarfile && !strcmp(de->d_name, jarfile)){
     928        /* we don't want to add ourselves.  Believe me */
    923929        if(verbose)
    924930          printf("skipping: %s\n", de->d_name);
     
    14501456
    14511457    if(f_fd != -1 && handle){
    1452       f_fd = creat((const char *)filename, 00644);
     1458      f_fd = open((const char *)filename,
     1459                  O_WRONLY | O_CREAT | O_TRUNC | O_BINARY, 0644);
    14531460
    14541461      if(f_fd < 0){
     
    14651472
    14661473    if(method == 8 || flags & 0x0008){
    1467       if(seekable)
    1468         lseek(fd, eflen, SEEK_CUR);
    1469       else
    14701474        consume(&pbf, eflen);
    14711475     
     
    15021506      }
    15031507
    1504       if(seekable)
    1505         lseek(fd, eflen, SEEK_CUR);
    1506       else
    15071508        consume(&pbf, eflen);
    15081509    }
     
    15651566  time_t tdate;
    15661567  struct tm *s_tm;
    1567   char ascii_date[30];
     1568  char ascii_date[31];
    15681569  zipentry ze;
    15691570
     
    16561657        s_tm = localtime(&tdate);
    16571658        strftime(ascii_date, 30, "%a %b %d %H:%M:%S %Z %Y", s_tm);
    1658       }
    1659 
    1660       if(filename_len < fnlen){
     1659        ascii_date[30] = '\0';
     1660      }
     1661
     1662      if(filename_len < fnlen + 1){
    16611663        if(filename != NULL)
    16621664          free(filename);
     
    17751777        s_tm = localtime(&tdate);
    17761778        strftime(ascii_date, 30, "%a %b %d %H:%M:%S %Z %Y", s_tm);
    1777       }
    1778 
    1779       if(filename_len < fnlen){
     1779        ascii_date[30] = '\0';
     1780      }
     1781
     1782      if(filename_len < fnlen + 1){
    17801783        if(filename != NULL)
    17811784          free(filename);
     
    18481851#endif
    18491852
     1853  if (seekable){
     1854    if (amt <= (int)pbf->buff_amt)
     1855      pb_read(pbf, buff, amt);
     1856    else {
     1857      lseek(pbf->fd, amt - pbf->buff_amt, SEEK_CUR);
     1858      pb_read(pbf, buff, pbf->buff_amt); /* clear pbf */
     1859    }
     1860  } else
    18501861  while(tc < amt){
    18511862    rdamt = pb_read(pbf, buff, ((amt - tc) < RDSZ ? (amt - tc) : RDSZ));
     
    18571868
    18581869#ifdef DEBUG
    1859   printf("%d bytes consumed\n", tc);
     1870  printf("%d bytes consumed\n", amt);
    18601871#endif
    18611872
Note: See TracChangeset for help on using the changeset viewer.