aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Kraai <kraai@debian.org>2001-04-12 20:11:55 +0000
committerMatt Kraai <kraai@debian.org>2001-04-12 20:11:55 +0000
commit6ba1a80c260b671ae7b6b5be13e0b74857058c63 (patch)
tree9b4f388c414879a9f4507a8feef6e45886b186d5
parent5a65413c042e2538eda94b2efebd1bf4680ca986 (diff)
downloadbusybox-w32-6ba1a80c260b671ae7b6b5be13e0b74857058c63.tar.gz
busybox-w32-6ba1a80c260b671ae7b6b5be13e0b74857058c63.tar.bz2
busybox-w32-6ba1a80c260b671ae7b6b5be13e0b74857058c63.zip
Use date -u instead of date --utc and consolidate version string.
Patch by Larry Doolittle <ldoolitt@recycle.lbl.gov>.
-rw-r--r--Makefile2
-rw-r--r--busybox.h2
-rw-r--r--include/busybox.h2
-rw-r--r--klogd.c2
-rw-r--r--messages.c3
-rw-r--r--sysklogd/klogd.c2
-rw-r--r--sysklogd/syslogd.c2
-rw-r--r--syslogd.c2
8 files changed, 10 insertions, 7 deletions
diff --git a/Makefile b/Makefile
index 314119137..f6594137c 100644
--- a/Makefile
+++ b/Makefile
@@ -19,7 +19,7 @@
19 19
20PROG := busybox 20PROG := busybox
21VERSION := 0.51 21VERSION := 0.51
22BUILDTIME := $(shell TZ=UTC date --utc "+%Y.%m.%d-%H:%M%z") 22BUILDTIME := $(shell TZ=UTC date -u "+%Y.%m.%d-%H:%M%z")
23export VERSION 23export VERSION
24 24
25# With a modern GNU make(1) (highly recommended, that's what all the 25# With a modern GNU make(1) (highly recommended, that's what all the
diff --git a/busybox.h b/busybox.h
index d4a57732d..ebbe759e2 100644
--- a/busybox.h
+++ b/busybox.h
@@ -31,6 +31,8 @@
31#include <sys/stat.h> 31#include <sys/stat.h>
32#include <sys/types.h> 32#include <sys/types.h>
33 33
34#define BB_BANNER "BusyBox v" BB_VER " (" BB_BT ")"
35
34#ifdef DMALLOC 36#ifdef DMALLOC
35#include "dmalloc.h" 37#include "dmalloc.h"
36#endif 38#endif
diff --git a/include/busybox.h b/include/busybox.h
index d4a57732d..ebbe759e2 100644
--- a/include/busybox.h
+++ b/include/busybox.h
@@ -31,6 +31,8 @@
31#include <sys/stat.h> 31#include <sys/stat.h>
32#include <sys/types.h> 32#include <sys/types.h>
33 33
34#define BB_BANNER "BusyBox v" BB_VER " (" BB_BT ")"
35
34#ifdef DMALLOC 36#ifdef DMALLOC
35#include "dmalloc.h" 37#include "dmalloc.h"
36#endif 38#endif
diff --git a/klogd.c b/klogd.c
index 241a99175..d7b54e9c8 100644
--- a/klogd.c
+++ b/klogd.c
@@ -76,7 +76,7 @@ static void doKlogd (void)
76 /* "Open the log. Currently a NOP." */ 76 /* "Open the log. Currently a NOP." */
77 klogctl(1, NULL, 0); 77 klogctl(1, NULL, 0);
78 78
79 syslog_msg(LOG_DAEMON, 0, "klogd started: BusyBox v" BB_VER " (" BB_BT ")"); 79 syslog_msg(LOG_DAEMON, 0, "klogd started: " BB_BANNER);
80 80
81 while (1) { 81 while (1) {
82 /* Use kernel syscalls */ 82 /* Use kernel syscalls */
diff --git a/messages.c b/messages.c
index 65f387578..57630a802 100644
--- a/messages.c
+++ b/messages.c
@@ -48,8 +48,7 @@
48 48
49 49
50#if defined bb_need_full_version || ! defined BB_DECLARE_EXTERN 50#if defined bb_need_full_version || ! defined BB_DECLARE_EXTERN
51 BB_DEF_MESSAGE(full_version, 51 BB_DEF_MESSAGE(full_version, BB_BANNER " multi-call binary")
52 "BusyBox v" BB_VER " (" BB_BT ") multi-call binary")
53#endif 52#endif
54#if defined bb_need_name_too_long || ! defined BB_DECLARE_EXTERN 53#if defined bb_need_name_too_long || ! defined BB_DECLARE_EXTERN
55 BB_DEF_MESSAGE(name_too_long, "file name too long") 54 BB_DEF_MESSAGE(name_too_long, "file name too long")
diff --git a/sysklogd/klogd.c b/sysklogd/klogd.c
index 241a99175..d7b54e9c8 100644
--- a/sysklogd/klogd.c
+++ b/sysklogd/klogd.c
@@ -76,7 +76,7 @@ static void doKlogd (void)
76 /* "Open the log. Currently a NOP." */ 76 /* "Open the log. Currently a NOP." */
77 klogctl(1, NULL, 0); 77 klogctl(1, NULL, 0);
78 78
79 syslog_msg(LOG_DAEMON, 0, "klogd started: BusyBox v" BB_VER " (" BB_BT ")"); 79 syslog_msg(LOG_DAEMON, 0, "klogd started: " BB_BANNER);
80 80
81 while (1) { 81 while (1) {
82 /* Use kernel syscalls */ 82 /* Use kernel syscalls */
diff --git a/sysklogd/syslogd.c b/sysklogd/syslogd.c
index 6aec78b4e..9f5fc93b1 100644
--- a/sysklogd/syslogd.c
+++ b/sysklogd/syslogd.c
@@ -528,7 +528,7 @@ static void doSyslogd (void)
528 } 528 }
529 #endif 529 #endif
530 530
531 logMessage (0, "syslogd started: BusyBox v" BB_VER " (" BB_BT ")"); 531 logMessage (0, "syslogd started: " BB_BANNER);
532 532
533 for (;;) { 533 for (;;) {
534 534
diff --git a/syslogd.c b/syslogd.c
index 6aec78b4e..9f5fc93b1 100644
--- a/syslogd.c
+++ b/syslogd.c
@@ -528,7 +528,7 @@ static void doSyslogd (void)
528 } 528 }
529 #endif 529 #endif
530 530
531 logMessage (0, "syslogd started: BusyBox v" BB_VER " (" BB_BT ")"); 531 logMessage (0, "syslogd started: " BB_BANNER);
532 532
533 for (;;) { 533 for (;;) {
534 534