[BusyBox] telnetd does not compile!

Steven Scholz steven.scholz at imc-berlin.de
Mon Feb 10 06:50:05 UTC 2003


Hi there,

CONFIG_TELNETD does not compile with CONFIG_FEATURE_TELNETD_INETD (at least on 
my machine) !

networking/telnetd.c: In function `telnetd_main':
networking/telnetd.c:508: parse error before `int'
networking/telnetd.c:520: `w' undeclared (first use in this function)
networking/telnetd.c:520: (Each undeclared identifier is reported only once
networking/telnetd.c:520: for each function it appears in.)
networking/telnetd.c:542: `maxlen' undeclared (first use in this function)
networking/telnetd.c:570: `r' undeclared (first use in this function)

Please consider my attached suggestion.

However, thanks for the good work, Vladimir!!!

And BTW please fix compiler warning in networking/inetd.c:

diff -u -r1.1.1.1 inetd.c
--- networking/inetd.c  9 Feb 2003 06:51:14 -0000       1.1.1.1
+++ networking/inetd.c  10 Feb 2003 12:57:46 -0000
@@ -536,7 +536,7 @@
         rl.rlim_cur = MIN(rl.rlim_max, rl.rlim_cur + FD_CHUNK);
         if (rl.rlim_cur <= rlim_ofile_cur) {
                 syslog(LOG_ERR,
-                       "bump_nofile: cannot extend file limit, max = %d",
+                       "bump_nofile: cannot extend file limit, max = %ld",
                         rl.rlim_cur);
                 return -1;
         }

Thanks,

Steven
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: fix-telnetd.patch
Url: http://lists.busybox.net/pipermail/busybox/attachments/20030210/c1ba931b/attachment.diff 


More information about the busybox mailing list