Re: VSTa 1.6.5

From: Andy Valencia <vandys_at_nospam.org>
Date: Sun Nov 26 2000 - 14:48:53 PST

["Sandro Magi" <naasking@hotmail.com> writes:]

>http://naasking.homeip.net/vsta/10M.gz

Many thanks. Attached below is the patch to fix this... it's a problem
between the long filename support and a FAT-1[26] filesystem. I've also put
a bugfixed DOS server on:

        ftp://ftp.vsta.org/vsta/pickup/dos.nullfix

replace /vsta/boot/dos with that, and you should be in good shape!

Nobody working on a FAT-32 filesystem should see this problem... but
obviously there are plenty of older versions still around.

Andy Valencia

===================================================================
RCS file: RCS/stat.c
retrieving revision 1.24
diff -C4 -r1.24 stat.c
*** 1.24 2000/06/21 20:49:38
--- stat.c 2000/11/26 14:38:48
***************
*** 145,153 ****
  shortname(struct directory *d)
  {
        static char buf[14];
  
! pack_name(d, buf);
        return(buf);
  }
  
  /*
--- 145,160 ----
  shortname(struct directory *d)
  {
        static char buf[14];
  
! /*
! * NULL'ed out entry means root directory
! */
! if (d->name[0] == '\0') {
! strcpy(buf, "/");
! } else {
! pack_name(d, buf);
! }
        return(buf);
  }
  
  /*
Received on Sun Nov 26 14:47:46 2000

This archive was generated by hypermail 2.1.8 : Thu Sep 22 2005 - 15:12:57 PDT