• Show log

    Commit

  • Hash : 6fb1c0b4
    Author : Scott J. Goldman
    Date : 2012-05-09T23:45:55

    Fix readdir_r() usage for Solaris
    
    On Solaris, struct dirent is defined differently than Linux. The field
    containing the path name is of size 0, rather than NAME_MAX. So, we need to
    use a properly sized buffer on Solaris to avoid a stack overflow.
    
    Also fix some DIR* leaks on cleanup.