You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Kiran Kumar M R (JIRA)" <ji...@apache.org> on 2015/05/06 11:34:01 UTC
[jira] [Assigned] (HADOOP-10356) Corrections in winutils/chmod.c
[ https://issues.apache.org/jira/browse/HADOOP-10356?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Kiran Kumar M R reassigned HADOOP-10356:
----------------------------------------
Assignee: Kiran Kumar M R
> 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: Kiran Kumar M R
> Priority: Trivial
> Labels: BB2015-05-TBR
> Attachments: HADOOP-10356.patch
>
>
> 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.
> ------------------------------------------------
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)