updated on Fri Jan 6 00:09:29 UTC 2012
[aur-mirror.git] / libnfs / 001_fix_hanewin.patch
blob507fbe69889995c9c8347d803c324cb59f7a3fbd
1 --- lib/libnfs.c 2011-09-02 12:45:30.000000000 +0200
2 +++ lib/libnfs.c 2011-12-04 21:16:07.000000000 +0100
3 @@ -666,6 +666,9 @@
4 if (res->GETATTR3res_u.resok.obj_attributes.type == NF3DIR) {
5 st.st_mode |= S_IFDIR ;
7 + if (res->GETATTR3res_u.resok.obj_attributes.type == NF3REG) {
8 + st.st_mode |= S_IFREG ;
9 + }
10 st.st_nlink = res->GETATTR3res_u.resok.obj_attributes.nlink;
11 st.st_uid = res->GETATTR3res_u.resok.obj_attributes.uid;
12 st.st_gid = res->GETATTR3res_u.resok.obj_attributes.gid;