This is the mail archive of the
libc-alpha@cygnus.com
mailing list for the glibc project.
Re: Fwd: Bug#34953: Possible fix for this problem
- To: Andreas Jaeger <aj@arthur.rhein-neckar.de>, Andreas Schwab <schwab@issan.cs.uni-dortmund.de>
- Subject: Re: Fwd: Bug#34953: Possible fix for this problem
- From: Joel Klecker <jk@espy.org>
- Date: Sat, 27 Mar 1999 08:56:52 -0800
- Cc: libc-alpha@cygnus.com, 34953-forwarded@bugs.debian.org
- References: Joel Klecker's message of "Thu, 25 Mar 1999 06:48:58 -0800"<v04104813b31ffb3d37ec@[206.163.71.146]>
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>