1. 21 Aug, 2000 29 commits
  2. 20 Aug, 2000 11 commits
    • Adler32.java: Make private variables really private · 8559f9bb
      2000-08-20  Mark Wielaard  <mark@klomp.org>
      
          * java/util/zip/Adler32.java: Make private variables really private
          * java/util/zip/CRC32.java: Make private variables really private
          * java/util/zip/CheckedInputStream.java: skip() could skip to much bytes
          * java/util/zip/InflaterInputStream.java: skip() could skip to much bytes
          * java/util/zip/ZipEntry.java: setCompressedSize() didn't check input
          * java/util/zip/ZipFile.java: size() new 1.2 method
          * java/util/zip/ZipInputStream.java: Use createZipEntry not new ZipEntry.
          since 1.2 available() always returns just 1 or 0 when closed
      
      From-SVN: r35826
      Mark Wielaard committed
    • [multiple changes] · 3cb553b4
      2000-08-20  Zack Weinberg  <zack@wolery.cumb.org>
      
      	* cppinit.c (cpp_init): Set global flag when called.
      	(cpp_reader_init): Bomb out if cpp_init hasn't been called.
      
      Sun Aug 20 01:41:35 MSD 2000 Dennis Chernoivanov <cdi@sparc.spb.su>
      
              * cpplex.c (cpp_scan_buffer): Move `output_line_command' just
              before `process_directive' so that newlines won't be missed
              for directives.
              (cpp_printf): Increment `print->lineno' when newline is emitted.
      
              * cppmain.c (cb_ident): Likewise.
              (cb_define): Likewise.
              (cb_undef): Likewise.
              (cb_include): Likewise.
              (cb_def_pragma): Likewise.
              (dump_macros_helper): Likewise.
      
      	* gcc.dg/cpp/pragma-1.c: New test.
      	* gcc.dg/cpp/pragma-2.c: New test.
      
      From-SVN: r35825
      Zack Weinberg committed
    • JarFile.java: Don't call java.util.zip.ZipFile.getEntry twice. · 53e687fa
      
              * java/util/jar/JarFile.java: Don't call
              java.util.zip.ZipFile.getEntry twice.  From Mark Wielaard
              <mark@klomp.org>.
      
      From-SVN: r35824
      Anthony Green committed
    • ia64.c (emit_insn_group_barriers): Stop if ar.lc assigned before a loop. · 9c668921
              * config/ia64/ia64.c (emit_insn_group_barriers): Stop if ar.lc
              assigned before a loop.
      
              * config/ia64/ia64.md (ashlsi3): Zero extend the shift count.
              (ashrsi3, lshrsi3): Likewise.
      
      From-SVN: r35823
      Richard Henderson committed
    • Oops. Forgot some notes. · 48da46cc
      From-SVN: r35822
      Anthony Green committed
    • URLClassLoader.java: Find the JarEntry via the JarFile. · f2e541ce
      Sun Aug 20 09:51:48 2000  Anthony Green  <green@redhat.com>
      
              * java/net/URLClassLoader.java: Find the JarEntry via the JarFile.
      
              * java/net/JarURLConnection.java: getEntry doesn't take any
              arguments.  Return null if element is null.
      
              * java/util/zip/ZipFile.java (getInputStream): Read the compressed
              size from the archive, not the inflated size.
      
              * java/util/jar/JarFile.java (getEntry): Don't recurse.  Call
              java.util.zip.ZipFile.getEntry.
      
              * gij.cc (help): Change sourceware reference to
              sources.redhat.com.
      
      From-SVN: r35821
      Anthony Green committed
    • re GNATS gcj/305 (Interface methods implementations not always checked) · 1175b9b4
      	* parse.y (check_abstract_method_definitions): Now return `int'.
      	Check implemented interfaces.  Fixes PR gcj/305.
      
      From-SVN: r35820
      Tom Tromey committed
    • re GNATS gcj/310 (illegal type "long" accepted for "switch" expression) · 2e0f0aff
      	* parse.y (patch_switch_statement): Disallow `long' in switch
      	expressions.  Fixes PR gcj/310.
      
      From-SVN: r35819
      Tom Tromey committed
    • c-lang.c: #include diagnostic.h · 4e1e6a01
      	* c-lang.c: #include diagnostic.h
      	(c_tree_printer): New function.
      	(lang_init): Initialize lang_printer.
      
      	* Makefile.in (c-lang.o): Depends on diagnostic.h
      
      From-SVN: r35818
      Gabriel Dos Reis committed
    • c-errors.c (pedwarn_c99): Adjust call to report_diagnostic. · e2840263
      	* c-errors.c (pedwarn_c99): Adjust call to report_diagnostic.
      
      	* diagnostic.c (default_diagnostic_starter,
      	default_diagnostic_finalizer): New functions.
      	(diagnostic_for_asm, diagnostic_for_decl): Tweak.
      	(pedwarn, pedwarn_with_file_and_line, error,
      	error_with_file_and_line, fatal, warning,
      	warning_with_file_and_line): Adjust call to report_diagnostic.
      	(report_diagnostic): Rework.
      	(set_diagnostic_context): New function.
      
      	* diagnostic.h (struct diagnostic_context): New data structure.
      	(diagnostic_message, diagnostic_argument_list,
      	diagnostic_file_location, diagnostic_line_location,
      	diagnostic_is_warning, diagnostic_starter, diagnostic_finalizer,
      	diagnostic_finalizer, diagnostic_auxiliary_data): New macros.
      	(set_diagnostic_context): Declare.
      	(report_diagnostic): Change prototype.
      
      From-SVN: r35817
      Gabriel Dos Reis committed