From: Christos Zoulas Date: Sun, 25 Mar 2007 21:46:52 +0000 (+0000) Subject: mention recent changes X-Git-Tag: FILE5_05~628 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ffe9149da81fa0c1f06cb394477cbd2630b2947;p=file mention recent changes --- diff --git a/ChangeLog b/ChangeLog index 89f7a563..4dcfe850 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,11 @@ +2007-03-25 17:44 Christos Zoulas + + * reset left bytes in the buffer (Dmitry V. Levin) + + * compilation failed with COMPILE_ONLY and ENABLE_CONDITIONALS + (Peter Avalos) + 2007-03-15 10:51 Christos Zoulas * fix fortran and nroff reversed tests (Dmitry V. Levin) diff --git a/src/funcs.c b/src/funcs.c index f65bd453..7da60e47 100644 --- a/src/funcs.c +++ b/src/funcs.c @@ -39,7 +39,7 @@ #endif #ifndef lint -FILE_RCSID("@(#)$File: funcs.c,v 1.29 2007/03/25 03:13:47 christos Exp $") +FILE_RCSID("@(#)$File: funcs.c,v 1.30 2007/03/25 21:46:52 christos Exp $") #endif /* lint */ #ifndef HAVE_VSNPRINTF @@ -219,6 +219,7 @@ file_reset(struct magic_set *ms) return -1; } ms->o.ptr = ms->o.buf; + ms->o.left = ms->o.size; ms->haderr = 0; ms->error = -1; return 0;