crypt32: Avoid relying on PATH_MAX in import_certs_from_dir helper.

Andrew Nguyen anguyen at codeweavers.com
Thu Oct 7 20:56:40 CDT 2010


PATH_MAX is not guaranteed to be available on all platforms, and it is 
inadequate as a hardcoded buffer size anyway.
---
 dlls/crypt32/rootstore.c |   50 ++++++++++++++++++++++++++++++++++++---------
 1 files changed, 40 insertions(+), 10 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-crypt32-Avoid-relying-on-PATH_MAX-in-import_certs_from.txt
Type: text/x-patch
Size: 2587 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20101007/56a8456f/attachment.bin>


More information about the wine-patches mailing list