Skip to content
Snippets Groups Projects
  • Rob Swindell's avatar
    0dec21c9
    Change STRERROR() to be just an alias for strerror() on all platforms · 0dec21c9
    Rob Swindell authored
    Its a terrible idea to modify the return value of strerror() on any platform. strerror() can (and often does) return immutable string constants - don't try to modify that string even if it does end in trailing white-space (find another solution to that). This change only affects non-*nix builds since we were already doing the right thing for *nix.
    0dec21c9
    History
    Change STRERROR() to be just an alias for strerror() on all platforms
    Rob Swindell authored
    Its a terrible idea to modify the return value of strerror() on any platform. strerror() can (and often does) return immutable string constants - don't try to modify that string even if it does end in trailing white-space (find another solution to that). This change only affects non-*nix builds since we were already doing the right thing for *nix.