From 75ce40dbe9390cad966c9f7e2e4a9ba4c32d560e Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Mon, 10 Jul 2017 18:23:47 +0100 Subject: [PATCH] [stringbuf.virtuals] Rephrase DR 453 resolution for seekoff This avoids the requirement to compare newoff to zero when the value of newoff hasn't been determined. --- source/iostreams.tex | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/source/iostreams.tex b/source/iostreams.tex index a5a8042e13..8517c2794d 100644 --- a/source/iostreams.tex +++ b/source/iostreams.tex @@ -7675,14 +7675,16 @@ \end{libtab2} \pnum -For a sequence to be positioned, if its next pointer +For a sequence to be positioned, +the function determines \tcode{newoff} as indicated in +Table~\ref{tab:iostreams.newoff.values}. +If the sequence's next pointer (either \tcode{gptr()} or \tcode{pptr()}) -is a null pointer and the new offset \tcode{newoff} is nonzero, the positioning -operation fails. Otherwise, the function determines \tcode{newoff} as indicated in -Table~\ref{tab:iostreams.newoff.values}. +is a null pointer and \tcode{newoff} is nonzero, +the positioning operation fails. \begin{libtab2}{\tcode{newoff} values}{tab:iostreams.newoff.values} {lp{2.0in}}{Condition}{\tcode{newoff} Value}