destroy bug [0000381]
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)
No binary (build failed)
—
(log yok)
| @@ -132,7 +132,7 @@ static void crondlog(const char *ctl, ...) | |
| if (LogFile == 0) { | |
| vsyslog(type, fmt, va); | |
| } else { | |
| - | int logfd = open(LogFile, O_WRONLY | O_CREAT | O_APPEND, 600); |
| + | int logfd = open(LogFile, O_WRONLY | O_CREAT | O_APPEND, 0600); |
| if (logfd >= 0) { | |
| vdprintf(logfd, fmt, va); | |
| close(logfd); | |
| @@ -348,7 +348,7 @@ static void startlogger(void) | |
| else { /* test logfile */ | |
| int logfd; | |
| - | if ((logfd = open(LogFile, O_WRONLY | O_CREAT | O_APPEND, 600)) >= 0) { |
| + | if ((logfd = open(LogFile, O_WRONLY | O_CREAT | O_APPEND, 0600)) >= 0) { |
| close(logfd); | |
| } else { | |
| bb_perror_msg("Failed to open log file '%s' reason", LogFile); | |