Bug#163172: gcj-3.2: Wrapper will not compile some files with path information
Package: gcj-3.2
Version: 1:3.2.1-0pre3
Severity: normal
Tags: patch
Hi. The wrapper /usr/bin/gcj-wrapper-3.2 fails if the first source it
is given contains path information beginning with a period.
Example:
gcj-wrapper-3.2 ../src/Test.java
This is because such a source is not recognised as a source file in the
case statement. The patch (which I have tested) is straightforward:
--- /usr/bin/gcj-wrapper-3.2 2002-09-20 06:36:22.000000000 +1000
+++ /tmp/gcj-wrapper-3.2 2002-10-03 17:01:20.000000000 +1000
@@ -66,7 +66,7 @@
-*)
;;
- [a-z0-9A-Z_/]*)
+ [a-z0-9A-Z_/\.]*)
break;;
esac
Thanks - Ben.
-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux espresso 2.4.19-686 #1 Thu Aug 8 21:30:09 EST 2002 i686
Locale: LANG=C, LC_CTYPE=C
Versions of packages gcj-3.2 depends on:
ii gcc-3.2 1:3.2.1-0pre3 The GNU C compiler.
ii gcc-3.2-base 1:3.2.1-0pre3 The GNU Compiler Collection (base
ii java-common 0.16 Base of all Java packages
ii libc6 2.2.5-14.3 GNU C Library: Shared libraries an
ii libgcc1 1:3.2.1-0pre3 GCC support library.
ii libgcj3 1:3.2.1-0pre3 Java runtime library for use with
ii libgcj3-dev 1:3.2.1-0pre3 Java development headers and stati
ii zlib1g 1:1.1.4-4 compression library - runtime
-- no debconf information
Reply to: