Re: xsane-0.69 sourcecode released

From: Oliver Rauch (oliver.rauch@Wolfsburg.DE)
Date: Sat Dec 30 2000 - 10:27:08 PST

  • Next message: Petter Reinholdtsen: "Re: Installation and man page of find-scanner"

    Eugene Kanter wrote:
    >
    > On Sat, 30 Dec 2000, Oliver Rauch wrote:
    >
    > > Here the changes in details:
    >
    > [...]
    >
    > >
    > > - changed way to find out home directory in xsane-back-gtk.c:
    > > now getenv(ENVIRONMENT_HOME_DIR_NAME) is used instead of getpwuid(...)->pw_dir.
    > > (getenv is usable for Win32 and unix, getpwuid makes problems on Win32)
    > >
    > I would not switch from getpwuid to getenv on UNIX because getenv is
    > generally less reliable. Please use conditional compilation and leave
    > original getpwuid->pwd code for UNIX in place.

    Hi Eugene,

    scanimage also uses the getenv version and it looks like that does not make
    any problems. If that works I will keep it this way, if it makes any
    problems I will change it for xsane.

    Bye
    Oliver

    -- 
    Homepage:	http://www.wolfsburg.de/~rauch
    sane-umax:	http://www.wolfsburg.de/~rauch/sane/sane-umax.html
    xsane:		http://www.wolfsburg.de/~rauch/sane/sane-xsane.html
    E-Mail:		mailto:Oliver.Rauch@Wolfsburg.DE
    

    -- 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 : Sat Dec 30 2000 - 11:12:02 PST