Uploaded image for project: 'MariaDB Server'
  1. MariaDB Server
  2. MDEV-3693

LP:612832 - MariaDB Won't Compile in Cygwin - Patch Attached

    XMLWordPrintable

Details

    • Bug
    • Status: Closed (View Workflow)
    • Trivial
    • Resolution: Won't Fix
    • None
    • None
    • None

    Description

      Simple issue in the command line tools. MySQL claims they don't officially support Cygwin and closed the bug, even though there are hundreds of #ifdef's referencing Cygwin already. Bah!

      — vi.c.orig 2010-07-31 08:31:06.047354500 -0400
      +++ vi.c 2010-07-31 08:29:42.095897000 -0400
      @@ -914,14 +914,14 @@

      • NB: posix implies that we should enter insert mode, however
      • this is against historical precedent...
        */
        -#if defined(_weak_reference) && !defined(FreeBSD_)
        +#if defined(_weak_reference) && !defined(FreeBSD) && !defined(CYGWIN_)
        extern char *get_alias_text(const char *) __weak_reference(get_alias_text);
        #endif
        protected el_action_t
        /ARGSUSED/
        vi_alias(EditLine *el, int c)
        {
        -#if defined(_weak_reference) && !defined(FreeBSD_)
        +#if defined(_weak_reference) && !defined(FreeBSD) && !defined(CYGWIN_)
        char alias_name[3];
        char *alias_text;

      http://bugs.mysql.com/bug.php?id=55660&error=no

      I don't think I'm being fair.

      Attachments

        Activity

          People

            monty Michael Widenius
            larryadams Larry Adams (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Git Integration

                Error rendering 'com.xiplink.jira.git.jira_git_plugin:git-issue-webpanel'. Please contact your Jira administrators.