1
0
mirror of https://github.com/anope/anope.git synced 2026-06-27 16:46:39 +02:00

BUILD : 1.7.13 (956) BUGS : NOTES : applied patch provided by trystan

git-svn-id: svn://svn.anope.org/anope/trunk@956 31f1291d-b8d6-0310-a050-a5561fc1590b


git-svn-id: http://anope.svn.sourceforge.net/svnroot/anope/trunk@683 5417fbe8-f217-4b02-8779-1006273d7864
This commit is contained in:
certus certus@31f1291d-b8d6-0310-a050-a5561fc1590b
2006-01-23 19:43:56 +00:00
parent d86dddd6e7
commit 0dc104f20d
20 changed files with 327 additions and 65 deletions
+1
View File
@@ -33,6 +33,7 @@
#define EVENT_CHAN_FORBIDDEN "chan_forbidden"
#define EVENT_CHAN_SUSPENDED "chan_suspended"
#define EVENT_CHAN_UNSUSPEND "chan_unsuspend"
#define EVENT_CHAN_KICK "chan_kicked"
#define EVENT_CONNECT "connect"
#define EVENT_DB_EXPIRE "db_expire"
#define EVENT_RESTART "restart"
+20
View File
@@ -1343,4 +1343,24 @@ E void eventprintf(char *fmt, ...);
E void event_process_hook(char *name, int argc, char **argv);
E void send_event(char *name, int argc, ...);
#ifndef va_copy
# ifdef __va_copy
# define VA_COPY(DEST,SRC) __va_copy((DEST),(SRC))
# else
# define VA_COPY(DEST, SRC) memcpy ((&DEST), (&SRC), sizeof(va_list))
# endif
#else
# ifdef HAVE_VA_LIST_AS_ARRAY
# define VA_COPY(DEST,SRC) va_copy(*(DEST) = *(SRC))
# else
# define VA_COPY(DEST, SRC) va_copy(DEST, SRC)
# endif
#endif
#ifdef __STRICT_ANSI__
#ifndef fileno
int fileno(FILE *stream);
#endif
#endif
#endif /* EXTERN_H */
+4
View File
@@ -15,6 +15,9 @@
/* "" */
#undef HAVE_BACKTRACE
/* "" */
#undef HAVE_VA_LIST_AS_ARRAY
/* Define to 1 if you have the `fork' function. */
#undef HAVE_FORK
@@ -183,6 +186,7 @@ int vprintf(const char *format, va_list ap);
int vfprintf(FILE *stream, const char *format, va_list ap);
int vsprintf(char *str, const char *format, va_list ap);
int vsnprintf(char *str, size_t size, const char *format, va_list ap);
int mkstemp(char *template);
FILE *popen(const char *command, const char *type);
int pclose(FILE *stream);
+1 -1
View File
@@ -219,5 +219,5 @@ void parse_line(FILE * fd, char *line)
} else
fputc(*c, fd);
}
fprintf(fd, "\r\n");
fprintf(fd, "\n");
}