=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/file/Attic/magic.c,v retrieving revision 1.2 retrieving revision 1.3 diff -c -r1.2 -r1.3 *** src/usr.bin/file/Attic/magic.c 2004/05/19 02:36:26 1.2 --- src/usr.bin/file/Attic/magic.c 2007/07/09 16:39:48 1.3 *************** *** 1,4 **** ! /* $OpenBSD: magic.c,v 1.2 2004/05/19 02:36:26 tedu Exp $ */ /* * Copyright (c) Christos Zoulas 2003. * All Rights Reserved. --- 1,4 ---- ! /* $OpenBSD: magic.c,v 1.3 2007/07/09 16:39:48 dim Exp $ */ /* * Copyright (c) Christos Zoulas 2003. * All Rights Reserved. *************** *** 66,72 **** #include "patchlevel.h" #ifndef lint ! FILE_RCSID("@(#)$Id: magic.c,v 1.2 2004/05/19 02:36:26 tedu Exp $") #endif /* lint */ #ifdef __EMX__ --- 66,72 ---- #include "patchlevel.h" #ifndef lint ! FILE_RCSID("@(#)$Id: magic.c,v 1.3 2007/07/09 16:39:48 dim Exp $") #endif /* lint */ #ifdef __EMX__ *************** *** 93,100 **** return NULL; } ! ms->o.ptr = ms->o.buf = malloc(ms->o.size = 1024); ! ms->o.len = 0; if (ms->o.buf == NULL) { free(ms); return NULL; --- 93,99 ---- return NULL; } ! ms->o.ptr = ms->o.buf = malloc(ms->o.left = ms->o.size = 1024); if (ms->o.buf == NULL) { free(ms); return NULL;