Manuscript (Case [Issue]21869) _Inbox - deprecated FileStream upToAll: broken

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Manuscript (Case [Issue]21869) _Inbox - deprecated FileStream upToAll: broken

Pharo Issue Tracker
Manuscript Notification
avatar
Bug in Project:  _Inbox: Not Spam  •  You are subscribed to this case
It works with the new streams

<code>
| stream string |
stream := 'test.txt' asFileReference writeStream.
2 timesRepeat: [ stream nextPutAll: Character alphabet; nextPutAll: '123456789' ].
stream close.
stream := 'test.txt' asFileReference readStream.
stream upTo: $1.
string := stream upToAll: '456'.
stream close.
string = '23'
</code>
Priority Priority: 5 – Fix If Time Status Status: Work Needed
Assigned To Assigned to: Everyone Milestone Milestone: Later

Go to Case
No longer need updates? Unsubscribe from this case.

Don't want Manuscript notifications anymore? Update your preferences.

Manuscript

_______________________________________________
Pharo-bugtracker mailing list
[hidden email]
https://lists.gforge.inria.fr/mailman/listinfo/pharo-bugtracker