Austin English : wineserver: Return the version information in the same format as wine --version.

Alexandre Julliard julliard at winehq.org
Fri Oct 1 11:38:46 CDT 2010


Module: wine
Branch: master
Commit: c99609a5a025f94af4e3a5e59e404df612e4fab1
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=c99609a5a025f94af4e3a5e59e404df612e4fab1

Author: Austin English <austinenglish at gmail.com>
Date:   Fri Oct  1 03:16:46 2010 -0500

wineserver: Return the version information in the same format as wine --version.

---

 server/main.c |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

diff --git a/server/main.c b/server/main.c
index a59350b..2d841e8 100644
--- a/server/main.c
+++ b/server/main.c
@@ -36,6 +36,7 @@
 #include "file.h"
 #include "thread.h"
 #include "request.h"
+#include "wine/library.h"
 
 /* command-line options */
 int debug_level = 0;
@@ -107,7 +108,7 @@ static void parse_args( int argc, char *argv[] )
                     master_socket_timeout = TIMEOUT_INFINITE;
                 break;
             case 'v':
-                fprintf( stderr, "%s\n", PACKAGE_STRING );
+                fprintf( stderr, "%s\n", wine_get_build_id());
                 exit(0);
             case 'w':
                 wait_for_lock();




More information about the wine-cvs mailing list