This is the mail archive of the libc-alpha@cygnus.com mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Fwd: Bug#34953: Possible fix for this problem


At 17:12 +0100 1999-03-27, Andreas Jaeger wrote:
>Hi Andreas,
>
>should the changes you checked in yesterday fix the problems reported
>as Debian bugs #34953 and #35023?
>
>Andreas
>
>1999-03-26  Andreas Schwab  <schwab@issan.cs.uni-dortmund.de>
>
>        * libio/oldiofdopen.c (_IO_old_fdopen): Bring over recent changes
>        in iofdopen.c.
>        * libio/oldiofopen.c (_IO_old_fopen): Bring over recent changes in
>        iofopen.c.
>        * libio/oldiofclose.c (_IO_old_fclose): Bring over recent changes
>        in iofclose.c.
>        * libio/oldfileops.c (_IO_old_file_underflow, _IO_old_file_sync,
>        _IO_old_file_seekoff): Bring over recent changes in fileops.c.

Here is the patch I have, which was found to correct at least the elm breakage:

1999-03-25  Adam Heath <doogie@debian.org>
            Richard Braakman <dark@debian.org>
        * libio/oldfileops.c: changed delta to signed type, instead of
          unsigend.

--- glibc-2.1.1.orig/libio/oldfileops.c	Wed Mar 24 19:26:00 1999
+++ glibc-2.1.1/libio/oldfileops.c	Wed Mar 24 19:25:11 1999
@@ -408,7 +408,7 @@
 _IO_old_file_sync (fp)
      _IO_FILE *fp;
 {
-  _IO_size_t delta;
+  _IO_ssize_t delta;
   int retval = 0;

   _IO_cleanup_region_start ((void (*) __P ((void *))) _IO_funlockfile, fp);

The CVS libio/oldfileops.c now has the following code in that area:

[ ... ]
_IO_old_file_sync (fp)
     _IO_FILE *fp;
{
  _IO_ssize_t delta;
  int retval = 0;
[ ... ]
--
Joel Klecker (aka Espy)                     <URL:http://web.espy.org/>
<URL:mailto:jk@espy.org>                  <URL:mailto:espy@debian.org>


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]