shlwapi: PathCommonPrefixA shouldn't empty achPath if lpszFile1 and/or lpszFile2 are empty.

Christian Inci chris.pcguy.inci at gmail.com
Tue Feb 21 17:11:28 CST 2012


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Maybe, the same behaviour applies to PathCommonPrefixW, but I didn't tested it as there aren't any tests for it.
Actually, I haven't any idea what get fixed with this patch except, for sure, two testcases.
Note: I, intentionally, didn't reformatted these two lines in the testcase.

Signed-off-by: Christian Inci <chris.pcguy.inci at gmail.com>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.18 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPRCSbAAoJEBs38cNfaEHvAesIAIGMiftxqw+fBkf72IKeZ8F6
CpPb5zPCMcs/lhdmpKsJ0jbAocu5JYvlX5ghRuhmlqe9TF004L2O+nPQ/SOBS3LB
FeNV4pws2YKDuz5t3FZeWe1lj7qzZdh3sGhNcefgv68+4OXNmYzhc2YYVrcE9Ige
Rlgr9FOGZfTalaVEkzbnBRISKShp1G/WGAP6cSElx6zKRlUlkFDPoWst6x/8BAuq
5+nvDhiHgwslY5JCFzs4RGCi8sqYq04cZKbPRKlPkufoTjhRox7GJRSlGF5GpxS8
eDOre794x4+/YMfwYDPcvehYjRGCn+PSa72wLAC8cCWFfUuo6zIf0NWuk+QgzGY=
=S3Dj
-----END PGP SIGNATURE-----
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-shlwapi-PathCommonPrefixA-shouldn-t-empty-achPath-if.patch
Type: text/x-patch
Size: 2370 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120222/33f56acc/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-shlwapi-PathCommonPrefixA-shouldn-t-empty-achPath-if.patch.sig
Type: application/pgp-signature
Size: 287 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20120222/33f56acc/attachment.pgp>


More information about the wine-patches mailing list