Details

    • Type: Bug
    • Status: Resolved
    • Priority: Trivial
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.8.0, 3.0.0-alpha1
    • Component/s: bin
    • Labels:
    • Environment:

      Windows

    • Target Version/s:
    • Hadoop Flags:
      Reviewed

      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.

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

        Attachments

        1. HADOOP-10356.patch
          0.9 kB
          René Nyffenegger

          Activity

            People

            • Assignee:
              René Nyffenegger René Nyffenegger
              Reporter:
              René Nyffenegger René Nyffenegger
            • Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: