HomeFreeBSD

MFH: r430522

Description

MFH: r430522

emulators/snes9x: unbreak with libc++ 3.9

unix/unix.cpp:1451:9: error: cannot initialize a variable of type 'char *' with an rvalue of type

    'const char *'
char *slash = strrchr(path, SLASH_CHAR);
      ^       ~~~~~~~~~~~~~~~~~~~~~~~~~

unix/unix.cpp:1452:9: error: cannot initialize a variable of type 'char *' with an rvalue of type

    'const char *'
char *dot = strrchr(path, '.');
      ^     ~~~~~~~~~~~~~~~~~~

PR: 212343
Regressed by: https://github.com/llvm-mirror/libcxx/commit/b4aa97130b8b

Details

Provenance
antoineAuthored on
Parents
rP430732: add net-mgmt/dnsmap : DNS domain name brute forcing tool
Branches
Unknown
Tags
Unknown