gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[sr #107521] Lint encountered during compile


From: Jeffrey Walton
Subject: [sr #107521] Lint encountered during compile
Date: Wed, 17 Nov 2010 07:24:35 +0000
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.12) Gecko/20101027 Ubuntu/10.04 (lucid) Firefox/3.6.12

Follow-up Comment #3, sr #107521 (project gnutls):

> For the signed/unsigned pointers, I would introduce a
> gnutls byte or octet that was typedf'd as an unsigned
> char. typedef'ing would step away from signed/unsigned
> chars, which is conceptually consistent with operating
> on the data bytes or data octets.

> With the byte_t or octet_t in place, data which is truly
> a char* would be operated upon by str* functions, while
> data which is a byte_t* or octet_t* would manipulated
> with the mem* functions. 
Yikes! I'm slipping in my old age. That should be: "...would be operated upon
by SAFE str* functions",

Jeff

    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/support/?107521>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]