[as-devel] [lamikr@cc.jyu.fi: Bug in afterstep-1790 Zharf.c]

Albert Dorofeev (albert@tigr.net)
Thu, 15 Apr 1999 10:55:46 +0200


----- Forwarded message from lamikr <lamikr@cc.jyu.fi> -----

Delivered-To: majordom-afterstep@rim.caldera.com
Date: Thu, 15 Apr 1999 11:40:48 +0100
From: lamikr <lamikr@cc.jyu.fi>
X-Mailer: Mozilla 4.04 [fi] (OS/2; I)
To: afterstep@linuxcenter.com
Subject: Bug in afterstep-1790 Zharf.c
Precedence: bulk
Reply-To: afterstep@linuxcenter.com

There seems to be small type bug in src\zharf\zharf.c
of afterstep-17.90
In functions
    ParseOptions(const char *filename)  and
    ParseBaseOptions (char *filename)

is fopen done twice in the beginning:

  fd = fopen (filename, "r");
  if ((fd = fopen (filename, "r")) == NULL)
    {
      fprintf (stderr, "%s: can't open config file %s", MyName,
filename);
      exit (1);
    }


--
   WWW:   http://www.afterstep.org/
   FTP:   ftp://ftp.afterstep.org/
   MAIL:  http://www.caldera.com/linuxcenter/forums/afterstep.html


----- End forwarded message -----

-- 
Albert Dorofeev http://www.tigr.net/ http://bewoner.dma.be/Albert/
fingerprint = C9 49 D0 F3 41 FA 8C D8  E9 5C 6A D4 F1 6D 65 15
Anything good in life is either illegal, immoral or fattening.