All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Michael Kerrisk (man-pages)" <mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org>
To: saulery-GANU6spQydw@public.gmane.org
Cc: mtk.manpages-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org,
	linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
Subject: Re: [patch] Clarified incompatibility and correct usage of XDR API
Date: Thu, 26 Feb 2015 08:48:48 +0100	[thread overview]
Message-ID: <54EECFE0.9090104@gmail.com> (raw)
In-Reply-To: <1424802007-14827-1-git-send-email-saulery-GANU6spQydw@public.gmane.org>


On 02/24/2015 07:20 PM, saulery-GANU6spQydw@public.gmane.org wrote:
> From: Stéphane Aulery <saulery-GANU6spQydw@public.gmane.org>
> 
> Debian Bug #628099
> Report and patch of Taisuke Yamada <tai-f4p32tzkXghg9hUCZPvPmw@public.gmane.org>

Thanks, Stéphane. Applied.

Cheers,

Michael


> Signed-off-by: Stéphane Aulery <saulery-GANU6spQydw@public.gmane.org>
> ---
>  man3/xdr.3 | 8 +++++---
>  1 file changed, 5 insertions(+), 3 deletions(-)
> 
> diff --git a/man3/xdr.3 b/man3/xdr.3
> index 8f931db..f4bb3e9 100644
> --- a/man3/xdr.3
> +++ b/man3/xdr.3
> @@ -291,9 +291,11 @@ Note: the XDR stream's
>  .I op
>  field must be set by the caller.
>  .IP
> -Warning: this XDR stream implements an intermediate record stream.
> -Therefore there are additional bytes in the stream
> -to provide record boundary information.
> +Warning: To read from XDR stream created by this API, you'll need to
> +call xdrrec_skiprecord(3) first before calling any other XDR APIs.
> +This is because this inserts additional bytes in the stream to provide
> +record boundary information. Also, XDR streams created with different
> +xdr*_create APIs are not compatible for the same reason.
>  .LP
>  .nf
>  .BI "bool_t xdrrec_endofrecord(XDR *" xdrs ", int " sendnow );
> 


-- 
Michael Kerrisk
Linux man-pages maintainer; http://www.kernel.org/doc/man-pages/
Linux/UNIX System Programming Training: http://man7.org/training/
--
To unsubscribe from this list: send the line "unsubscribe linux-man" in
the body of a message to majordomo-u79uwXL29TY76Z2rM5mHXA@public.gmane.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

      parent reply	other threads:[~2015-02-26  7:48 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-02-24 18:20 [patch] Clarified incompatibility and correct usage of XDR API saulery-GANU6spQydw
     [not found] ` <1424802007-14827-1-git-send-email-saulery-GANU6spQydw@public.gmane.org>
2015-02-26  7:48   ` Michael Kerrisk (man-pages) [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=54EECFE0.9090104@gmail.com \
    --to=mtk.manpages-re5jqeeqqe8avxtiumwx3w@public.gmane.org \
    --cc=linux-man-u79uwXL29TY76Z2rM5mHXA@public.gmane.org \
    --cc=saulery-GANU6spQydw@public.gmane.org \
    /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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.