author | Mike Ralphson <mike@abacus.co.uk> | |
Thu, 26 Feb 2009 15:31:52 +0000 (16:31 +0100) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Thu, 26 Feb 2009 16:40:27 +0000 (08:40 -0800) | ||
commit | 2c626e5fa8a46f647b88fb32d7b28d573e8631bf | |
tree | 0da673738e4c2e1c90e7a80dfa46e45c41bf0b87 | tree | snapshot |
parent | 6e180cdcecbb3e828aa892925d7ef67abf81ad80 | commit | diff |
Fix odb_mkstemp() on AIX
The AIX mkstemp() modifies its template parameter to an empty string if
the call fails. The existing code had already recomputed the template,
but too late to be good.
See also 6ff6af62, which fixed this problem in a different spot.
Signed-off-by: Mike Ralphson <mike@abacus.co.uk>
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
The AIX mkstemp() modifies its template parameter to an empty string if
the call fails. The existing code had already recomputed the template,
but too late to be good.
See also 6ff6af62, which fixed this problem in a different spot.
Signed-off-by: Mike Ralphson <mike@abacus.co.uk>
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
wrapper.c | diff | blob | history |