public inbox for ltp@lists.linux.it
 help / color / mirror / Atom feed
From: Mike Frysinger <vapier@gentoo.org>
To: ltp-list@lists.sourceforge.net
Cc: Markos Chandras <Markos.Chandras@imgtec.com>
Subject: Re: [LTP] [PATCH 18/21] network/lib6/asapi_06: pcmsg->cmsg_len is of type size_t
Date: Tue, 3 Jan 2012 15:36:32 -0500	[thread overview]
Message-ID: <201201031536.33830.vapier@gentoo.org> (raw)
In-Reply-To: <CAGH67wS6fUzsZS2AjEtCJVkJXTYM8==1wfSaT=G63wfdw-etVw@mail.gmail.com>


[-- Attachment #1.1: Type: Text/Plain, Size: 596 bytes --]

On Tuesday 03 January 2012 14:33:05 Garrett Cooper wrote:
> On Tue, Jan 3, 2012 at 5:23 AM, Markos Chandras
> 
> <Markos.Chandras@imgtec.com> wrote:
> > Hi, please review the attached patch
> 
>     This is ok. While the stance here has been to follow the PRI*
> style format string qualifiers, this works and is pseudo standard
> across BSD, Linux, and probably a few other printf(3) implementations.

the PRI* stuff is for explicitly sized types (e.g. 8bit/16bit/32bit/64bit).  it 
is not for [s]size_t types ... that's what the "z" length field of printf is 
designed for.
-mike

[-- Attachment #1.2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 836 bytes --]

[-- Attachment #2: Type: text/plain, Size: 355 bytes --]

------------------------------------------------------------------------------
Write once. Port to many.
Get the SDK and tools to simplify cross-platform app development. Create 
new or port existing apps to sell to consumers worldwide. Explore the 
Intel AppUpSM program developer opportunity. appdeveloper.intel.com/join
http://p.sf.net/sfu/intel-appdev

[-- Attachment #3: Type: text/plain, Size: 155 bytes --]

_______________________________________________
Ltp-list mailing list
Ltp-list@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/ltp-list

      reply	other threads:[~2012-01-03 20:36 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-01-03 13:23 [LTP] [PATCH 18/21] network/lib6/asapi_06: pcmsg->cmsg_len is of type size_t Markos Chandras
2012-01-03 19:33 ` Garrett Cooper
2012-01-03 20:36   ` Mike Frysinger [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=201201031536.33830.vapier@gentoo.org \
    --to=vapier@gentoo.org \
    --cc=Markos.Chandras@imgtec.com \
    --cc=ltp-list@lists.sourceforge.net \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox