BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001033 [BusyBox] Other crash always 09-19-06 04:35 09-20-06 08:38
Reporter shc View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version svn
Summary 0001033: Compile Error if USE_SYSLOG undefined
Description Compile error if USE_SYSLOG undefined. Error message is:

/opt/soft/develop/busybox/loginutils/getty.c: In function 'getty_main':
/opt/soft/develop/busybox/loginutils/getty.c:825: warning: implicit declaration of function 'openlog'
/opt/soft/develop/busybox/loginutils/getty.c:825: error: 'LOG_PID' undeclared (first use in this function)
/opt/soft/develop/busybox/loginutils/getty.c:825: error: (Each undeclared identifier is reported only once
/opt/soft/develop/busybox/loginutils/getty.c:825: error: for each function it appears in.)
/opt/soft/develop/busybox/loginutils/getty.c:825: error: 'LOG_AUTH' undeclared (first use in this function)
make[1]: *** [/opt/soft/develop/busybox/loginutils/getty.o] Error 1

Patch is inlined in additional info field:
Additional Information --- getty.c (revision 16145)
+++ getty.c (working copy)
@@ -822,7 +822,9 @@
        dup2(nullfd, 2);
        if(nullfd > 2)
                close(nullfd);
+#ifdef CONFIG_SYSLOGD
        openlog(bb_applet_name, LOG_PID, LOG_AUTH);
+#endif
        logmode = LOGMODE_BOTH;

 #ifdef DEBUGGING
Attached Files

- Relationships

- Notes
(0001640)
bernhardf
09-20-06 08:38

I believe that this is fixed since r16161, closing.
 

- Issue History
Date Modified Username Field Change
09-19-06 04:35 shc New Issue
09-19-06 04:35 shc Status new => assigned
09-19-06 04:35 shc Assigned To  => BusyBox
09-20-06 08:38 bernhardf Status assigned => closed
09-20-06 08:38 bernhardf Note Added: 0001640
09-20-06 08:38 bernhardf Resolution open => fixed
09-20-06 08:38 bernhardf Fixed in Version  => svn


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker