diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-12-04 00:53:46 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-12-04 00:53:46 +0000 |
commit | 05b8dd1b34bdfa32637df08cad69cde1976f8f0a (patch) | |
tree | 4fe88ee928035fb1c244a681bdd4885d7dfde8b8 | |
parent | b715d4808449ac9318a6ec8b6793070d4e1f2b67 (diff) |
incredible what for shit is in this code
adding time and date the binary was built is a really really really
important and worthwile information, rrrrriiiiiiiigggggghhhht.
and for sure a nice way to make the binary changes every time it is built
workaround for now (return "unnown") since this stupid piece of crap
function is part of the API and modules etc might (ab)use it.
king bula sez: what an incredible nonsense
pointed out by John Kerbawy <kerbawy@gmail.com>
-rw-r--r-- | usr.sbin/httpd/src/buildmark.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.sbin/httpd/src/buildmark.c b/usr.sbin/httpd/src/buildmark.c index 7048d545e9a..5d30ed5b9a2 100644 --- a/usr.sbin/httpd/src/buildmark.c +++ b/usr.sbin/httpd/src/buildmark.c @@ -59,13 +59,7 @@ #include "ap_config.h" #include "httpd.h" -#if defined(__DATE__) && defined(__TIME__) -static const char server_built[] = __DATE__ " " __TIME__; -#else -static const char server_built[] = "unknown"; -#endif - API_EXPORT(const char *) ap_get_server_built(void) { - return server_built; + return "unknown"; } |