summaryrefslogtreecommitdiffstats
path: root/cli
diff options
context:
space:
mode:
authorEmmanuel Dreyfus <manu@netbsd.org>2012-06-02 18:36:43 +0200
committerAnand Avati <avati@redhat.com>2012-06-05 10:46:25 -0700
commit73366888815d308feb0393775db0dc5ea8f5a026 (patch)
treea3df57a467f1e2e242236ccd6a696f81e8072506 /cli
parent6eee473eba94697953e8b3e1b04fe5ef1de5f474 (diff)
Use linkat(2) when linking on symlink
link(2) behavior is not standardized when it comes to symlink. BSD links to the symlink target (and fails if it does not exist), Linux links to the symlink itself. Use linkat(2) instead of link(2) in order to get a portable behavior. BUG: 764655 Change-Id: If7f6f17b48a4ccf8827c3795ec147306df6b5542 Signed-off-by: Emmanuel Dreyfus <manu@netbsd.org> Reviewed-on: http://review.gluster.com/3507 Tested-by: Gluster Build System <jenkins@build.gluster.com> Reviewed-by: Anand Avati <avati@redhat.com>
Diffstat (limited to 'cli')
0 files changed, 0 insertions, 0 deletions