Vladimir's last_patch_15

This commit is contained in:
Glenn L McGrath
2001-06-26 02:06:08 +00:00
parent addabd6f16
commit 78b0e379d7
15 changed files with 275 additions and 253 deletions

View File

@ -243,7 +243,11 @@ extern FILE *gz_open(FILE *compressed_file, int *pid);
extern struct hostent *xgethostbyname(const char *name);
char *dirname (const char *path);
char *strdup_substr (const char *s, int start, int end);
static inline char *strdup_substr (const char *s, int start, int end)
{
return xstrndup (s+start, end-start);
}
int make_directory (char *path, mode_t mode, int flags);
#define CT_AUTO 0