L4Re/departure

libext2fs/lib/libsupport/nls-enable.h

617:2733e5770ee9
9 months ago Paul Boddie Made the run command wait for completion, introducing the spawn command to run programs in the background. Introduced conveniences for waiting for the last job to be initiated and for piping from the last job, also subscribing to signals from pipe-supplying jobs so that they may be transparently removed from the job list upon completion. Augmented the job listing with the "+" notation familiar from Unix. Prevented new jobs from being started when no job slots are available.
     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