Module: wine
Branch: master
Commit: 2a8463b558ab5406e696f96d04fc279cfc7f2833
URL: http://source.winehq.org/git/wine.git/?a=commit;h=2a8463b558ab5406e696f96d0…
Author: Aric Stewart <aric(a)codeweavers.com>
Date: Fri Mar 30 11:35:12 2007 -0500
comctl32: Unset active page while setting a new active page for a propsheet.
Before calling the PSN_SETACTIVE in PROPSHEET_SetCurSel set the
active_page to -1. This prevents crashes and corruption of the
property sheet if the application makes any modifications during the
PSN_SETACTIVE.
---
dlls/comctl32/propsheet.c | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diff --git a/dlls/comctl32/propsheet.c b/dlls/comctl32/propsheet.c
index 636b0b2..c84f23a 100644
--- a/dlls/comctl32/propsheet.c
+++ b/dlls/comctl32/propsheet.c
@@ -2023,6 +2023,11 @@ static BOOL PROPSHEET_SetCurSel(HWND hwndDlg,
return FALSE;
}
+ /* unset active page while doing this transition. */
+ if (psInfo->active_page != -1)
+ ShowWindow(psInfo->proppage[psInfo->active_page].hwndPage, SW_HIDE);
+ psInfo->active_page = -1;
+
while (1) {
int result;
PSHNOTIFY psn;
Module: wine
Branch: master
Commit: 928f1cb7221cd44c49110dc1e738395c8c0cc851
URL: http://source.winehq.org/git/wine.git/?a=commit;h=928f1cb7221cd44c49110dc1e…
Author: Jason Edmeades <us(a)edmeades.me.uk>
Date: Sat Mar 31 21:49:30 2007 +0100
xcopy: Hack/workaround for filenames starting with a '.'.
---
programs/xcopy/xcopy.c | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/programs/xcopy/xcopy.c b/programs/xcopy/xcopy.c
index dfbb41d..f132dcb 100644
--- a/programs/xcopy/xcopy.c
+++ b/programs/xcopy/xcopy.c
@@ -130,6 +130,13 @@ int main (int argc, char *argv[])
}
}
+ /* FIXME: On UNIX, files starting with a '.' are treated as hidden under
+ wine, but on windows these can be normal files. At least one installer
+ uses files such as .packlist and (validly) expects them to be copied.
+ Under wine, if we do not copy hidden files by default then they get
+ lose */
+ flags |= OPT_COPYHIDSYS;
+
/* Skip first arg, which is the program name */
argvW++;