hadoop-common-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From René Nyffenegger (JIRA) <j...@apache.org>
Subject [jira] [Created] (HADOOP-10356) Corrections in winutils/chmod.c
Date Fri, 21 Feb 2014 06:44:22 GMT
René Nyffenegger created HADOOP-10356:
-----------------------------------------

             Summary: Corrections in winutils/chmod.c
                 Key: HADOOP-10356
                 URL: https://issues.apache.org/jira/browse/HADOOP-10356
             Project: Hadoop Common
          Issue Type: Bug
          Components: bin
         Environment: Windows
            Reporter: René Nyffenegger
            Assignee: René Nyffenegger
            Priority: Trivial


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;

   I believe the fragment

      switch (c)
      {
      case NULL:

   to be wrong as pointers are not permitted as
   case values.

  ------------------------------------------------




--
This message was sent by Atlassian JIRA
(v6.1.5#6160)

Mime
View raw message