← Commit list

772a3467b

Mike Frysinger
Mike Frysinger
2006-05-10
SOURCE BUG Duration: 57s

Subject

some more useful debug info from Jason Holden

SOURCE BUG

This commit was genuinely broken at the time (not related to our build system): scripts/config/mkconfigs.c (2005-08-01 - 2006-10-05 arasi) uretilen bbconfigopts.h icine .config satirlarini kacissiz, ham newline'larla gömüyordu - gecerli C degildi, busybox'un kendi bb_mkdep araci bile parse edemiyordu (7d219aab7 ile duzeltildi, mkconfigs shell scripte cevrildi)

→ Bu hatanin tam hikayesini ve duzeltme diffini gor

Binary

No binary (build failed)

Architecture & Compiler Flags

Architecture: x86_64-linux-gnu Compiler: gcc (Ubuntu 11.4.0-1ubuntu1~22.04.3) 11.4.0

—

Build Log

(log yok)

Commit Diff GitHub →

networking/telnetd.c+5 -1
@@ -22,6 +22,7 @@
*/
/*#define DEBUG 1 */
+#undef DEBUG
#include <sys/time.h>
#include <sys/socket.h>
@@ -223,6 +224,9 @@ getpty(char *line)
}
for (j = 0; j < 16; j++) {
line[9] = j < 10 ? j + '0' : j - 10 + 'a';
+#ifdef DEBUG
+ fprintf(stderr, "Trying to open device: %s\n", line);
+#endif
if ((p = open(line, O_RDWR | O_NOCTTY)) >= 0) {
line[5] = 't';
return p;
@@ -277,7 +281,7 @@ make_new_session(int sockfd)
pty = getpty(tty_name);
if (pty < 0) {
- syslog(LOG_ERR, "All network ports in use!");
+ syslog(LOG_ERR, "All terminals in use!");
return 0;
}