# Re: Patches for saned/net/scanimage/user-authorization....

From: Jochen Eisinger (jochen.eisinger@gno.de)
Date: Sat Nov 18 2000 - 13:52:59 PST

- Next message: Henning Meier-Geinitz: "Re: reaction to a smaller buffer size"
  - Previous message: Oliver Neukum: "reaction to a smaller buffer size"
  - In reply to: Henning Meier-Geinitz: "Re: Patches for saned/net/scanimage/user-authorization...."
  - Next in thread: Henning Meier-Geinitz: "Re: Patches for saned/net/scanimage/user-authorization...."
  - Reply: Henning Meier-Geinitz: "Re: Patches for saned/net/scanimage/user-authorization...."
  - Reply: Oliver Rauch: "Re: Patches for saned/net/scanimage/user-authorization...."
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  Hi!

  [Henning Meier-Geinitz]
  > Sorry, no patches. I just added an "s" to the #include <string.h> in
  > these three files.
  >
  > We must find a way to check if index() is in string.h or strings.h in
  > configure and add something like
  > #ifdef HAVE_STRINGS_H
  > # include <strings.h>
  > #else
  > # include <string.h>
  > #endif /* HAVE_STRINGS_H */
  >
  > to the files using index(). Where are the autoconf experts :-)?

  AC_TRY_COMPILE([
  #include <string.h>],[char *c=index(" ",' ')],,CPPFLAGS="${CPPFLAGS}
  -DNEED_STRINGS_H")

  and

  #ifdef NEED_STRINGS_H
  # include <strings.h>
  #else
  # include <string.h>
  #endif

  should work =)

  > > > > lib/md5.c include/md5.h include/sane/sanei_auth.h sanei/sanei_auth.c:
  > Actually I was talking about the function parameters in md5.c:
  > But it doesn't really matter.

  Hmm, since this file is taken from a GNU lib (GNU textutils), it should
  be gnu coding style...

  But it realy doesn't matter

  -- jochen

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

  - Next message: Henning Meier-Geinitz: "Re: reaction to a smaller buffer size"
  - Previous message: Oliver Neukum: "reaction to a smaller buffer size"
  - In reply to: Henning Meier-Geinitz: "Re: Patches for saned/net/scanimage/user-authorization...."
  - Next in thread: Henning Meier-Geinitz: "Re: Patches for saned/net/scanimage/user-authorization...."
  - Reply: Henning Meier-Geinitz: "Re: Patches for saned/net/scanimage/user-authorization...."
  - Reply: Oliver Rauch: "Re: Patches for saned/net/scanimage/user-authorization...."
  - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

  This archive was generated by hypermail 2b29 : Sat Nov 18 2000 - 13:41:10 PST