Re: Compiling on OS/2

From: Franz Bakan (fbakan@gmx.net)
Date: Fri Jun 08 2001 - 08:24:40 PDT

  • Next message: Oliver Rauch: "Re: Compiling on OS/2"

    Hi,

    On Wed, 6 Jun 2001 20:39:27 +0200, Henning Meier-Geinitz wrote:

    >> >So maybe the filename can be changed to contain an allowed character
    >> >instead of ":".
    >>
    >> With this patch it works: ( diff -c )
    >
    >Yes, but it fixes only the save function. Load must also be changed.

    Load was also changed with the patch.

    >Further more it only exchanges one colon, but there can be more than
    >one, e.g. in "net:localhost:mustek:/dev/scanner".

    What about:

    #ifdef OS2
      char *colon;

      colon = strchr((filename+2),':');
      while (colon != NULL)
        {
          colon[0] = '-';
          colon = strchr(colon,':');
        }
    #endif

    I have included the needed diffs for xcam and xscanimage as attachement.

    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 - 08:25:04 PDT