dc: use common_bufsiz1 for evaluation stack
msh: fix "underscore bug" (a_b=1111 didn't work) dnsd: openlog(), so that applet's name is logged
This commit is contained in:
@@ -17,6 +17,7 @@
|
||||
* the first porting of oao' scdns to busybox also.
|
||||
*/
|
||||
|
||||
#include <syslog.h>
|
||||
#include "busybox.h"
|
||||
|
||||
//#define DEBUG 1
|
||||
@@ -114,7 +115,6 @@ static void undot(uint8_t * rip)
|
||||
* Presently the dot is copied into name without
|
||||
* converting to a length/string substring for that label.
|
||||
*/
|
||||
|
||||
static int getfileentry(FILE * fp, struct dns_entry *s)
|
||||
{
|
||||
unsigned int a,b,c,d;
|
||||
@@ -359,6 +359,7 @@ int dnsd_main(int argc, char **argv)
|
||||
#else
|
||||
xdaemon(1, 0);
|
||||
#endif
|
||||
openlog(applet_name, LOG_PID, LOG_DAEMON);
|
||||
logmode = LOGMODE_SYSLOG;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user