That function simply wasn't used anymore. LFN is still supported.
On 6/13/06, Aitor SantamarĂa <[EMAIL PROTECTED]> wrote:
> Hi,
>
> I did like the LFN features listing in dir (even if MS-DOS 7.X COMMAND
> does not have it, was it removed by the change above? Wouldn't it be
> possible to make it a conditional compile?
>
> Aitor
>
> 2006/6/11, Blair Campbell <[EMAIL PROTECTED]>:
> > Update of /cvsroot/freedos/freecom/cmd
> > In directory sc8-pr-cvs5.sourceforge.net:/tmp/cvs-serv17891/freecom/cmd
> >
> > Modified Files:
> > dir.c
> > Log Message:
> >
> >
> > Removed unused CheckDriveOnLFN function
> >
> >
> > Index: dir.c
> > ===================================================================
> > RCS file: /cvsroot/freedos/freecom/cmd/dir.c,v
> > retrieving revision 1.27
> > retrieving revision 1.28
> > diff -u -d -r1.27 -r1.28
> > --- dir.c 11 Jun 2006 02:08:08 -0000 1.27
> > +++ dir.c 11 Jun 2006 04:57:07 -0000 1.28
> > @@ -1138,32 +1138,6 @@
> > return rv;
> > }
> >
> > -#if 0
> > -#ifdef FEATURE_LONG_FILENAMES
> > -int checkDriveSupportsLFN(char driveLetter)
> > -{
> > - static char rootname[] = "X:\\";
> > - char buffer[32];
> > - union REGS r;
> > - struct SREGS sr;
> > -
> > - *rootname = driveLetter;
> > -
> > - r.x.ax = 0x71A0; /* get volume information */
> > - sr.ds = FP_SEG(rootname);
> > - r.x.dx = FP_OFF(rootname);
> > - sr.es = FP_SEG(buffer);
> > - r.x.di = FP_OFF(buffer);
> > - r.x.cx = sizeof(buffer);
> > - myintdosx( &r, &r, &sr);
> > -
> > - /* if carry or LFN function unsupportd or volume does NOT support LFN
> functions */
> > - if (r.x.cflag || r.x.ax==0x7100)
> > - return 0; /* return definitely unsupported */
> > - return 1; /* else give it a go, ie probably supported */
> > -}
> > -#endif
> > -#endif
> >
> > static int dir_print_body(char *arg, unsigned long *dircount)
> > { int rv;
> >
> >
> >
> > _______________________________________________
> > Freedos-cvs mailing list
> > [EMAIL PROTECTED]
> > https://lists.sourceforge.net/lists/listinfo/freedos-cvs
> >
>
>
> _______________________________________________
> Freedos-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/freedos-devel
>
--
Fall is my favorite season in Los Angeles, watching the birds change
color and fall from the trees.
David Letterman (1947 - )
See ya
_______________________________________________
Freedos-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/freedos-devel