Ignore:
Timestamp:
Oct 22, 2012, 2:48:13 PM (13 years ago)
Author:
dmik
Message:

pe: A better fix for adding .EXE than r22016.

It will only add .EXE if there is no (any) extention already specified,
regardless of whether the path is present or not. This matches the
behavior of CMD.EXE on both Windows and OS/2.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/peldr/helpers.h

    r21942 r22028  
    2020const char *str_skip_char(const char *s, int c);
    2121const char *str_find_char(const char *s, int c);
     22const char *str_find_last_char(const char *s, int c);
    2223int vsnprintf (char *buf, int n, const char *fmt, va_list args);
    2324int snprintf(char *buf, int n, const char *fmt, ...);
Note: See TracChangeset for help on using the changeset viewer.