On 09/25/2016 07:25 PM, Arnaud Charlet wrote:
  int
  __gnat_get_maximum_file_name_length (void)
  {
+#if defined (__DJGPP__)
+  return (_use_lfn(".")) ? -1 : 8;
+#else
    return -1;
+#endif
  }
Is the above change really necessary? Would be nice to get rid of this
extra code. The rest looks OK to me.
It is required for support of environment when LFN support is either not available or disabled for some reason (for example FreeDOS without LFN support loaded).

Andris

Reply via email to