*** empty log message ***
This commit is contained in:
@@ -1,4 +1,7 @@
|
||||
#define DUK /* Modifications by Duk Bekema. */
|
||||
|
||||
/* @(#)anm.c 1.4 */
|
||||
/* $Header$ */
|
||||
/*
|
||||
** print symbol tables for
|
||||
** ACK object files
|
||||
@@ -279,16 +282,24 @@ register FILE *f;
|
||||
case '2':
|
||||
i = getc(f);
|
||||
i |= (getc(f) << 8);
|
||||
#ifndef DUK
|
||||
*((short *)p)++ = i;
|
||||
#else DUK
|
||||
*((short *)p) = i;
|
||||
p += sizeof(short);
|
||||
#endif DUK
|
||||
continue;
|
||||
case '4':
|
||||
l = (long)getc(f);
|
||||
l |= ((long)getc(f) << 8);
|
||||
l |= ((long)getc(f) << 16);
|
||||
l |= ((long)getc(f) << 24);
|
||||
#ifndef DUK
|
||||
*((long *)p)++ = l;
|
||||
#else DUK
|
||||
*((long *)p) = l;
|
||||
p += sizeof(long);
|
||||
#endif DUK
|
||||
continue;
|
||||
default:
|
||||
case '\0':
|
||||
|
||||
Reference in New Issue
Block a user