Bugs in 0.9.9pre39

Jörg Sommer <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
Hi,

(gdb) run
Starting program: /home/joerg/svn/slrn-build/src/objs/slrn 
slrn pre0.9.9-39

Die Konfigurationsdatei /etc/news/slrn.rc wird verarbeitet.
Die Konfigurationsdatei /home/joerg/.slrnrc wird verarbeitet.
Program received signal SIGSEGV, Segmentation fault.
0x0fdcc040 in strlen () from /lib/libc.so.6
(gdb) where
#0  0x0fdcc040 in strlen () from /lib/libc.so.6
#1  0x0ff3f7dc in SLmake_string () from /lib/libslang.so.2
#2  0x10045578 in do_set_string_value (sp=0x8, value=0x0)
    at /home/joerg/svn/slrn-build/src/startup.c:835
#3  0x10046e8c in slrn_set_string_variable (name=0x100c5e30 "realname", 
    value=0x100c60f0 "Jörg Sommer")
    at /home/joerg/svn/slrn-build/src/startup.c:907
#4  0x10047074 in set_variable_fun (argc=<value optimized out>, 
    table=<value optimized out>)
    at /home/joerg/svn/slrn-build/src/startup.c:1053
#5  0x0ff38874 in SLcmd_execute_string () from /lib/libslang.so.2
#6  0x10044b40 in slrn_read_startup_file (name=0x100c5e40 "Jörg Sommer")
    at /home/joerg/svn/slrn-build/src/startup.c:1806
#7  0x10042248 in main_init_and_parse_args (argc=<value optimized out>, 
    argv=<value optimized out>) at /home/joerg/svn/slrn-build/src/slrn.c:1187
#8  0x10043624 in main (argc=0, argv=0x0)
    at /home/joerg/svn/slrn-build/src/slrn.c:1690

--------------------[ Next bug ]
/usr/bin/install -c -m 644 ../doc/FAQ /home/joerg/svn/slrn/debian/slrn/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../doc/README.SSL /home/joerg/svn/slrn/debian/slrn/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../doc/slrnfuns.txt /home/joerg/svn/slrn/debian/slrn/usr/share/doc/slrn
/usr/bin/install -c -m 644 ../doc/slrnpull/../slrnpull/README ../doc/slrnpull/../slrnpull/README.offline ../doc/slrnpull/../slrnpull/SETUP ../doc/slrnpull/../slrnpull/score ../doc/slrnpull/../slrnpull/setgid.txt ../doc/slrnpull/../slrnpull/slrn.rc ../doc/slrnpull/../slrnpull/slrnpull.conf ../doc/slrnpull/../slrnpull/slrnpull.sh /home/joerg/svn/slrn/debian/slrn/usr/share/doc/slrn/slrnpull
/usr/bin/install -c -m 644 ../lib/slrn.conf /home/joerg/svn/slrn/debian/slrn/etc/news
/usr/bin/install: cannot stat `../lib/slrn.conf': No such file or directory
make[2]: *** [installslang] Error 1
make[2]: Leaving directory `/home/joerg/svn/slrn/src'
make[1]: *** [install] Error 2

I fixed it by setting CONF_FILES= in src/Makefile.

--------------------[ Next bug ]
diff -urNad slrn~/src/snprintf.h slrn/src/snprintf.h
--- slrn~/src/snprintf.h	2007-11-05 12:35:41.000000000 +0100
+++ slrn/src/snprintf.h	2007-11-05 12:36:18.770348295 +0100
@@ -22,6 +22,8 @@
 #define _SLRN_SNPRINTF_H
 #include <stdarg.h>
 
+#include "jdmacros.h"
+
 extern char *slrn_strdup_strcat (const char*, ...);
 extern char *slrn_strdup_printf (const char*, ...) ATTRIBUTE_PRINTF(1,2);
 extern char *slrn_strdup_vprintf (const char*, va_list);

Bye, Jörg.
-- 
Erfahrung heißt gar nichts. Man kann seine Sache auch 35 Jahre schlecht
machen.
	   	     	     	      	    (Kurt Tucholsky)

-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >> http://get.splunk.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.