Skip to content
Snippets Groups Projects
Select Git revision
  • master default protected
  • v1.3.0
  • v1.2.4
  • v1.2.3
  • v1.2.2
  • v1.2.1
  • v1.2.0
  • v1.1.1
  • v1.1.0
  • v1.0.13
  • v1.0.12
  • v1.0.11
  • v1.0.10
  • v1.0.9
  • v1.0.8
  • v1.0.7
  • v1.0.6
  • v1.0.5
  • v1.0.4
  • v1.0.3
  • v1.0.2
21 results

realpath.c

  • Fred Wright's avatar
    b3de412f
    Rewrite realpath() wrapper. · b3de412f
    Fred Wright authored
    The former implementation didn't necessarily provide all versions of
    realpath() that might be invoked, and didn't necessarily invoke the
    proper version.  That led to possible crashes and possible unnecessary
    semantic differences.  This fixes all that, though it doesn't retrofit
    the 10.5+ semantic changes to 10.4 (and neither did the earlier
    implementation).
    
    The former implementation also failed to return any internally
    allocated buffer on failures, causing a memory leak.  That is now
    fixed as well.
    
    TESTED:
    Builds and passes all tests (including expanded tests) on all
    platforms, with all applicable SDKs.
    b3de412f
    History
    Rewrite realpath() wrapper.
    Fred Wright authored
    The former implementation didn't necessarily provide all versions of
    realpath() that might be invoked, and didn't necessarily invoke the
    proper version.  That led to possible crashes and possible unnecessary
    semantic differences.  This fixes all that, though it doesn't retrofit
    the 10.5+ semantic changes to 10.4 (and neither did the earlier
    implementation).
    
    The former implementation also failed to return any internally
    allocated buffer on failures, causing a memory leak.  That is now
    fixed as well.
    
    TESTED:
    Builds and passes all tests (including expanded tests) on all
    platforms, with all applicable SDKs.