Mercurial > minori
comparison dep/animia/src/fd/bsd.cc @ 151:54744a48a7d7
last commit part 2: struct init with {} is valid syntax, actually
author | Paper <mrpapersonic@gmail.com> |
---|---|
date | Tue, 14 Nov 2023 16:31:21 -0500 |
parents | ffa535b6d630 |
children | 8700806c2cc2 |
comparison
equal
deleted
inserted
replaced
150:ffa535b6d630 | 151:54744a48a7d7 |
---|---|
107 /* this doesn't work! | 107 /* this doesn't work! |
108 if (vnodeInfo.pfi.fi_openflags & O_WRONLY || vnodeInfo.pfi.fi_openflags & O_RDWR) | 108 if (vnodeInfo.pfi.fi_openflags & O_WRONLY || vnodeInfo.pfi.fi_openflags & O_RDWR) |
109 continue; | 109 continue; |
110 */ | 110 */ |
111 | 111 |
112 OpenFile file; | 112 files.push_back({pid, vnodeInfo.pvip.vip_path}); |
113 file.pid = pid; | |
114 file.path = vnodeInfo.pvip.vip_path; | |
115 | |
116 files.push_back(file); | |
117 } | 113 } |
118 } | 114 } |
119 } | 115 } |
120 return true; | 116 return true; |
121 } | 117 } |