-l was missing an SPAGAIN.
authorBen Morrow <ben@morrow.me.uk>
Tue, 17 Mar 2009 23:49:45 +0000 (23:49 +0000)
committerBen Morrow <ben@morrow.me.uk>
Wed, 25 Mar 2009 21:14:10 +0000 (21:14 +0000)
pp_sys.c

index 1a8185a..15a368f 100644 (file)
--- a/pp_sys.c
+++ b/pp_sys.c
@@ -3240,11 +3240,13 @@ PP(pp_ftrowned)
 PP(pp_ftlink)
 {
     dVAR;
-    I32 result;
     dSP;
+    I32 result;
 
     tryAMAGICftest('l');
     result = my_lstat();
+    SPAGAIN;
+
     if (result < 0)
        RETPUSHUNDEF;
     if (S_ISLNK(PL_statcache.st_mode))