Files
git/builtin
David Turner 5781a9a270 xgethostname: handle long hostnames
If the full hostname doesn't fit in the buffer supplied to
gethostname, POSIX does not specify whether the buffer will be
null-terminated, so to be safe, we should do it ourselves.  Introduce
new function, xgethostname, which ensures that there is always a \0
at the end of the buffer.

Signed-off-by: David Turner <dturner@twosigma.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
2017-04-18 19:58:04 -07:00
..
2016-07-13 11:24:10 -07:00
2016-09-28 14:56:00 -07:00
2016-02-26 13:37:16 -08:00
2015-11-20 08:02:05 -05:00
2017-04-18 19:58:04 -07:00
2016-08-03 15:10:28 -07:00
2016-06-17 15:46:10 -07:00
2015-10-21 15:59:34 -07:00
2016-02-26 13:37:16 -08:00
2016-10-11 14:18:32 -07:00
2016-07-13 11:24:10 -07:00
2016-07-14 15:50:41 -07:00
2016-07-25 14:13:33 -07:00
2016-07-13 11:24:10 -07:00
2015-10-05 13:20:08 -07:00
2016-04-29 12:59:09 -07:00