Revision 8361e1d4d343a33a60145129dcf8c08ec7de84f2 authored by Jason Riedy on 04 February 2006, 06:50:57 UTC, committed by Junio C Hamano on 04 February 2006, 07:35:14 UTC
As far as I can see, create_subdirectories() in apply.c just
duplicates the functionality of safe_create_leading_directories() from
sha1_file.c.  The former has a warm, fuzzy const parameter, but that's
not important.

The potential problem with EEXIST and creating directories should
never occur here, but will be removed by future
safe_create_leading_directories() changes.  Other uses of EEXIST in
apply.c should be fine barring intentionally malicious behavior.

Signed-off-by: Jason Riedy <ejr@cs.berkeley.edu>
Signed-off-by: Junio C Hamano <junkio@cox.net>
1 parent 1fda3d5
History
File Mode Size
sha1.c -rw-r--r-- 1.4 KB
sha1.h -rw-r--r-- 396 bytes
sha1ppc.S -rw-r--r-- 3.6 KB

back to top