Re: Compiling on OS/2

From: Franz Bakan (fbakan@gmx.net)
Date: Fri Jun 08 2001 - 15:54:17 PDT

  • Next message: Franz Bakan: "Building libsane.dll on OS/2"

    Hi,

    On Fri, 08 Jun 2001 20:06:31 +0200, Oliver Rauch wrote:

    >why don`t you apply this function to gsg_make_path in gtkglue.c:
    >about line 155 (in if (dev_name))
    >
    > case '/':
    > buf[len++] = '+';
    > buf[len++] = '-';
    > break;
    >+#ifdef OS2
    >+ case ':':
    >+ buf[len++] = '_';
    >+ buf[lrn++] = '_';
    >+ break;
    >+#endif
    > case '+':

    thanks, thats the more elegant and shorter way.

    But it just has to be just

    +#ifdef OS2
    + case ':':
    + buf[len++] = '_';
    + break;
    +#endif

    I tested and it works.
    Could someone please add this patch to the sources?

    Bye
    Franz

    --
    Source code, list archive, and docs: http://www.mostang.com/sane/
    To unsubscribe: echo unsubscribe sane-devel | mail majordomo@mostang.com
    



    This archive was generated by hypermail 2b29 : Fri Jun 08 2001 - 15:54:54 PDT