| ... | ... | @@ -1039,7 +1039,7 @@ fn dirCreateFilePosix( |
| 1039 | 1039 | .EXIST => return error.PathAlreadyExists, |
| 1040 | 1040 | .BUSY => return error.DeviceBusy, |
| 1041 | 1041 | .OPNOTSUPP => return error.FileLocksNotSupported, |
| 1042 | | //.AGAIN => return error.WouldBlock, |
| 1042 | .AGAIN => return error.WouldBlock, |
| 1043 | 1043 | .TXTBSY => return error.FileBusy, |
| 1044 | 1044 | .NXIO => return error.NoDevice, |
| 1045 | 1045 | .ILSEQ => return error.BadPathName, |
| ... | ... | @@ -1064,7 +1064,7 @@ fn dirCreateFilePosix( |
| 1064 | 1064 | .BADF => |err| return errnoBug(err), |
| 1065 | 1065 | .INVAL => |err| return errnoBug(err), // invalid parameters |
| 1066 | 1066 | .NOLCK => return error.SystemResources, |
| 1067 | | //.AGAIN => return error.WouldBlock, |
| 1067 | .AGAIN => return error.WouldBlock, |
| 1068 | 1068 | .OPNOTSUPP => return error.FileLocksNotSupported, |
| 1069 | 1069 | else => |err| return posix.unexpectedErrno(err), |
| 1070 | 1070 | } |
| ... | ... | @@ -1168,7 +1168,7 @@ fn dirOpenFile( |
| 1168 | 1168 | .EXIST => return error.PathAlreadyExists, |
| 1169 | 1169 | .BUSY => return error.DeviceBusy, |
| 1170 | 1170 | .OPNOTSUPP => return error.FileLocksNotSupported, |
| 1171 | | //.AGAIN => return error.WouldBlock, |
| 1171 | .AGAIN => return error.WouldBlock, |
| 1172 | 1172 | .TXTBSY => return error.FileBusy, |
| 1173 | 1173 | .NXIO => return error.NoDevice, |
| 1174 | 1174 | .ILSEQ => return error.BadPathName, |
| ... | ... | @@ -1193,7 +1193,7 @@ fn dirOpenFile( |
| 1193 | 1193 | .BADF => |err| return errnoBug(err), |
| 1194 | 1194 | .INVAL => |err| return errnoBug(err), // invalid parameters |
| 1195 | 1195 | .NOLCK => return error.SystemResources, |
| 1196 | | //.AGAIN => return error.WouldBlock, |
| 1196 | .AGAIN => return error.WouldBlock, |
| 1197 | 1197 | .OPNOTSUPP => return error.FileLocksNotSupported, |
| 1198 | 1198 | else => |err| return posix.unexpectedErrno(err), |
| 1199 | 1199 | } |