File slrn-0.9.9p1.diff of Package slrn

--- src/group.c.orig	2008-08-29 05:10:25.000000000 +0200
+++ src/group.c	2009-12-24 16:10:28.000000000 +0100
@@ -2454,7 +2454,7 @@
    tm_struct = gmtime (&tloc);
    tm_struct->tm_year = rfc977_patchup_year (tm_struct->tm_year + 1900);
    fprintf (fp, "NEWGROUPS %02d%02d%02d %02d%02d%02d GMT",
-	    tm_struct->tm_year, 1 + tm_struct->tm_mon,
+	    tm_struct->tm_year%100, 1 + tm_struct->tm_mon,
 	    tm_struct->tm_mday, tm_struct->tm_hour,
 	    tm_struct->tm_min, tm_struct->tm_sec);
 #endif
openSUSE Build Service is sponsored by