lkml.org 
[lkml]   [2000]   [Feb]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
Subject[PATCH] Re: pre-47 causes perl failures
From
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [W:0.029 / U:1.324 seconds]
©2003-2017 Jasper Spaans. hosted at Digital OceanAdvertise on this site