-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Open
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorioInvolving the I/O subsystem: libuv, read, write, etc.Involving the I/O subsystem: libuv, read, write, etc.
Description
f = open("filename.txt", "a+")
println(f, "super\ncali\nfragilistic")
close(f)
f = open("filename.txt", "a+")
a = readall(f)
assert(length(a) > 0) # bug 1 -- not posix compliant
seek(a,0)
a = readall(f)
println(f,"hi") # bug 2 -- file is now twice as long as it should be
flush(f)
close(f)Metadata
Metadata
Assignees
Labels
bugIndicates an unexpected problem or unintended behaviorIndicates an unexpected problem or unintended behaviorioInvolving the I/O subsystem: libuv, read, write, etc.Involving the I/O subsystem: libuv, read, write, etc.