Mercurial > noffle
comparison src/util.c @ 197:24d4cd032da5 noffle
[svn] * AUTHORS,INSTALL,NEWS,README,TODO,docs/NOTES,src/client.c,src/protocol.c,
src/protocol.h,src/server.c: Merge with latest 1.0 branch. I do not
intend to do any further merges from the 1.0 branch; future changes to
1.0 should be carried over by hand if necessary.
* src/configfile.c,src/content.c,src/control.c,src/database.c,
src/dynamicstring.c,src/fetch.c,src/filter.c,src/group.c,
src/itemlist.c,src/lock.c,src/outgoing.c,src/over.c,src/post.c,
src/pseudo.c,src/request.c,src/util.c: Minor includes rearrangement.
author | bears |
---|---|
date | Wed, 31 Oct 2001 11:44:53 +0000 |
parents | 7d1f26e7c728 |
children | 027608dbd16b |
comparison
equal
deleted
inserted
replaced
196:60a70c16d79c | 197:24d4cd032da5 |
---|---|
1 /* | 1 /* |
2 util.c | 2 util.c |
3 | 3 |
4 $Id: util.c 301 2001-08-05 08:27:17Z bears $ | 4 $Id: util.c 316 2001-10-31 11:44:53Z bears $ |
5 */ | 5 */ |
6 | 6 |
7 #if HAVE_CONFIG_H | 7 #if HAVE_CONFIG_H |
8 #include <config.h> | 8 #include <config.h> |
9 #endif | 9 #endif |
17 #else | 17 #else |
18 #include <time.h> | 18 #include <time.h> |
19 #endif | 19 #endif |
20 #endif | 20 #endif |
21 | 21 |
22 #include "util.h" | |
23 #include <errno.h> | 22 #include <errno.h> |
24 #include <ctype.h> | 23 #include <ctype.h> |
25 #include <sys/types.h> | 24 #include <sys/types.h> |
26 #include <sys/stat.h> | 25 #include <sys/stat.h> |
27 #include <fcntl.h> | 26 #include <fcntl.h> |
28 #include <stdlib.h> | 27 #include <stdlib.h> |
29 #include <unistd.h> | 28 #include <unistd.h> |
30 #include "configfile.h" | 29 #include "configfile.h" |
31 #include "log.h" | 30 #include "log.h" |
31 #include "portable.h" | |
32 #include "util.h" | |
32 #include "wildmat.h" | 33 #include "wildmat.h" |
33 #include "portable.h" | |
34 | 34 |
35 #if defined(UTIL_TEST) | 35 #if defined(UTIL_TEST) |
36 #define Log_err printf | 36 #define Log_err printf |
37 #endif | 37 #endif |
38 | 38 |