Re: [PATCH v2] Fix detection of uname failure

2 messages, 2 authors, 2016-06-15 · open the first message on its own page

Re: [PATCH v2] Fix detection of uname failure

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:05:47

Johannes Schindelin [off-list ref] writes:
On 2015-07-17 19:09, Charles Bailey wrote:
quoted
From: Charles Bailey <redacted>

According to POSIX specification uname 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 <redacted>
Acked-by: Johannes Schindelin <redacted>
I'd s/Ack/Review/; as the original is not your code but you are well
qualified (and have my trust) to judge the change to this codepath
;-)

Thanks.

Re: [PATCH v2] Fix detection of uname failure

From: Johannes Schindelin <hidden>
Date: 2016-06-15 23:05:47

Hi Junio,

On 2015-07-17 23:39, Junio C Hamano wrote:
Johannes Schindelin [off-list ref] writes:
quoted
On 2015-07-17 19:09, Charles Bailey wrote:
quoted
From: Charles Bailey <redacted>

According to POSIX specification uname 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 <redacted>
Acked-by: Johannes Schindelin <redacted>
I'd s/Ack/Review/; as the original is not your code but you are well
qualified (and have my trust) to judge the change to this codepath
;-)
Yeah, that's what I meant ;-)

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help