Summary: Update this file with a copyright header to satisfy our open source lint checks. Reviewed By: chadaustin Differential Revision: D15105844 fbshipit-source-id: ba2bfe0e62899a20d0fb526bc247159643e1ecab |
||
---|---|---|
.. | ||
glibc_en.mo | ||
glibc_en.po | ||
README.md |
This directory contains some locale files that can be installed to tweak some common system error messages.
In particular this changes the message replaces the error message for
ENOTCONN
to suggest that the user try running eden doctor
if they are in an
Eden checkout. When using an Eden checkout, receiving an ENOTCONN
error from
the filesystem normally means that the checkout has been unmounted. This can
happen if the edenfs
daemon has died or been restarted.
Not all ENOTCONN
errors are related to Eden. Since this file just globally
replaces the translation it can end up showing this advice in some cases that
aren't relevant. However ENOTCONN
is fairly rare in other circumstances.
It can be generated by socket APIs, but normally only as a result of programmer
error: attempting to read from or get the peer name on a network socket that
was never connected, or that was already explicitly shutdown. These other
situations primarily only occur for developers writing network programs and are
rare for other users.
If you edit glibc_en.po
you can regenerate glibc_en.mo
by running
msgfmt -o glibc_en.mo glibc_en.po
(msgfmt is part of GNU gettext)