From: René Scharfe Date: Mon, 28 Jul 2014 18:30:39 +0000 (+0200) Subject: use xgetcwd() to get the current directory or die X-Git-Tag: v2.2.0-rc0~173^2~3 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/56b9f6e738af6f5238f57a29e96103cf61e3f8cd?hp=56b9f6e738af6f5238f57a29e96103cf61e3f8cd use xgetcwd() to get the current directory or die Convert several calls of getcwd() and die() to use xgetcwd() instead. This way we get rid of fixed-size buffers (which can be too small depending on the used file system) and gain consistent error messages. Signed-off-by: Rene Scharfe Signed-off-by: Junio C Hamano ---