diff options
author | Danny Sadinoff <sadinoff@olf.com> | 1997-05-09 12:33:18 -0400 |
---|---|---|
committer | Chip Salzenberg <chip@atlantic.net> | 1997-05-16 10:15:00 +1200 |
commit | 7596f71a28f72f9e3abd6d3962d29a7752cd9303 (patch) | |
tree | 0c3e933b259f6dfe101c235aafab69e34cf86fec | |
parent | 7b05b7e32c22894360c5332cd30232bdea49f5a8 (diff) | |
download | perl-7596f71a28f72f9e3abd6d3962d29a7752cd9303.tar.gz |
Don't require executable bit on perl -S if DOSISH
update to previous bugreport regarding the -x filetest and running
perl -S filename.
I misstated the patch necessary for turning off the executability check
for the -S option. It should be:
p5p-msgid: 337351CE.79B28DE3@olf.com
-rw-r--r-- | perl.c | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -1706,7 +1706,11 @@ SV *sv; if (retval < 0) continue; if (S_ISREG(statbuf.st_mode) - && cando(S_IRUSR,TRUE,&statbuf) && cando(S_IXUSR,TRUE,&statbuf)) { + && cando(S_IRUSR,TRUE,&statbuf) +#ifndef DOSISH + && cando(S_IXUSR,TRUE,&statbuf) +#endif + ) { xfound = tokenbuf; /* bingo! */ break; } |