ident: add NO_GECOS_IN_PWENT for systems without pw_gecos in struct passwd
authorRafael Gieschke <rafael@gieschke.de>
Thu, 19 May 2011 11:37:55 +0000 (13:37 +0200)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 May 2011 01:35:58 +0000 (18:35 -0700)
commit590e081dea7c064056941bfae28b25ce956585f5
tree8c3f7e984296967cf55af6fe6db6d345e9e42e4c
parentc0336ff27a9a4bf9db87d65c5dec1ebf7dd9f8c6
ident: add NO_GECOS_IN_PWENT for systems without pw_gecos in struct passwd

Allow NO_GECOS_IN_PWENT to be defined in the Makefile for platforms that
lack the pw_gecos field in their "struct passwd", in which case the
uppercased user name is used instead via the standard '&' replacement
mechanism.

Signed-off-by: Rafael Gieschke <rafael@gieschke.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile
ident.c