[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [bug-recutils] Your git repository for recutils
From: |
Jose E. Marchesi |
Subject: |
Re: [bug-recutils] Your git repository for recutils |
Date: |
Tue, 29 May 2012 20:58:44 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.0.92 (gnu/linux) |
> +size_t
> +rec_parser_tell (rec_parser_t parser)
> +{
> + if (parser->in_file)
> + {
> + return ftell (parser->in_file);
> + }
>
> That won't work. ftell returns a signed value. If it is -1 it means
> there was an error. rec_parser_tell returns size_t, which is unsigned.
Changed to use long like ftell does. Fixed similar problems in other
places. The new changes are in the seekable-parsers branch of the
git://elderthing.mtjm.eu/mtjm-recutils.git repo.
I just reviewed and merged that branch in the master branch in
recutils.git.
Thanks :)
--
Jose E. Marchesi http://www.jemarch.net
GNU Project http://www.gnu.org