Realized an oversight (besides the messed-up subject!) after sending:

> @@ -1943,14 +1961,6 @@ extern "C" FILE *
>  setmntent (const char *filep, const char *)
>  {
>    _my_tls.locals.iteration = 0;
> -  _my_tls.locals.available_drives = GetLogicalDrives ();
> -  /* Filter floppy drives on A: and B: */
> -  if ((_my_tls.locals.available_drives & 1)
> -      && get_disk_type (L"A:") == DT_FLOPPY)
> -    _my_tls.locals.available_drives &= ~1;
> -  if ((_my_tls.locals.available_drives & 2)
> -      && get_disk_type (L"B:") == DT_FLOPPY)
> -    _my_tls.locals.available_drives &= ~2;

should have something like
+  if (_my_tls.locals.drivemappings)
+    {
+      delete _my_tls.locals.drivemappings;
+      _my_tls.locals.drivemappings = NULL;
+    }
here

Reply via email to