Re: [cc65] return vs. exit()

From: Ullrich von Bassewitz <uz1musoftware.de>
Date: 2009-10-20 10:15:56
Hi!

On Tue, Oct 20, 2009 at 12:02:02AM +0200, silverdr@wfmh.org.pl wrote:
> Seems that either the zap doesn't zap everything or something?
>
> silverdr$ diff -qry cc65/libsrc/ cc65_r4372/libsrc/
> [...]
> Only in cc65/libsrc/cbm: systime.o
> [...]

Ok. At some point, a systime module has been in cbm/, but it is no longer. So
what happened is that you got a new version via svn, and this new version
changed the location of the systime module. Since there is no longer a
systime.s file in cbm/, doing "make zap" won't remove the corresponding object
file. So you have the old object file around, which may cause problems.

You should remove object files about which the archiver is complaining
manually. Otherwise you may get into trouble, because these old files do not
match code in other, newer modules. Your applications may show strange errors,
crash or whatever.

> So permissions seem to be fine. Sure I can remove them manually but I
> thought clean (or zap) would remove them.. no idea what prevented this
> but no more checking for tonight.

"make zap" does only remove files it knows about. I've lost data several times
because people wrote software that removed anything it didn't know about ("it
doesn't belong to me, so delete it"), so the library makefile will not do
that.

Regards


        Uz


-- 
Ullrich von Bassewitz                                  uz@musoftware.de
----------------------------------------------------------------------
To unsubscribe from the list send mail to majordomo@musoftware.de with
the string "unsubscribe cc65" in the body(!) of the mail.
Received on Tue Oct 20 10:17:00 2009

This archive was generated by hypermail 2.1.8 : 2009-10-20 10:17:02 CEST