Descriptionos: make FileInfo.Size() portable (zero on non-regular files)
This behavior was different between operating systems and bit
us when writing tar files.
Define the FileInfo.Size to be zero on non-regular files.
Patch Set 1 #Patch Set 2 : diff -r c7af497373ff https://go.googlecode.com/hg/ #Patch Set 3 : diff -r c7af497373ff https://go.googlecode.com/hg/ #
MessagesTotal messages: 15
|