Menu

#2 Read to RETUR/EOF creates BUS ERROR

0.006
open-postponed
5
2001-11-01
2001-09-23
No

#!/usr/local/bin/st

put "wanker.txt" into filePath
open file filePath for reading
repeat forever
read from file filePath until RETURN -- of OEF
write it
end repeat

Discussion

  • Todd A. Nathan

    Todd A. Nathan - 2001-09-23

    Logged In: YES
    user_id=314961

    Thank you for submitting a SenseTalk bug report. Your feedback is tremendously important in helping to make SenseTalk the best it can be. We appreciate your help!

     
  • Todd A. Nathan

    Todd A. Nathan - 2001-09-23
    • status: open --> open-fixed
     
  • Doug Simons

    Doug Simons - 2001-11-01
    • milestone: 146263 --> 0.006
    • priority: 7 --> 5
    • status: open-fixed --> open-postponed
     
  • Doug Simons

    Doug Simons - 2001-11-01

    Logged In: YES
    user_id=315816

    This script sits and spins in an infinite loop. Unfortunately, it eats up lots of memory while it does this, which is something we should look into at some point (maybe set up autorelease pools in every repeat loop??)

     

Log in to post a comment.