diff options
author | Cy Schubert <cy@FreeBSD.org> | 2013-09-18 08:20:02 +0000 |
---|---|---|
committer | Cy Schubert <cy@FreeBSD.org> | 2013-09-18 08:20:02 +0000 |
commit | a1983dd5ba00bd780f7beca39dfd4b7028250baf (patch) | |
tree | 48d3e7de08a28767a7d513c6ac21921acd7f8231 /net | |
parent | 5fff9d4bfc9249eedcbb59a7190032a2d02b8ba8 (diff) |
Notes
Diffstat (limited to 'net')
-rw-r--r-- | net/44bsd-rdist/files/patch-expand.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net/44bsd-rdist/files/patch-expand.c b/net/44bsd-rdist/files/patch-expand.c new file mode 100644 index 000000000000..4c052f4e4e89 --- /dev/null +++ b/net/44bsd-rdist/files/patch-expand.c @@ -0,0 +1,11 @@ +--- expand.c.orig 2013-09-17 23:46:26.681322944 -0700 ++++ expand.c 2013-09-18 00:29:13.792410201 -0700 +@@ -309,7 +309,7 @@ + return; + goto patherr2; + } +- if (fstat(dirp->dd_fd, &stb) < 0) ++ if (fstat(dirfd(dirp), &stb) < 0) + goto patherr1; + if (!ISDIR(stb.st_mode)) { + errno = ENOTDIR; |