commit | e3ccb31b688e6a3b2f83cc5001dcc159db5a9ac7 | [log] [tgz] |
---|---|---|
author | Mark Hindess <hindessm@apache.org> | Tue Sep 09 10:10:35 2008 +0000 |
committer | Mark Hindess <hindessm@apache.org> | Tue Sep 09 10:10:35 2008 +0000 |
tree | ee6bbb4690ffa9f5353ff39afaec4820439a2250 | |
parent | 2380efae5745f677352ff2f1e5982d74d91849cc [diff] |
If readlink copies sizeof(buf) characters then we have no '\0' so we must restrict it to copy only sizeof(buf)-1. git-svn-id: https://svn.apache.org/repos/asf/harmony/enhanced/drlvm/trunk@693415 13f79535-47bb-0310-9956-ffa450edef68