Set errno=0 in read_block. On Win32 there is no errno and this makes the
authorJeetu Golani <jeetu.golani@gmail.com>
Thu, 22 Apr 2010 17:53:27 +0000 (23:23 +0530)
committerJeetu Golani <jeetu.golani@gmail.com>
Thu, 22 Apr 2010 17:53:27 +0000 (23:23 +0530)
commit56962e42a509dc4d0d9541e46b93689dac61c4fd
tree048ba88636814aca19d4297db51fd7428a1eda84
parent0e0c80e749eccf121e55c1e855c48d03b54f33ef
Set errno=0 in read_block. On Win32 there is no errno and this makes the
do..while loop execute only once. Also set the return value to -1 in
_xcb_open if control reaches the end - if all goes well it shouldn't
reach there.
src/xcb_in.c
src/xcb_util.c