Changeset 761
- Timestamp:
- 07/09/06 16:30:33 (6 years ago)
- Location:
- branches/ithildin-scons
- Files:
-
- 2 added
- 2 deleted
- 2 edited
- 17 moved
-
SConstruct (added)
-
include/ithildin/ithildin.h (modified) (4 diffs)
-
lib (added)
-
lib/conf.c (moved) (moved from branches/ithildin-scons/source/conf.c)
-
lib/contrib (moved) (moved from branches/ithildin-scons/source/contrib)
-
lib/event.c (moved) (moved from branches/ithildin-scons/source/event.c)
-
lib/global.c (moved) (moved from branches/ithildin-scons/source/global.c) (1 diff)
-
lib/hash.c (moved) (moved from branches/ithildin-scons/source/hash.c)
-
lib/log.c (moved) (moved from branches/ithildin-scons/source/log.c)
-
lib/malloc.c (moved) (moved from branches/ithildin-scons/source/malloc.c)
-
lib/md5.c (moved) (moved from branches/ithildin-scons/source/md5.c)
-
lib/module.c (moved) (moved from branches/ithildin-scons/source/module.c)
-
lib/poller_devpoll.c (moved) (moved from branches/ithildin-scons/source/poller_devpoll.c)
-
lib/poller_kqueue.c (moved) (moved from branches/ithildin-scons/source/poller_kqueue.c)
-
lib/poller_poll.c (moved) (moved from branches/ithildin-scons/source/poller_poll.c)
-
lib/poller_select.c (moved) (moved from branches/ithildin-scons/source/poller_select.c)
-
lib/socket.c (moved) (moved from branches/ithildin-scons/source/socket.c)
-
lib/string.c (moved) (moved from branches/ithildin-scons/source/string.c)
-
lib/timer.c (moved) (moved from branches/ithildin-scons/source/timer.c)
-
lib/util.c (moved) (moved from branches/ithildin-scons/source/util.c)
-
modules/Makefile.in (deleted)
-
source/Makefile.am (deleted)
-
source/main.c (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
branches/ithildin-scons/include/ithildin/ithildin.h
r660 r761 11 11 #define STAND_H 12 12 13 #include <ithildin/config.h> 13 14 #ifdef MODULE 14 15 /* Include these if it is a module build. modconfig.h must be supplied by 15 16 * the module, it is intended to provide overrides to config.h */ 16 #include <ithildin/config.h> 17 18 /* We undefine these to prevent spurious warnings. */ 19 #undef PACKAGE 20 #undef PACKAGE_NAME 21 #undef PACKAGE_STRING 22 #undef PACKAGE_TARNAME 23 #undef PACKAGE_VERSION 24 #undef VERSION 25 26 #include "modconfig.h" 27 #else 28 /* This is the config.h generated by the GNU toolchain, used only during 29 * base build. */ 30 #include "config.h" 17 # include "modconfig.h" 31 18 #endif 32 19 … … 36 23 * THEM. */ 37 24 #ifdef HAVE_FEATURES_H 38 # define _GNU_SOURCE25 # define _GNU_SOURCE 39 26 #endif 40 27 41 28 /* global config files are included here */ 42 29 #include <ctype.h> 43 #ifdef HAVE_ERRNO_H 44 # include <errno.h> 45 #endif 46 #ifdef HAVE_FCNTL_H 47 # include <fcntl.h> 48 #endif 49 #ifdef HAVE_LIMITS_H 50 # include <limits.h> 51 #endif 52 #ifdef HAVE_MATH_H 53 # include <math.h> 54 #endif 30 #include <errno.h> 31 #include <fcntl.h> 32 #include <limits.h> 33 #include <math.h> 55 34 #ifdef HAVE_MEMORY_H 56 35 # include <memory.h> … … 61 40 #include <signal.h> 62 41 #include <stdarg.h> 63 64 #ifdef HAVE_STDBOOL_H 65 # include <stdbool.h> 66 #else 67 # undef bool 68 # undef true 69 # undef false 70 # define false 0 71 # define true 1 72 # define bool _Bool 73 # if __STDC_VERSION__ < 199901L 74 typedef int _Bool; 75 # endif 76 #endif 77 42 #include <stdbool.h> 78 43 #include <stddef.h> 79 44 #include <stdio.h> 80 45 #include <stdlib.h> 81 #ifdef HAVE_STRING_H 82 # include <string.h> 83 #endif 46 #include <string.h> 84 47 #ifdef HAVE_STRINGS_H 85 48 # include <strings.h> … … 104 67 # include <sys/stat.h> 105 68 #endif 106 #if TIME_WITH_SYS_TIME69 #ifdef HAVE_SYS_TIME_H 107 70 # include <sys/time.h> 71 #endif 72 #ifdef HAVE_TIME_H 108 73 # include <time.h> 109 #else110 # if HAVE_SYS_TIME_H111 # include <sys/time.h>112 # else113 # include <time.h>114 # endif115 74 #endif 116 75 -
branches/ithildin-scons/lib/global.c
r654 r761 10 10 11 11 #include <ithildin/ithildin.h> 12 #ifdef HAVE_OPENSSL 13 # include <openssl/err.h> 14 # include <openssl/rand.h> 15 # include <openssl/ssl.h> 16 #endif 12 17 13 18 IDSTRING(rcsid, "$Id: main.c 652 2006-01-02 15:23:35Z wd $"); -
branches/ithildin-scons/source/main.c
r660 r761 83 83 84 84 me.started = me.now = time(NULL); 85 /* 85 86 strncpy(me.conf_path, PACKAGE_PATH_SYSCONF, PATH_MAX); 86 87 strncpy(me.lib_path, PACKAGE_PATH_LIB "/modules", PATH_MAX); … … 89 90 sprintf(me.version, "%s-%s", PACKAGE_NAME, PACKAGE_VERSION); 90 91 me.revision = PACKAGE_REPOSITORY_VERSION; 92 */ 91 93 me.fork = 1; /* by default we fork */ 92 94 … … 301 303 strncpy(me.conf_path, optarg, PATH_MAX); 302 304 break; 305 /* 303 306 case 'v': 304 307 printf("%s (r%d)\n", me.version, me.revision); … … 315 318 316 319 exit(0); 320 */ 317 321 case '?': 318 322 printf(usage, me.execname); … … 613 617 if (getegid() != grp->gr_gid) { 614 618 log_error("could not change effective gid to %s (%d)", 615 gr ->gr_name, gr->gid);619 grp->gr_name, grp->gr_gid); 616 620 return false; 617 621 }
Note: See TracChangeset
for help on using the changeset viewer.
