Changeset 45f3285 in rtems


Ignore:
Timestamp:
Dec 12, 2008, 10:04:07 AM (11 years ago)
Author:
Ralf Corsepius <ralf.corsepius@…>
Branches:
4.10, 4.11, master
Children:
0e35de9
Parents:
0d0dc2bd
Message:

Fix broken info.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • contrib/crossrpms/patches/newlib-1.16.0.cvs.20081212-rtems4.10-20081212.diff

    r0d0dc2bd r45f3285  
    222222-
    223223-#endif
     224diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/libc/stdio/fputws.c newlib-1.16.0/newlib/libc/stdio/fputws.c
     225--- newlib-1.16.0.orig/newlib/libc/stdio/fputws.c       2008-12-11 00:43:12.000000000 +0100
     226+++ newlib-1.16.0/newlib/libc/stdio/fputws.c    2008-12-12 10:47:39.000000000 +0100
     227@@ -26,7 +26,7 @@
     228 
     229 /*
     230 FUNCTION       
     231-<<fputs>>---write a wide character string in a file or stream
     232+<<fputws>>---write a wide character string in a file or stream
     233 
     234 INDEX
     235        fputws   
     236diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/libc/stdio/getwc.c newlib-1.16.0/newlib/libc/stdio/getwc.c
     237--- newlib-1.16.0.orig/newlib/libc/stdio/getwc.c        2008-12-11 00:43:12.000000000 +0100
     238+++ newlib-1.16.0/newlib/libc/stdio/getwc.c     2008-12-12 10:47:39.000000000 +0100
     239@@ -24,6 +24,53 @@
     240  * SUCH DAMAGE.
     241  */
     242 
     243+/*
     244+FUNCTION
     245+<<getwc>>---read a character
     246+
     247+INDEX
     248+       getwc
     249+INDEX
     250+       _getwc_r
     251+
     252+ANSI_SYNOPSIS
     253+       #include <wchar.h>
     254+       wchar_t getwc(FILE *<[fp]>);
     255+
     256+       #include <wchar.h>
     257+       wchar_t _getwc_r(struct _reent *<[ptr]>, FILE *<[fp]>);
     258+
     259+TRAD_SYNOPSIS
     260+       #include <wchar.h>
     261+       wchar_t getwc(<[fp]>)
     262+       FILE *<[fp]>;
     263+
     264+       #include <wchar.h>
     265+       wchar_t _getwc_r(<[ptr]>, <[fp]>)
     266+       struct _reent *<[ptr]>;
     267+       FILE *<[fp]>;
     268+
     269+DESCRIPTION
     270+The <<getwc>> function or macro is the wide-character equivalent of
     271+the <<getc>> function. You can use <<getwc>> to get the next
     272+wide character from the file or stream identified by <[fp]>.  As a
     273+side effect, <<getwc>> advances the file's current position indicator.
     274+
     275+The alternate function <<_getwc_r>> is a reentrant version.  The
     276+extra argument <[reent]> is a pointer to a reentrancy structure.
     277+
     278+RETURNS
     279+The next character cast to <<wint_t>>, unless there is no more
     280+data, or the host system reports a read error; in either of these
     281+situations, <<getc>> returns <<WEOF>>.
     282+
     283+You can distinguish the two situations that cause an <<EOF>> result by
     284+using the <<ferror>> and <<feof>> functions.
     285+
     286+PORTABILITY
     287+C99
     288+*/
     289+
     290 #include <_ansi.h>
     291 #include <reent.h>
     292 #include <stdio.h>
     293diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/libc/stdio/getwchar.c newlib-1.16.0/newlib/libc/stdio/getwchar.c
     294--- newlib-1.16.0.orig/newlib/libc/stdio/getwchar.c     2008-12-11 00:43:12.000000000 +0100
     295+++ newlib-1.16.0/newlib/libc/stdio/getwchar.c  2008-12-12 10:47:39.000000000 +0100
     296@@ -56,11 +56,11 @@
     297 extra argument <[reent]> is a pointer to a reentrancy structure.
     298 
     299 RETURNS
     300-The next wide character cast to <<wint_t>>), unless there is no more
     301+The next wide character cast to <<wint_t>>, unless there is no more
     302 data, or the host system reports a read error; in either of these
     303-situations, <<getwchar>> returns <<EOF>>.
     304+situations, <<getwchar>> returns <<WEOF>>.
     305 
     306-You can distinguish the two situations that cause an <<EOF>> result by
     307+You can distinguish the two situations that cause an <<WEOF>> result by
     308 using `<<ferror(stdin)>>' and `<<feof(stdin)>>'.
     309 
     310 PORTABILITY
     311diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/libc/stdio/putwc.c newlib-1.16.0/newlib/libc/stdio/putwc.c
     312--- newlib-1.16.0.orig/newlib/libc/stdio/putwc.c        2008-12-11 00:43:12.000000000 +0100
     313+++ newlib-1.16.0/newlib/libc/stdio/putwc.c     2008-12-12 10:48:53.000000000 +0100
     314@@ -24,6 +24,52 @@
     315  * SUCH DAMAGE.
     316  */
     317 
     318+/*
     319+FUNCTION
     320+<<putwc>>---write a wide character
     321+
     322+INDEX
     323+       putwc
     324+INDEX
     325+       _putwc_r
     326+
     327+ANSI_SYNOPSIS
     328+       #include <wchar.h>
     329+       wchar_t putwc(wchar_t <[wc]>, FILE *<[fp]>);
     330+
     331+       #include <wchar.h>
     332+       wchar_t _putwc_r(struct _reent *<[ptr]>, wchar_t <[wc]>, FILE *<[fp]>);
     333+
     334+TRAD_SYNOPSIS
     335+       #include <wchar.h>
     336+       wchar_t putwc(<[wc]>, <[fp]>)
     337+       wchar_t <[wc]>;
     338+       FILE *<[fp]>;
     339+
     340+       #include <stdio.h>
     341+       wchar_t _putwc_r(<[ptr]>, <[wc]>, <[fp]>)
     342+       struct _reent *<[ptr]>;
     343+       wchar_t <[wc]>;
     344+       FILE *<[fp]>;
     345+
     346+
     347+DESCRIPTION
     348+The <<putwc>> function or macro is the wide-character equivalent of
     349+the <<putc>> function. It writes the wide-character wc to the file or
     350+stream identified by <[fp]>.
     351+
     352+The alternate function <<_putwc_r>> is a reentrant version.  The
     353+extra argument <[reent]> is a pointer to a reentrancy structure.
     354+
     355+RETURNS
     356+If successful, <<putwc>> returns its argument <[wc]>.  If an error
     357+intervenes, the result is <<WEOF>>.  You can use `<<ferror(<[fp]>)>>' to
     358+query for errors.
     359+
     360+PORTABILITY
     361+C99
     362+*/
     363+
     364 #include <_ansi.h>
     365 #include <reent.h>
     366 #include <stdio.h>
     367diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/libc/stdio/putwchar.c newlib-1.16.0/newlib/libc/stdio/putwchar.c
     368--- newlib-1.16.0.orig/newlib/libc/stdio/putwchar.c     2008-12-11 00:43:12.000000000 +0100
     369+++ newlib-1.16.0/newlib/libc/stdio/putwchar.c  2008-12-12 10:47:39.000000000 +0100
     370@@ -49,7 +49,7 @@
     371        wchar_t <[wc]>;
     372 
     373 DESCRIPTION
     374-The <<putwchar(>> function or macro is the wide-character equivalent of
     375+The <<putwchar>> function or macro is the wide-character equivalent of
     376 the <<putchar>> function. It writes the wide character wc to stdout.
     377 
     378 The alternate function <<_putwchar_r>> is a reentrant version.  The
     379diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/libc/stdio/stdio.tex newlib-1.16.0/newlib/libc/stdio/stdio.tex
     380--- newlib-1.16.0.orig/newlib/libc/stdio/stdio.tex      2008-12-12 03:49:40.000000000 +0100
     381+++ newlib-1.16.0/newlib/libc/stdio/stdio.tex   2008-12-12 10:47:39.000000000 +0100
     382@@ -211,6 +211,9 @@
     383 @include stdio/getw.def
     384 
     385 @page
     386+@include stdio/getwc.def
     387+
     388+@page
     389 @include stdio/getwchar.def
     390 
     391 @page
     392@@ -241,6 +244,9 @@
     393 @include stdio/putw.def
     394 
     395 @page
     396+@include stdio/putwc.def
     397+
     398+@page
     399 @include stdio/putwchar.def
     400 
     401 @page
    224402diff -Naur --exclude=CVS --exclude=.cvsignore --exclude='*~' --exclude='.#*' newlib-1.16.0.orig/newlib/libc/sys/rtems/crt0.c newlib-1.16.0/newlib/libc/sys/rtems/crt0.c
    225403--- newlib-1.16.0.orig/newlib/libc/sys/rtems/crt0.c     2005-12-19 08:27:19.000000000 +0100
Note: See TracChangeset for help on using the changeset viewer.