PATCH: wineprefixcreate - missing dirs

Marcus Meissner marcus at jet.franken.de
Sun Sep 26 06:20:45 CDT 2004


Hi,

FrameMaker 7 refuses to start for the first with weird relay debug, since the
"windows/Application Data" directory is not present, but mentioned as 
a shellfolder.

While this seems to be a FM bug as not properly checking return values, we should
probably create this directory (and the other mentioned ones).

(Not sure if perhaps shellpath.c should take care that the directory is present
and mkdir it on the fly.)

Changelog:
	Added missing directories mentioned in shellpath.c.

Index: tools/wineprefixcreate.in
===================================================================
RCS file: /home/wine/wine/tools/wineprefixcreate.in,v
retrieving revision 1.5
diff -u -r1.5 wineprefixcreate.in
--- tools/wineprefixcreate.in	11 Aug 2004 18:51:58 -0000	1.5
+++ tools/wineprefixcreate.in	26 Sep 2004 10:34:07 -0000
@@ -107,6 +107,10 @@
 # Create the directory tree
 
 for i in \
+    "$CROOT/My Documents" \
+    "$CROOT/My Documents/My Mysic" \
+    "$CROOT/My Documents/My Pictures" \
+    "$CROOT/My Documents/My Video" \
     "$CROOT/Program Files" \
     "$CROOT/Program Files/Common Files" \
     "$CROOT/windows" \
@@ -116,6 +120,7 @@
     "$CROOT/windows/profiles" \
     "$CROOT/windows/profiles/Administrator" \
     "$CROOT/windows/Start Menu" \
+    "$CROOT/windows/Application Data" \
     "$CROOT/windows/Start Menu/Programs" \
     "$CROOT/windows/Start Menu/Programs/Startup" \
     "$CROOT/windows/system" \
-- 



More information about the wine-patches mailing list