Overview
| Artifact ID: | 388abb00b8339927c6d73b0852c85d6685baa86a |
|---|---|
| Ticket: | 680143ffffffffffffffffffffffffffffffffff
Multi-append file surprise |
| User & Date: | dkf on 2006-03-10 22:18:06 |
Changes
- icomment:
Logged In: YES user_id=79902 The HEAD is still brain-damaged because it still doesn't use O_APPEND for the 'a' mode (unlike what you'd expect if you used stdio, like Tcl used to waaay back). $ rm test1.out test2.out $ tclsh8.5 % foreach i {1 2 3 4 5 6 7 8 9 0} {puts [open test1.out a] $i};exit $ tclsh8.5 % foreach i {1 2 3 4 5 6 7 8 9 0} {puts [open test2.out {WRONLY CREAT APPEND}] $i};exit $ wc -c test* 2 test1.out 20 test2.out 22 total - login: "dkf"
- mimetype: "text/plain"
- username: "dkf"