Details
-
Bug
-
Status: Resolved
-
Trivial
-
Resolution: Fixed
-
None
-
Windows
Description
There are two small things in winutils/chmod.c:
pathName should be pointer to a constant WSTR
the declartion
LPWSTR pathName = NULL;
seems to be wrong.
LPCWSTR pathName = NULL;
should b used instead.
------------------------------------------------
I believe the fragment
switch (c)
{
case NULL:
to be wrong as pointers are not permitted as
case values.
------------------------------------------------