Bug in afterstep-1790 Zharf.c

lamikr (lamikr@cc.jyu.fi)
Thu, 15 Apr 1999 11:40:48 +0100


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