1
0
Fork 0
mirror of https://github.com/git/git.git synced 2024-10-30 05:47:53 +01:00
git/compat
Junio C Hamano 4050c0df8e Clean up compatibility definitions.
This attempts to clean up the way various compatibility
functions are defined and used.

 - A new header file, git-compat-util.h, is introduced.  This
   looks at various NO_XXX and does necessary function name
   replacements, equivalent of -Dstrcasestr=gitstrcasestr in the
   Makefile.

 - Those function name replacements are removed from the Makefile.

 - Common features such as usage(), die(), xmalloc() are moved
   from cache.h to git-compat-util.h; cache.h includes
   git-compat-util.h itself.

Signed-off-by: Junio C Hamano <junkio@cox.net>
2005-12-05 15:50:29 -08:00
..
mmap.c Clean up compatibility definitions. 2005-12-05 15:50:29 -08:00
setenv.c compat/setenv: do not free what we fed putenv(3). 2005-12-04 14:41:35 -08:00
strcasestr.c Clean up compatibility definitions. 2005-12-05 15:50:29 -08:00
subprocess.py Further clarify licensing status of compat/subprocess.py. 2005-09-23 18:43:53 -07:00