]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Fix typos in last patch.
authorUlrich Drepper <drepper@redhat.com>
Fri, 4 Aug 2000 03:03:12 +0000 (03:03 +0000)
committerUlrich Drepper <drepper@redhat.com>
Fri, 4 Aug 2000 03:03:12 +0000 (03:03 +0000)
libio/iofclose.c
libio/wfileops.c

index e13a2a3ae9f6c131d34b4e1d99b5a6f166859f5d..04da39584142fed7e279ed1d489e1be1daef3318 100644 (file)
@@ -61,7 +61,7 @@ _IO_new_fclose (fp)
 #if _LIBC
       /* This stream has a wide orientation.  This means we have to free
         the conversion functions.  */
-      struct _IO_codecvt *cc = &fp->_codecvt;
+      struct _IO_codecvt *cc = fp->_codecvt;
 
       if (cc->__cd_in.__cd.__steps->__shlib_handle != NULL)
        {
index 9fa91f03998e2ec3391b35be3ccf54da65e0ece1..775690ef27a350b6dd588e00181dabac16c8e27e 100644 (file)
@@ -59,7 +59,7 @@ _IO_wdo_write (fp, data, to_do)
      const wchar_t *data;
      _IO_size_t to_do;
 {
-  struct _IO_codecvt *cc = &fp->_codecvt;
+  struct _IO_codecvt *cc = fp->_codecvt;
 
   if (to_do > 0)
     {
@@ -133,7 +133,7 @@ _IO_wfile_underflow (fp)
   if (fp->_wide_data->_IO_read_ptr < fp->_wide_data->_IO_read_end)
     return *fp->_wide_data->_IO_read_ptr;
 
-  cd = &fp->_codecvt;
+  cd = fp->_codecvt;
 
   /* Maybe there is something left in the external buffer.  */
   if (fp->_IO_read_ptr < fp->_IO_read_end)
@@ -362,7 +362,7 @@ _IO_wfile_sync (fp)
     {
       /* We have to find out how many bytes we have to go back in the
         external buffer.  */
-      struct _IO_codecvt *cv = &fp->_codecvt;
+      struct _IO_codecvt *cv = fp->_codecvt;
       _IO_off64_t new_pos;
 
       int clen = (*cv->__codecvt_do_encoding) (cv);
@@ -466,7 +466,7 @@ _IO_wfile_seekoff (fp, offset, dir, mode)
       /* Adjust for read-ahead (bytes is buffer).  To do this we must
          find out which position in the external buffer corresponds to
          the current position in the internal buffer.  */
-      cv = &fp->_codecvt;
+      cv = fp->_codecvt;
       clen = (*cv->__codecvt_do_encoding) (cv);
 
       if (clen > 0)