]> pilppa.org Git - familiar-h63xx-build.git/blob - org.handhelds.familiar/packages/glibc/glibc-2.3.2/revert-old-libio.patch
OE tree imported from monotone branch org.openembedded.oz354fam083 at revision 8b12e3...
[familiar-h63xx-build.git] / org.handhelds.familiar / packages / glibc / glibc-2.3.2 / revert-old-libio.patch
1 --- libio/genops.c      7 May 2003 03:46:09 -0000       1.61
2 +++ libio/genops.c      8 Jan 2003 06:38:52 -0000       1.60
3 @@ -602,9 +602,12 @@
4  INTDEF(_IO_init)
5  
6  void
7 -_IO_old_init (fp, flags)
8 +_IO_no_init (fp, flags, orientation, wd, jmp)
9       _IO_FILE *fp;
10       int flags;
11 +     int orientation;
12 +     struct _IO_wide_data *wd;
13 +     struct _IO_jump_t *jmp;
14  {
15    fp->_flags = _IO_MAGIC|flags;
16    fp->_flags2 = 0;
17 @@ -630,17 +633,6 @@
18    if (fp->_lock != NULL)
19      _IO_lock_init (*fp->_lock);
20  #endif
21 -}
22 -
23 -void
24 -_IO_no_init (fp, flags, orientation, wd, jmp)
25 -     _IO_FILE *fp;
26 -     int flags;
27 -     int orientation;
28 -     struct _IO_wide_data *wd;
29 -     struct _IO_jump_t *jmp;
30 -{
31 -  _IO_old_init (fp, flags);
32    fp->_mode = orientation;
33  #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
34    if (orientation >= 0)
35 --- libio/libioP.h      7 May 2003 03:46:43 -0000       1.66
36 +++ libio/libioP.h      27 Mar 2003 11:53:59 -0000      1.65
37 @@ -479,7 +479,6 @@
38  extern int _IO_old_fgetpos64 __P ((_IO_FILE *, _IO_fpos64_t *));
39  extern int _IO_new_fsetpos64 __P ((_IO_FILE *, const _IO_fpos64_t *));
40  extern int _IO_old_fsetpos64 __P ((_IO_FILE *, const _IO_fpos64_t *));
41 -extern void _IO_old_init __P ((_IO_FILE *fp, int flags));
42  
43  
44  #if defined _LIBC || defined _GLIBCPP_USE_WCHAR_T
45 --- libio/oldiofdopen.c 7 May 2003 03:47:43 -0000       1.8
46 +++ libio/oldiofdopen.c 26 Feb 2002 01:43:50 -0000      1.7
47 @@ -1,4 +1,4 @@
48 -/* Copyright (C) 1993,94,97,99,2000,2002,2003 Free Software Foundation, Inc.
49 +/* Copyright (C) 1993,94,97,99,2000,2002 Free Software Foundation, Inc.
50     This file is part of the GNU C Library.
51  
52     The GNU C Library is free software; you can redistribute it and/or
53 @@ -114,7 +114,7 @@
54  #ifdef _IO_MTSAFE_IO
55    new_f->fp.file._lock = &new_f->lock;
56  #endif
57 -  _IO_old_init (&new_f->fp.file, 0);
58 +  INTUSE(_IO_init) (&new_f->fp.file, 0);
59    _IO_JUMPS (&new_f->fp) = &_IO_old_file_jumps;
60    _IO_old_file_init (&new_f->fp);
61  #if  !_IO_UNIFIED_JUMPTABLES
62 --- libio/oldiofopen.c  7 May 2003 03:47:09 -0000       1.11
63 +++ libio/oldiofopen.c  26 Feb 2002 01:43:50 -0000      1.10
64 @@ -1,4 +1,4 @@
65 -/* Copyright (C) 1993,1997,1999,2000,2002,2003 Free Software Foundation, Inc.
66 +/* Copyright (C) 1993, 1997, 1999, 2000, 2002 Free Software Foundation, Inc.
67     This file is part of the GNU C Library.
68  
69     The GNU C Library is free software; you can redistribute it and/or
70 @@ -53,7 +53,7 @@
71  #ifdef _IO_MTSAFE_IO
72    new_f->fp.file._lock = &new_f->lock;
73  #endif
74 -  _IO_old_init (&new_f->fp.file, 0);
75 +  INTUSE(_IO_init) (&new_f->fp.file, 0);
76    _IO_JUMPS (&new_f->fp) = &_IO_old_file_jumps;
77    _IO_old_file_init (&new_f->fp);
78  #if  !_IO_UNIFIED_JUMPTABLES