IsBad*Ptr patch

Christopher Faylor cgf@redhat.com
Wed Aug 7 14:29:00 GMT 2002


On Wed, Aug 07, 2002 at 10:16:40PM +0100, Conrad Scott wrote:
>What I meant to say was that the recvmsg(2) and sendmsg(2)
>functions, which are just slightly generalised versions of the
>sendto(2) and recvfrom(2) functions I was discussing, take a
>msghdr struct that contains a `socklen_t *' and a `sockaddr *',
>and in some of the code examples in the Stevens book, he simply
>puts a NULL in the `sockaddr *' and leaves the `socklen_t *' to
>fend for itself.

Wow.  So he treats it as a varargs function.  Interesting.
>> Doh! Answering technical email with a splitting headache during
>> meetings.  Always a sure way to embarrass myself.
>
>Well, that makes two of us w/ headaches this afternoon.  Then
>again, I was just posting out what I'd already written this
>morning, so my disability wasn't so obvious.  Hope both your
>headache and your meeting have passed away by now.

Nah. The headache started at around 6AM, waking me up and it doesn't
seem to want to leave.  That's pretty standard for me.

*bzzt*  Sorry.

>Perhaps I ought to leave it until tomorrow in that case, to give
>Corinna a chance to savour the discussion and veto the patch if
>necessary.

Ok.

At the very least, the removal of const is ok, assuming you can
remove that and not affect the Corinna parts.

cgf



More information about the Cygwin-patches mailing list