Return-Path: X-Original-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Delivered-To: apmail-hadoop-common-issues-archive@minotaur.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id C4562175F7 for ; Sat, 9 May 2015 12:02:13 +0000 (UTC) Received: (qmail 39486 invoked by uid 500); 9 May 2015 12:02:13 -0000 Delivered-To: apmail-hadoop-common-issues-archive@hadoop.apache.org Received: (qmail 39441 invoked by uid 500); 9 May 2015 12:02:13 -0000 Mailing-List: contact common-issues-help@hadoop.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: common-issues@hadoop.apache.org Delivered-To: mailing list common-issues@hadoop.apache.org Received: (qmail 39429 invoked by uid 99); 9 May 2015 12:02:13 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 09 May 2015 12:02:13 +0000 Date: Sat, 9 May 2015 12:02:13 +0000 (UTC) From: "Hudson (JIRA)" To: common-issues@hadoop.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HADOOP-10356) Corrections in winutils/chmod.c MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ https://issues.apache.org/jira/browse/HADOOP-10356?page=3Dcom.atlassi= an.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=3D14= 536435#comment-14536435 ]=20 Hudson commented on HADOOP-10356: --------------------------------- SUCCESS: Integrated in Hadoop-Yarn-trunk #922 (See [https://builds.apache.o= rg/job/Hadoop-Yarn-trunk/922/]) HADOOP-10356. Corrections in winutils/chmod.c (Contributed by Ren=C3=83=C2= =A9 Nyffenegger) (arp: rev a0fae8dcae9e10cc7b751ed216017ded29177be1) * hadoop-common-project/hadoop-common/CHANGES.txt * hadoop-common-project/hadoop-common/src/main/winutils/chmod.c > 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=C3=A9 Nyffenegger > Assignee: Ren=C3=A9 Nyffenegger > Priority: Trivial > Labels: BB2015-05-RFC > Fix For: 2.8.0 > > 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 =3D NULL; > seems to be wrong. > LPCWSTR pathName =3D 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)