summaryrefslogtreecommitdiff
path: root/t/t9117-git-svn-init-clone.sh
diff options
context:
space:
mode:
authorLibravatar Samuel Tardieu <sam@rfc1149.net>2008-10-06 19:28:41 +0200
committerLibravatar Shawn O. Pearce <spearce@spearce.org>2008-10-08 07:38:48 -0700
commitfb7424363643d6049faf3bda399e5e602782b5b7 (patch)
tree3b0fae24a1fc6f2c534afec7d4803192667f2dca /t/t9117-git-svn-init-clone.sh
parentgit init: --bare/--shared overrides system/global config (diff)
downloadtgif-fb7424363643d6049faf3bda399e5e602782b5b7.tar.xz
Do not use errno when pread() returns 0
If we use pread() while at the end of the file, it will return 0, which is not an error from the operating system point of view. In this case, errno has not been set and must not be used. Signed-off-by: Samuel Tardieu <sam@rfc1149.net> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 't/t9117-git-svn-init-clone.sh')
0 files changed, 0 insertions, 0 deletions