From: SourceForge.net <no...@so...> - 2012-01-24 21:02:58
|
Bugs item #3479181, was opened at 2012-01-24 13:02 Message generated for change (Tracker Item Submitted) made by uzinngre You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=3479181&group_id=119701 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: U. Zinngrebe (uzinngre) Assigned to: Nobody/Anonymous (nobody) Summary: stream: cannot open shareread while write-protected Initial Comment: A write-protected stream can be opened in READ or in READ SHAREREAD mode, but opening in SHAREREAD mode fails. Linein(file) works in spite of the error message. tested release ver 4.1 under windows 32bit and ooRexx-4.2.0-7419.sles1110 64 bit. C:\ftp>rexx rexxtry REXX-ooRexx_4.1.0(MT) 6.03 5 Dec 2010 rexxtry.rex lets you interactively try REXX statements. Each string is executed when you hit Enter. Enter 'call tell' for a description of the features. Go on - try a few... Enter 'exit' to end. file='test2' ........................................... rexxtry.rex on WindowsNT Say Stream(file,'c','open shareread') READY: ........................................... rexxtry.rex on WindowsNT Say Stream(file,'c','close') READY: ........................................... rexxtry.rex on WindowsNT 'attrib +r test2' rc = 0 .................................... rexxtry.rex on WindowsNT Say Stream(file,'c','open shareread') ERROR:13 ........................................... rexxtry.rex on WindowsNT Say Stream(file,'c','open read') READY: ........................................... rexxtry.rex on WindowsNT Say Stream(file,'c','open read shareread') READY: ........................................... rexxtry.rex on WindowsNT ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=684730&aid=3479181&group_id=119701 |