author | David Aguilar <davvid@gmail.com> | |
Sun, 31 May 2009 08:35:51 +0000 (01:35 -0700) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Mon, 1 Jun 2009 00:57:59 +0000 (17:57 -0700) | ||
commit | e1c068869216c8c231c1585bbfa9fda42b4756f8 | |
tree | 929b5984b0ce8bfaba925a84ebb5ae04e7559e28 | tree | snapshot |
parent | 0620b39b3b7b1f27bf863d9591fd8146a9a8931d | commit | diff |
compat: add a basename() compatibility function
Some systems such as Windows lack libgen.h so provide a
basename() implementation for cross-platform use.
This introduces the NO_LIBGEN_H construct to the Makefile
and autoconf scripts.
Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Some systems such as Windows lack libgen.h so provide a
basename() implementation for cross-platform use.
This introduces the NO_LIBGEN_H construct to the Makefile
and autoconf scripts.
Signed-off-by: David Aguilar <davvid@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile | diff | blob | history | |
compat/basename.c | [new file with mode: 0644] | blob |
config.mak.in | diff | blob | history | |
configure.ac | diff | blob | history | |
git-compat-util.h | diff | blob | history |