mirror of
https://github.com/facebook/sapling.git
synced 2024-10-10 16:57:49 +03:00
a3c582d708
Summary: Add a new utils/SystemError.h header with helper functions to check if a `std::system_error` contains an errno value. Most of the code in Eden previously only checked for `std::system_category` when looking for errno values. `std::generic_category` is the correct category to use for errno exceptions, but folly/Exception.h incorrectly throws them as `std::system_category` today. This change makes Eden treat either error type as errno values for now. Reviewed By: yfeldblum Differential Revision: D7329999 fbshipit-source-id: 67a3c3ea10371c53a2e34236b7575deac4cbd53a |
||
---|---|---|
.. | ||
fuse_tester | ||
privhelper | ||
test | ||
BufVec.cpp | ||
BufVec.h | ||
DirHandle.h | ||
DirList.cpp | ||
DirList.h | ||
Dispatcher.cpp | ||
Dispatcher.h | ||
EdenStats.cpp | ||
EdenStats.h | ||
FileHandle.cpp | ||
FileHandle.h | ||
FileHandleBase.cpp | ||
FileHandleBase.h | ||
FileHandleMap.cpp | ||
FileHandleMap.h | ||
FuseChannel.cpp | ||
FuseChannel.h | ||
FuseTypes.cpp | ||
FuseTypes.h | ||
handlemap.thrift | ||
PollHandle.cpp | ||
PollHandle.h | ||
RequestData.cpp | ||
RequestData.h |