Do you trust the "indent" program?

Alan J Rosenthal flaps at dgp.toronto.edu
Sat Dec 29 14:05:27 AEST 1990


arnold at audiofax.com (Arnold Robbins) writes:
>Andrew is fortunate enough to be running on a Unix system that doesn't
>use COFF for it's object files --- COFF files have a timestamp in them.
>If you know where it is (I don't) ...

sigh..
just cmp -l the files.  if more than a few bytes are different, they're
different, otherwise it's the timestamps.  I've done this, works fine.
of course just compiling a program twice & "cmp -l" ing it will show you where
the bytes are.  and there's always /usr/include/a.out.h.  no problem.



More information about the Comp.lang.c mailing list