SourceForge has been redesigned. Learn more.
Close

#6 par utility does not compile on windows

closed-fixed
nobody
None
4
2004-08-15
2004-08-13
No

The "par" utility does not compile on windows.

There are a few problems. One is that par uses UNIX
system calls (open, write, close, lseek, mkdir, etc),
which are not part of Windows. The file operations
could be re-written to use ANSI C file functions in
stdio.h. We could use a #define to replace mkdir with
_mkdir() on windows.

The other problem is that "par" calls system("rm -f")
to clean up on error. I think this can be replaced
with the ANSI C remove().

Even though there are friendlier PAK utilities for
Windows, this is somewhat important because par is part
of our automated build process and it would be nice if
our build system were platform-independent.

Discussion

  • David Costanzo

    David Costanzo - 2004-08-15
    • status: open --> closed-fixed
     
  • David Costanzo

    David Costanzo - 2004-08-15

    Logged In: YES
    user_id=109252

    I contacted the original author and he does not seem
    interested in maintaining par anymore.

    I made the changes that I described above and committed them
    to the tree. I also added some unit tests to make sure I
    didn't introduce any regressions.

     

Log in to post a comment.