aboutsummaryrefslogtreecommitdiff
path: root/t/diff-lib.sh
diff options
context:
space:
mode:
authorJohannes Sixt <johannes.sixt@telecom.at>2008-09-23 08:52:16 +0200
committerShawn O. Pearce <spearce@spearce.org>2008-09-29 08:22:40 -0700
commitd317851a7fd07f28890e6dc9bc2269da37c4122e (patch)
tree2d84be803142067df2c37dafe06df249fac7d4f6 /t/diff-lib.sh
parent07ad5a157d5f73941abfc3a511725d32e4c023d4 (diff)
downloadgit-d317851a7fd07f28890e6dc9bc2269da37c4122e.tar.gz
git-d317851a7fd07f28890e6dc9bc2269da37c4122e.tar.xz
compat/mingw: Support a timeout in the poll emulation if no fds are given
Our poll() emulation did not support the timeout argument. With this patch we support it for the simple case where poll() does not need to wait on file descriptors as well because this case amounts to a mere Sleep(). This is needed if the user sets help.autocorrect is set to a positive value. Signed-off-by: Johannes Sixt <johannes.sixt@telecom.at> Signed-off-by: Shawn O. Pearce <spearce@spearce.org>
Diffstat (limited to 't/diff-lib.sh')
0 files changed, 0 insertions, 0 deletions