Re: Compiling on OS/2

From: Franz Bakan (
Date: Fri Jun 08 2001 - 08:24:40 PDT

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


    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,':');

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


    Source code, list archive, and docs:
    To unsubscribe: echo unsubscribe sane-devel | mail

    This archive was generated by hypermail 2b29 : Fri Jun 08 2001 - 08:25:04 PDT