public inbox for libc-hacker@sourceware.org
 help / color / mirror / Atom feed
From: Ulrich Drepper <drepper@redhat.com>
To: Andreas Jaeger <aj@suse.de>
Cc: Glibc hackers <libc-hacker@sources.redhat.com>
Subject: Re: [BZ #2078, 2079] Fix some wide functions
Date: Sun, 15 Jan 2006 17:40:00 -0000	[thread overview]
Message-ID: <43CA894B.7000903@redhat.com> (raw)
In-Reply-To: <m3k6d1o3pl.fsf@gromit.moeb>

[-- Attachment #1: Type: text/plain, Size: 948 bytes --]

Andreas Jaeger wrote:
> Index: libio/wfileops.c
> --- libio/wfileops.c	14 Jan 2004 18:40:03 -0000	1.29
> +++ libio/wfileops.c	15 Jan 2006 16:08:16 -0000
> @@ -1,4 +1,4 @@
> -/* Copyright (C) 1993,1995,1997-2003,2004 Free Software Foundation, Inc.
> +/* Copyright (C) 1993,1995,1997-2003,2004, 2006 Free Software Foundation, Inc.
>     This file is part of the GNU C Library.
>     Written by Ulrich Drepper <drepper@cygnus.com>.
>     Based on the single byte version by Per Bothner <bothner@cygnus.com>.
> @@ -69,7 +69,7 @@ _IO_wdo_write (fp, data, to_do)
>  	{
>  	  if (_IO_new_do_write (fp, fp->_IO_write_base,
>  				fp->_IO_write_ptr - fp->_IO_write_base) == EOF)
> -	    return EOF;
> +	    return WEOF;

As far as fixing this specific kind of mistake, the patch is fine.  But
there is something fishy in the use of _IO_wdo_write.

-- 
➧ Ulrich Drepper ➧ Red Hat, Inc. ➧ 444 Castro St ➧ Mountain View, CA ❖


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 251 bytes --]

  reply	other threads:[~2006-01-15 17:40 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-01-15 16:28 Andreas Jaeger
2006-01-15 17:40 ` Ulrich Drepper [this message]
2006-01-15 17:44   ` Andreas Jaeger

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=43CA894B.7000903@redhat.com \
    --to=drepper@redhat.com \
    --cc=aj@suse.de \
    --cc=libc-hacker@sources.redhat.com \
    /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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).