[PATCH] Re: pre-47 causes perl failures

From: Brian Warner (warner@lothar.com)
Date: Sun Feb 20 2000 - 03:55:13 EST


mdharnois@home.com (Michael Harnois) writes:
> Something in pre-2.3.47 is causing executables that are or reference
> perl scripts to fail, claiming the file is not found. Going back to
> 2.3.46 makes the problem go away ...

More than that, any scripts with arguments in the #! line would fail, like
"#!/usr/bin/perl -w" or "#!/bin/sh -e". There's a typo in the patch to
fs/binfmt_script.c causing the problem:

--- fs/binfmt_script.c~ Sat Feb 19 23:15:04 2000
+++ fs/binfmt_script.c Sun Feb 20 00:42:28 2000
@@ -47,7 +47,7 @@
         i_name = cp;
         i_arg = 0;
         for ( ; *cp && (*cp != ' ') && (*cp != '\t'); cp++)
- /* nothing */
+ ; /* nothing */
         while ((*cp == ' ') || (*cp == '\t'))
                 *cp++ = '\0';
         if (*cp)

cheers,
 -Brian
   warner@lothar.com

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Wed Feb 23 2000 - 21:00:25 EST