diff lib/lib.h @ 216:5697a3f7c8cf

Make patch's file add actually work, including directory creating and understanding zero-context hunks.
author Rob Landley <rob@landley.net>
date Thu, 27 Dec 2007 21:36:33 -0600
parents 98820d1eaa79
children 630b2e12db16
line wrap: on
line diff
--- a/lib/lib.h	Mon Dec 24 19:53:20 2007 -0600
+++ b/lib/lib.h	Thu Dec 27 21:36:33 2007 -0600
@@ -73,6 +73,7 @@
 char *xgetcwd(void);
 void xstat(char *path, struct stat *st);
 char *xabspath(char *path);
+void xmkpath(char *path, int mode);
 struct string_list *find_in_path(char *path, char *filename);
 void utoa_to_buf(unsigned n, char *buf, unsigned buflen);
 void itoa_to_buf(int n, char *buf, unsigned buflen);