Make QueryServiceConfigW return an empty string for empty dependencies

Troy Rollo wine at troy.rollo.name
Thu Mar 3 20:54:34 CST 2005


QueryServiceConfigW currently returns a NULL pointer for lpDependencies when 
there are no dependencies. The documentation states that an empty string has 
the same meaning, and at least one application (an MSIEXEC.EXE from the 
Office XP CD) will SEGV if this is NULL. Using the empty string avoids this.

ChangeLog:
 Return an empty string for service dependencies when there are no
 dependencies, rather than a NULL pointer, which causes some apps
 to SEGV.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: qsc2.diff
Type: text/x-diff
Size: 1036 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050304/0eeabc0f/qsc2.bin


More information about the wine-patches mailing list