diff options
author | Charles Bailey <cbailey32@bloomberg.net> | 2015-07-17 19:09:41 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2015-07-17 23:39:59 +0200 |
commit | 100e433741715968b815e4b9fb3e638b625bf472 (patch) | |
tree | b554bb0f63ab83472ea770d80044c62d67be902f /gpg-interface.h | |
parent | untracked cache: guard and disable on system changes (diff) | |
download | git-100e433741715968b815e4b9fb3e638b625bf472.tar.xz git-100e433741715968b815e4b9fb3e638b625bf472.zip |
untracked: fix detection of uname(2) failure
According to POSIX specification uname(2) must return -1 on failure
and a non-negative value on success. Although many implementations
do return 0 on success it is valid to return any positive value for
success. In particular, Solaris returns 1.
Signed-off-by: Charles Bailey <cbailey32@bloomberg.net>
Reviewed-by: Johannes Schindelin <johannes.schindelin@gmx.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions