Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 21 Nov 2009 09:30:06 GMT
From:      Paul Procacci <pprocacci@datapipe.com>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: kern/140690: [libc] [patch] swab(3) with negative len should do nothing
Message-ID:  <200911210930.nAL9U69O006416@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR kern/140690; it has been noted by GNATS.

From: Paul Procacci <pprocacci@datapipe.com>
To: <bug-followup@FreeBSD.org>, <jeremyhu@apple.com>
Cc:  
Subject: Re: kern/140690: [libc] [patch] swab(3) with negative len should
 do nothing
Date: Sat, 21 Nov 2009 03:18:48 -0600

 I'd like to add to this.
 
 As for the length argument.  Is there really ever a time it would have
 to be signed?
 
 If not, then I would suggest declaring the type as size_t and not
 ssize_t much like the read/write/etc syscalls.
 
 ~Paul
 
 This message may contain confidential or privileged information.  If you ar=
 e not the intended recipient, please advise us immediately and delete this =
 message.  See http://www.datapipe.com/emaildisclaimer.aspx for further info=
 rmation on confidentiality and the risks of non-secure electronic communica=
 tion. If you cannot access these links, please notify us by reply message a=
 nd we will send the contents to you.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200911210930.nAL9U69O006416>