[pkg-wine-party] [SCM] Debian Wine packaging branch, lenny, updated. wine-1.0.0-1-126-gccc5cbd

Alexandre Julliard julliard at winehq.org
Thu Oct 30 14:45:03 UTC 2008


The following commit has been merged in the lenny branch:
commit d40aded70a4051517ff7d94c827e76e7fd6da3c1
Author: Vitaly Lipatov <lav at etersoft.ru>
Date:   Wed Sep 17 16:58:52 2008 +0400

    wineboot: Do registry update with wineboot --update in any case.
    (cherry picked from commit 977b7d398e1eaa13dfaf9f11dbaf3e70678b3449)

diff --git a/programs/wineboot/wineboot.c b/programs/wineboot/wineboot.c
index 717a175..2201ed5 100644
--- a/programs/wineboot/wineboot.c
+++ b/programs/wineboot/wineboot.c
@@ -115,7 +115,7 @@ static char *get_wine_inf_path(void)
 }
 
 /* update the timestamp if different from the reference time */
-static BOOL update_timestamp( const char *config_dir, unsigned long timestamp, int force )
+static BOOL update_timestamp( const char *config_dir, unsigned long timestamp )
 {
     BOOL ret = FALSE;
     int fd, count;
@@ -132,7 +132,7 @@ static BOOL update_timestamp( const char *config_dir, unsigned long timestamp, i
         {
             buffer[count] = 0;
             if (!strncmp( buffer, "disable", sizeof("disable")-1 )) goto done;
-            if (!force && timestamp == strtoul( buffer, NULL, 10 )) goto done;
+            if (timestamp == strtoul( buffer, NULL, 10 )) goto done;
         }
         lseek( fd, 0, SEEK_SET );
         ftruncate( fd, 0 );
@@ -681,7 +681,7 @@ static void update_wineprefix( int force )
         goto done;
     }
 
-    if (update_timestamp( config_dir, st.st_mtime, force ))
+    if (update_timestamp( config_dir, st.st_mtime ) || force)
     {
         WCHAR *buffer;
         DWORD len = MultiByteToWideChar( CP_UNIXCP, 0, inf_path, -1, NULL, 0 );

-- 
Debian Wine packaging



More information about the pkg-wine-party mailing list