Hi!

23-Май-2004 18:28 [EMAIL PROTECTED] (Bart Oldeman) wrote to
[EMAIL PROTECTED]:

> +++ fatdir.c  23 May 2004 18:28:18 -0000      1.47
>  STATIC void swap_deleted(char *name)
>  {
> +  if (name[0] == DELETED || name[0] == EXT_DELETED)
> +    name[0] ^= EXT_DELETED - DELETED; /* 0xe0 */
>  }

STATIC void swap_deleted(char *name)
{
  /* DELETED (0x5) || EXT_DELETED (0xe5) ? */
  if ((UBYTE)(name[0] & ~0xE0) == DELETED)
>---------------------^^^^^^^^^^^^^^^^^^^
    *name ^= EXT_DELETED ^ DELETED; /* 0xe0 */
>------------------------^
}

> +++ dosfns.c  23 May 2004 18:28:18 -0000      1.69
> @@ -1096,8 +1090,8 @@
> +  /* findnext will always fail on a device name device name or volume id */
---------------------------------------^^^^^^^^^^^-^^^^^^^^^^^
> +  if (dmp->dm_attr_fnd & (D_DEVICE | D_VOLID))
>      return DE_NFILES;




-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id149&alloc_id│66&op=click
_______________________________________________
Freedos-kernel mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/freedos-kernel

Reply via email to