diff --git a/NT/tools/rntecl b/NT/tools/rntecl index 00288d825c14a2ca1ec2da9f7209169eefdcede2..1f43becdafe18f0533e22c0b7747622e31fa3237 100755 --- a/NT/tools/rntecl +++ b/NT/tools/rntecl @@ -1,7 +1,7 @@ #!/usr/local/bin/pike // -*- Pike -*- -// $Id: rntecl,v 1.4 2000/08/14 16:11:46 grubba Exp $ +// $Id: rntecl,v 1.5 2000/08/14 21:10:29 grubba Exp $ // RNTECL, a front-end to Intel ECL with options similar to GCC // Written by Fredrik Hubinette & Henrik Grubbström. @@ -42,7 +42,7 @@ string remove_ext(string file) string o_to_obj(string fname) { - if (fname[sizeof(fname)-3..] == ".o") { + if (fname[sizeof(fname)-2..] == ".o") { return fname + "bj"; } return fname;