Index: binfmt_script.c =================================================================== RCS file: /home/davidm/cvsroot/new-wave/linux/fs/binfmt_script.c,v retrieving revision 1.1 retrieving revision 1.2 diff -c -r1.1 -r1.2 *** binfmt_script.c 1999/11/22 03:46:55 1.1 --- binfmt_script.c 2000/07/27 00:55:13 1.2 *************** *** 12,17 **** --- 12,18 ---- * The Silver Hammer Group, Ltd. * * FIXME: Modifications are untested! + * ^^^^^: tested it, found a small bug, seems to work now (davidm@lineo.com) */ #include *************** *** 129,135 **** bprm->dont_iput=0; retval=prepare_binprm(bprm); } ! if (!retval) { retval = search_binary_handler(bprm,regs); } --- 130,136 ---- bprm->dont_iput=0; retval=prepare_binprm(bprm); } ! if (retval >= 0) { retval = search_binary_handler(bprm,regs); }