[futurebasic] Re: [FB] Re: FB incremental backup

Message: < previous - next > : Reply : Subscribe : Cleanse
Home   : February 1999 : Group Archive : Group : All Groups

From: Rick Brown <rbrown@...>
Date: Thu, 04 Feb 1999 21:38:38 -0600

Laurent SIEBENMANN wrote:

> You imply that there is a "last backup date" field in
> every Macintosh file header!?  I do not see such a
> field when I examine with Resedit.  Only a "last
> modif" date.  What gives?

Indeed there is such a field, and you're right, it doesn't show up in
ResEdit.  You can look at it by calling GETCATINFO(@pb) on the file, and then
examining the pb.ioFlBkDat& field; it's likely to contain zero if the file has
never yet been backed up.  Likewise, you can alter the field by putting a new
value into pb.ioFlBkDat& and then calling SETCATINFO(@pb); but of course it's
recommended that only backup software should alter that field.

- Rick