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:
Denis Vlasenko
2007-03-24 14:06:51 +00:00
parent b5b45a91f0
commit 5b27fbe990
3 changed files with 27 additions and 28 deletions

View File

@@ -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;
}