Commit in reactos/lib/setupapi on MAIN
parser.c-11.4 -> 1.5
Undo last change, since GetFullPathName is supposed to return the length
including terminating nul char when the buffer is too small

reactos/lib/setupapi
parser.c 1.4 -> 1.5
diff -u -r1.4 -r1.5
--- parser.c	6 Oct 2004 23:46:09 -0000	1.4
+++ parser.c	7 Oct 2004 19:24:26 -0000	1.5
@@ -1063,7 +1063,6 @@
     if (strchrW( name, '\\' ) || strchrW( name, '/' ))
     {
         if (!(len = GetFullPathNameW( name, 0, NULL, NULL ))) return (HINF)INVALID_HANDLE_VALUE;
-        len++; /* Make room for terminating NUL byte */
         if (!(path = HeapAlloc( GetProcessHeap(), 0, len * sizeof(WCHAR) )))
         {
             SetLastError( ERROR_NOT_ENOUGH_MEMORY );
CVSspam 0.2.8