mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
Update 2006-01-15 Andreas Jaeger <aj@suse.de> [BZ #2079] * libio/fputwc_u.c (fputwc_unlocked): Fix return value. * libio/getwc_u.c (__getwc_unlocked): Likewise. * libio/wfileops.c (_IO_wdo_write): Likewise. [BZ #2078] * libio/fputwc.c (fputwc): Use proper type for result. * libio/ioungetwc.c (ungetwc): Likewise.
This commit is contained in:
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 1993,1996,1997,1998,1999,2003 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 1993,1996,1997,1998,1999,2003, 2006 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -33,7 +33,7 @@ fputwc (wc, fp)
|
||||
wchar_t wc;
|
||||
_IO_FILE *fp;
|
||||
{
|
||||
int result;
|
||||
wint_t result;
|
||||
CHECK_FILE (fp, EOF);
|
||||
_IO_acquire_lock (fp);
|
||||
if (_IO_fwide (fp, 1) < 0)
|
||||
|
Reference in New Issue
Block a user