Broken build?

Katsuhiro Kondou kondou at nec.co.jp
Tue Jan 18 01:24:06 UTC 2000


In article <14467.15344.583548.261730 at bogon.kjsl.com>,
	Javier Henderson <javier at KJSL.COM> wrote;

} gcc -g -O2 -I../include     -c post.c -o post.o
} post.c: In function `ProcessHeaders':
} post.c:388: wrong type argument to unary minus
} make[1]: *** [post.o] Error 1
} make[1]: Leaving directory `/export/homea/javier/inn/src/inn/nnrpd'
} make: *** [all-nnrpd] Error 2
} 
} 
} 	I updated my source tree around 7:57am PST.
} 
} 	Any ideas?

Attached helps you?

--- nnrpd/post.c.orig	Sun Jan 16 02:07:44 2000
+++ nnrpd/post.c	Tue Jan 18 08:51:34 2000
@@ -385,7 +385,7 @@
 	        &WEEKS[3 * local->tm_wday],
 	        local->tm_mday, &MONTHS[3 * local->tm_mon], 1900 + local->tm_year,
 	        local->tm_hour, local->tm_min, local->tm_sec,
-	        -timezone/36, tzname[0]);
+	        0 - timezone/36, tzname[0]);
 	    HDR(_date) = localdatebuff;
 	} else {
 	    HDR(_date) = datebuff;


-- 
Katsuhiro Kondou



More information about the inn-workers mailing list