aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Bühler <stbuehler@web.de>2009-03-10 20:19:57 +0000
committerStefan Bühler <stbuehler@web.de>2009-03-10 20:19:57 +0000
commit6b60d16cb639a0ca71d6eb930566bef87c2bc6f6 (patch)
tree3d86e4ae83d61c5edafbf84db99057a1175d48c4
parentcc58539754dbb0d95903c614bc594a8282dab0c1 (diff)
downloadspawn-fcgi-6b60d16cb639a0ca71d6eb930566bef87c2bc6f6.tar.gz
spawn-fcgi-6b60d16cb639a0ca71d6eb930566bef87c2bc6f6.zip
Add build date to show-version
git-svn-id: svn://svn.lighttpd.net/spawn-fcgi/trunk@28 4a9f3682-ca7b-49a8-9a55-ba4640e46f83
-rw-r--r--NEWS2
-rw-r--r--src/spawn-fcgi.c3
2 files changed, 3 insertions, 2 deletions
diff --git a/NEWS b/NEWS
index 2fb99ec..ec1f284 100644
--- a/NEWS
+++ b/NEWS
@@ -5,7 +5,7 @@ NEWS
- 1.6.1 -
- *
+ * Add build date to show-version
- 1.6.0 - 2009-02-28
diff --git a/src/spawn-fcgi.c b/src/spawn-fcgi.c
index 02f32a1..f8cc86a 100644
--- a/src/spawn-fcgi.c
+++ b/src/spawn-fcgi.c
@@ -333,8 +333,9 @@ static int find_user_group(const char *user, const char *group, uid_t *uid, gid_
}
static void show_version () {
- char *b = "spawn-fcgi" "-" PACKAGE_VERSION \
+ const char *b = PACKAGE_NAME "-" PACKAGE_VERSION \
" - spawns fastcgi processes\n"
+"Build-Date: " __DATE__ " " __TIME__ "\n";
;
write(1, b, strlen(b));
}