[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
CVS Update: mystuff
- To: cvs@lists.cleannorth.org
- Subject: CVS Update: mystuff
- From: Jim Dew <jdew@cleannorth.org>
- Date: Thu, 10 Jul 2008 14:47:05 -0400 (EDT)
- List-help: <mailto:cvs-request@lists.cleannorth.org?subject=help>
- List-post: <mailto:cvs@lists.cleannorth.org>
- List-subscribe: <mailto:cvs-request@lists.cleannorth.org?subject=subscribe>
- List-unsubscribe: <mailto:cvs-request@lists.cleannorth.org?subject=unsubscribe>
- Resent-date: Thu, 10 Jul 2008 14:47:08 -0400 (EDT)
- Resent-from: cvs@lists.cleannorth.org
- Resent-message-id: <w3GYOD.A.n6H.ClldIB@skroob.cleannorth.org>
- Resent-sender: cvs-request@lists.cleannorth.org
Log Message:
-----------
Changes adopted upstream, nuke
Removed Files:
-------------
mystuff/www/haproxy/patches:
patch-haproxy_c
Revision Data
-------------
--- www/haproxy/patches/patch-haproxy_c
+++ /dev/null
@@ -1,48 +0,0 @@
-$OpenBSD$
---- haproxy.c.orig Fri Sep 8 09:52:45 2006
-+++ haproxy.c Fri Sep 8 09:53:51 2006
-@@ -1095,7 +1095,7 @@ void Alert(char *fmt, ...) {
- va_start(argp, fmt);
-
- gettimeofday(&tv, NULL);
-- tm=localtime(&tv.tv_sec);
-+ tm=localtime((time_t *)&tv.tv_sec);
- fprintf(stderr, "[ALERT] %03d/%02d%02d%02d (%d) : ",
- tm->tm_yday, tm->tm_hour, tm->tm_min, tm->tm_sec, (int)getpid());
- vfprintf(stderr, fmt, argp);
-@@ -1117,7 +1117,7 @@ void Warning(char *fmt, ...) {
- va_start(argp, fmt);
-
- gettimeofday(&tv, NULL);
-- tm=localtime(&tv.tv_sec);
-+ tm=localtime((time_t *)&tv.tv_sec);
- fprintf(stderr, "[WARNING] %03d/%02d%02d%02d (%d) : ",
- tm->tm_yday, tm->tm_hour, tm->tm_min, tm->tm_sec, (int)getpid());
- vfprintf(stderr, fmt, argp);
-@@ -1417,7 +1417,7 @@ void send_log(struct proxy *p, int level
- gettimeofday(&tv, NULL);
- if (tv.tv_sec != tvsec || dataptr == NULL) {
- /* this string is rebuild only once a second */
-- struct tm *tm = localtime(&tv.tv_sec);
-+ struct tm *tm = localtime((time_t *)&tv.tv_sec);
- tvsec = tv.tv_sec;
-
- hdr_len = snprintf(logmsg, sizeof(logmsg),
-@@ -3539,7 +3539,7 @@ void sess_log(struct session *s) {
- (s->data_source != DATA_SRC_STATS) ?
- (s->srv != NULL) ? s->srv->id : "<NOSRV>" : "<STATS>" : "-";
-
-- tm = localtime(&s->logs.tv_accept.tv_sec);
-+ tm = localtime((time_t *)&s->logs.tv_accept.tv_sec);
- if (p->to_log & LW_REQ) {
- char tmpline[MAX_SYSLOG_LEN], *h;
- int hdr;
-@@ -9737,7 +9737,7 @@ void init(int argc, char **argv) {
- * won't be missing memory if we want to send alerts under OOM conditions.
- */
- tv_now(&now);
-- localtime(&now.tv_sec);
-+ localtime((time_t *)&now.tv_sec);
- start_date = now;
-
- /* initialize the log header encoding map : '{|}"#' should be encoded with
- Prev by Date: CVS Update: mystuff
- Next by Date: CVS Update: mystuff
- Previous by thread: CVS Update: mystuff
- Next by thread: CVS Update: mystuff
- Index(es):