home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.lang.perl
- Path: sparky!uunet!spool.mu.edu!agate!ames!saimiri.primate.wisc.edu!usenet.coe.montana.edu!news.u.washington.edu!henson!reed!mjeffery
- From: mjeffery@reed.edu (Mark Jefferys)
- Subject: Re: A simple test for perl 5.0
- Keywords: bug
- References: <42@glasgow.eiffel.com>
- Organization: Reed College, Portland, OR
- Date: Thu, 28 Jan 1993 21:37:53 GMT
- Message-ID: <1993Jan28.213753.4658@reed.edu>
- Expires: Sun, 21 Feb 1993 08:00:00 GMT
- Lines: 50
-
- In article <42@glasgow.eiffel.com> ram@eiffel.com (Raphael Manfredi) writes:
-
- % Which is peculiar... Removing one of the 'local' declarations in 'verify'
- % on simply avoiding assignment of &explore() into an array makes the
- % program loop indefinitely, as expected.
-
- This bug has been fixed for a while, but it is probably time to repost
- the fix -- seeing that posts about it seem to show up regularly:
-
-
- Index: cons.c
- *** Orig/cons.c Thu Jun 11 22:42:01 1992
- --- cons.c Sun Jun 28 18:31:20 1992
- ***************
- *** 1353,1359 ****
-
- /* in any event, save the iterator */
-
- ! (void)apush(tosave,cmd->c_short);
- }
- shouldsave |= tmpsave;
- }
- --- 1353,1360 ----
-
- /* in any event, save the iterator */
-
- ! if (cmd->c_short) /* Better safe than sorry */
- ! (void)apush(tosave,cmd->c_short);
- }
- shouldsave |= tmpsave;
- }
- ***************
- *** 1420,1426 ****
- shouldsave = TRUE;
- break;
- }
- ! if (willsave)
- (void)apush(tosave,arg->arg_ptr.arg_str);
- return shouldsave;
- }
- --- 1421,1427 ----
- shouldsave = TRUE;
- break;
- }
- ! if (willsave && arg->arg_ptr.arg_str)
- (void)apush(tosave,arg->arg_ptr.arg_str);
- return shouldsave;
- }
- --
- Mark Jefferys Internet: mjeffery@reed.edu
-