Browse Source

Add build date to show-version

git-svn-id: svn://svn.lighttpd.net/spawn-fcgi/trunk@28 4a9f3682-ca7b-49a8-9a55-ba4640e46f83
master
Stefan Bühler 13 years ago
parent
commit
6b60d16cb6
  1. 2
      NEWS
  2. 3
      src/spawn-fcgi.c

2
NEWS

@ -5,7 +5,7 @@ NEWS
- 1.6.1 -
*
* Add build date to show-version
- 1.6.0 - 2009-02-28

3
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));
}

Loading…
Cancel
Save