pcp
[Top] [All Lists]

QA 633 finds a real code bug!

To: sonic.zhang@xxxxxxxxx
Subject: QA 633 finds a real code bug!
From: Ken McDonell <kenmcd@xxxxxxxxxxxxxxxxx>
Date: Wed, 29 Jan 2003 05:31:20 +1100
Cc: pcp@xxxxxxxxxxx
Sender: pcp-bounce@xxxxxxxxxxx
After much digging, QA test 633 has finally unearthed a lurking bug
in libpcp ... this is only visible on platforms where native byte
order != network byte order, and under normal circumstances is most
unlikely to be tickled.

However the attached patch to src/libpcp/src/pdu.c will correct the
problem and make QA test 633 pass reliably, even on modern ia32
systems.

Thanks Sonic for making me investigate this.

I expect Mark will pick this up in the next spin of the "dev"
source on oss.sgi.com.

Attachment: pdu.patch
Description: pdu.patch

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