cvsuser 04/02/22 13:06:54
Modified: src packfile.c
Log:
report mismatched magic
Revision Changes Path
1.139 +1 -3 parrot/src/packfile.c
Index: packfile.c
===================================================================
RCS file: /cvs/public/parrot/src/packfile.c,v
retrieving revision 1.138
retrieving revision 1.139
diff -u -w -r1.138 -r1.139
--- packfile.c 20 Feb 2004 13:33:05 -0000 1.138
+++ packfile.c 22 Feb 2004 21:06:54 -0000 1.139
@@ -2,7 +2,7 @@
Copyright (C) 2001-2002 Gregor N. Purdy. All rights reserved.
This program is free software. It is subject to the same license as
Parrot itself.
-$Id: packfile.c,v 1.138 2004/02/20 13:33:05 leo Exp $
+$Id: packfile.c,v 1.139 2004/02/22 21:06:54 leo Exp $
=head1 NAME
@@ -507,10 +507,8 @@
*/
if (header->magic != PARROT_MAGIC) {
PIO_eprintf(NULL, "PackFile_unpack: Not a Parrot PackFile!\n");
-#if TRACE_PACKFILE
PIO_eprintf(NULL, "Magic number was [%x] not [%x]\n",
header->magic, PARROT_MAGIC);
-#endif
return 0;
}