5 months ago | Paul Boddie | raw annotate files changeset graph | Introduced a separate capability receiving operation for clients in place of ipc_message_expect which reserves capability slots, this being appropriate only for servers generally expecting capabilities in messages, being inappropriate for message items representing flexpages. Separated capability and dataspace import operations into client and server variants, avoiding capability allocation in clients where such allocation will occur explicitly in advance and where messages will also not be reused. |
1 #if defined(ENABLE_NLS) && !defined(DEBUGFS) 2 #include <libintl.h> 3 #include <locale.h> 4 #define _(a) (gettext (a)) 5 #ifdef gettext_noop 6 #define N_(a) gettext_noop (a) 7 #else 8 #define N_(a) (a) 9 #endif 10 #define P_(singular, plural, n) (ngettext (singular, plural, n)) 11 #ifndef NLS_CAT_NAME 12 #define NLS_CAT_NAME "e2fsprogs" 13 #endif 14 #ifndef LOCALEDIR 15 #define LOCALEDIR "/usr/share/locale" 16 #endif 17 #else 18 #define _(a) (a) 19 #define N_(a) a 20 #define P_(singular, plural, n) ((n) == 1 ? (singular) : (plural)) 21 #endif