Uploaded image for project: 'OpenVZ'
  1. OpenVZ
  2. OVZ-6650

Make code more portable

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: Major
    • Resolution: Unresolved
    • Fix Version/s: Vz6.0-Update-next
    • Component/s: Containers::Userspace
    • Security Level: Public
    • Environment:
      Alpine Linux 3.3.0 x86_64, GCC 5.3.0

      Description

      >Description of problem:
      I'm packing the tools ploop, vzctl, and vzquota for Alpine Linux 3.3. Alpine Linux uses musl-libc as standard C library. Each tool has compilation issues which I managed to resolve – please review the attached patches. I'm not very comfortable with C, so there can be a better way to resolve them. I haven't created any pull request so far.

        Attachments

        1. ploop_fix-compilation-issues.patch
          3 kB
          Dennis Przytarski
        2. vzctl_define-func-strndupa.patch
          1 kB
          Dennis Przytarski
        3. vzctl_fix-compilation-issues.patch
          0.7 kB
          Dennis Przytarski
        4. vzquota_fix-compilation-issues.patch
          2 kB
          Dennis Przytarski

          Activity

            People

            Assignee:
            przytads Dennis Przytarski
            Reporter:
            przytads Dennis Przytarski
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Dates

              Created:
              Updated: