]> granicus.if.org Git - file/commitdiff
mention recent changes
authorChristos Zoulas <christos@zoulas.com>
Sun, 25 Mar 2007 21:46:52 +0000 (21:46 +0000)
committerChristos Zoulas <christos@zoulas.com>
Sun, 25 Mar 2007 21:46:52 +0000 (21:46 +0000)
ChangeLog
src/funcs.c

index 89f7a563483ba5106d056e2025133a8ee054d91f..4dcfe85047923ac24afd3a2988be2d399f7f1d7c 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,4 +1,11 @@
 
+2007-03-25 17:44 Christos Zoulas <christos@zoulas.com>
+
+       * 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 <christos@zoulas.com>
 
        * fix fortran and nroff reversed tests (Dmitry V. Levin)
index 95e7dadda3901d073a9ad1cdaa7be00e484c8f78..118603b566df360889117232b219853edf4e23d2 100644 (file)
@@ -39,7 +39,7 @@
 #endif
 
 #ifndef        lint
-FILE_RCSID("@(#)$File: funcs.c,v 1.28 2007/03/01 22:14:54 christos Exp $")
+FILE_RCSID("@(#)$File: funcs.c,v 1.29 2007/03/25 03:13:47 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;