pcp
[Top] [All Lists]

Expected warnings et al on platforms without secure sockets

To: pcp@xxxxxxxxxxx
Subject: Expected warnings et al on platforms without secure sockets
From: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>
Date: Wed, 20 Mar 2013 07:22:16 +1100
Delivered-to: pcp@xxxxxxxxxxx
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130308 Thunderbird/17.0.4
I'm seeing messages like this when running QA

Warning: __pmConnectRestoreFlags: cannot restore flags 
fcntl(3,F_SETFL,0xffffff9b) failed: Bad file descriptor

and it may be related to platforms where pmconfig -L reports 
secure_sockets=false

If the warning is "expected" in this case, we probably should not emit it.  
Otherwise I need to filter it out of the QA output, which would mask it in any 
cases where the warning was not expected ... unless I have conditional output 
based on secure_sockets=false or secure_sockets=true which seems overkill.

Comments? Thoughts?

As an aside, when secure_sockets=false builddefs contains:
NSSCFLAGS = -I
NSPRCFLAGS = -I

which just does not look right (shouldn't these be empty?).

<Prev in Thread] Current Thread [Next in Thread>