lzip-bug
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: mingw patch for mkdir()


From: Antonio Diaz Diaz
Subject: Re: mingw patch for mkdir()
Date: Mon, 05 Feb 2024 16:41:55 +0100
User-agent: Mozilla/5.0 (X11; U; Linux i586; en-US; rv:1.9.1.19) Gecko/20110420 SeaMonkey/2.0.14

wrotycz wrote:
In (c)lzip definition of mkdir takes 2 arguments while in windows it
takes 1, which causes compilation error.

Thank you for reporting this.

I have fixed it mostly as you suggest, but prepending an underscore as suggested by gnulib[1]. I have inserted the following at line 47 of main.cc and at corresponding lines in the rest of tools:

  #define mkdir(name,mode) _mkdir(name)

[1] http://www.gnu.org/software/gnulib/manual/html_node/mkdir.html

Best regards,
Antonio.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]