pcp
[Top] [All Lists]

pmcd, PMDAs and POSIXLY_CORRECT

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Subject: pmcd, PMDAs and POSIXLY_CORRECT
From: Nathan Scott <nathans@xxxxxxxxxx>
Date: Thu, 12 Sep 2013 23:47:13 -0400 (EDT)
Cc: pcp@xxxxxxxxxxx
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <17979948.20185166.1379043881147.JavaMail.root@xxxxxxxxxx>
Reply-to: Nathan Scott <nathans@xxxxxxxxxx>
Thread-index: 4VG1e337p24IRmycSBbieLl9Ox8gsw==
Thread-topic: pmcd, PMDAs and POSIXLY_CORRECT
Hi Ken,

Do you remember the original reasoning behind the addition of this
code in pmcd, inherited by all the PMDAs.  We've come across a PMDA
(Samba) that has been bitten by it, not functioning correctly as a
result of this.  We've worked around it for now, but perhaps we can
remove this nowadays, if the original problem is no longer with us?
(if only we knew what it was)

src/pmcd/src/pmcd.c

#ifdef HAVE_GETOPT_NEEDS_POSIXLY_CORRECT
    /*
     * pmcd does not really need this for its own options because the
     * arguments like "arg -x" are not valid.  But the PMDA's launched
     * by pmcd from pmcd.conf may not be so lucky.
     */
    putenv("POSIXLY_CORRECT=");
#endif


thanks!

--
Nathan

<Prev in Thread] Current Thread [Next in Thread>
  • pmcd, PMDAs and POSIXLY_CORRECT, Nathan Scott <=