Awesome. libc docs for "a+" fopen mode say it seeks stream to the end…but it actually doesn't until first write. Confusing much?
-
-
@jedisct1 I'm not sure that's true, unless MRI is emulating glibc. Opening as "a+" and reading immediately will read from offset 0 on OS X. -
@headius https://gist.github.com/3154219 properly reports the size on OSX (at least 10.8)
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.