open/4 seems to call open/3. If the OptionList (4th argument) is invalid, but the other arguments are OK, then open/3 succeeds, even though an error is raised for open/4, and a stream is left behind: [eclipse 18]: open(newfile, write, a, atom). type error in open(newfile, write, a, atom) [eclipse 19]: streams. ..... 4 file write newfile ( a ) ..... Should the OptionList be checked first before calling open/3 to avoid such problems?Received on Mon Feb 19 17:03:44 2001
This archive was generated by hypermail 2.1.8 : Wed 16 Nov 2005 06:08:04 PM GMT GMT