[Users] [Bug 4757] New: remove AX_FUNC_MKDIR

noreply at thewildbeast.co.uk noreply at thewildbeast.co.uk
Mon Jan 29 15:22:47 UTC 2024


https://www.thewildbeast.co.uk/claws-mail/bugzilla/show_bug.cgi?id=4757

            Bug ID: 4757
           Summary: remove AX_FUNC_MKDIR
           Product: Claws Mail (GTK 2)
           Version: GIT
          Hardware: PC
                OS: All
            Status: NEW
          Severity: normal
          Priority: P3
         Component: Other
          Assignee: users at lists.claws-mail.org
          Reporter: olaf at aepfle.de

Created attachment 2438
  -->
https://www.thewildbeast.co.uk/claws-mail/bugzilla/attachment.cgi?id=2438&action=edit
gtk2-remove-AX_FUNC_MKDIR.patch

This macro was imported via a huge patchset. Initially it came from gcc, where
it was added in commit 75923b2fc5c3dad0 in April 1999. Nowhere is stated which
systems has such mkdir, which takes only one arg. Such check was never in glib.
It is safe to assume that Claws Mail never ran on such system.

Remove the m4 macro and replace mkdir() with g_mkdir().

There are two plain mkdir calls in plugins, which indicates that it
might be safe to call plain mkdir everywhere.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the Users mailing list