correct some flags

Robert Connolly robert at linuxfromscratch.org
Sun Mar 20 01:11:10 PST 2005


On March 20, 2005 01:25 am, Robert Connolly wrote:
> On March 20, 2005 02:09 am, pinotj at club-internet.fr wrote:
> > Hi,
> >
> > Here is a patch that correct some tags in r409. BTW, I could not find the
> > psmisc/uclibc patch. Is he pending ?
> >
> > regards,
>
> Thanks. The psmisc patch is here:
> http://linuxfromscratch.org/pipermail/patches/2005-March/002161.html
>
> The web mirrors haven't updates yet.

Use this instead, I just sent this to patches@:

diff -Naur psmisc-21.6.orig/src/i18n.h psmisc-21.6/src/i18n.h
--- psmisc-21.6.orig/src/i18n.h 2004-11-09 11:25:15.000000000 +0000
+++ psmisc-21.6/src/i18n.h      2005-03-20 09:03:44.000000000 +0000
@@ -15,5 +15,13 @@
 #define _(String) (String)
 #endif

+#ifdef __UCLIBC__
+#define rpmatch(line) \
+       ( (line == NULL) ? -1 : \
+         (*line == 'y' || *line == 'Y') ? 1 : \
+         (*line == 'n' || *line == 'N') ? 0 : \
+         -1 )
+#endif
+
 #endif



More information about the hlfs-dev mailing list