Skip to content
  • rswindell's avatar
    Linux-DOSEMU patch fix: · 9bb96394
    rswindell authored
    Use case-insensitive check of executable file extension for ".bat".
    The obvious "fix" would have been to use strcasestr() instead of strstr(),
    but that would leave the unlikely corner case of x.bat.exe producing a
    false-positive, for example. Use the proper functions for getting a file
    extension and performing a full case-insensitive string compare.
    9bb96394