On 21 June 2009 12:34, I wrote: > 1) If the bak file already exists, the program does nothing but tell it did > "Reformatting".
In utils/hbformat/hbformat.prg (rev11521) in method Array2File() line#943 there is this code: IF Frename( cFileName, cBakName ) == -1 RETURN .F. ENDIF The cBakName should probably be deleted for the rename (don't know if you need to test for its existance first or just try to delete it anyway, and ignore the result of FERASE). By the way, the return code from Array2File() is not checked. Chen. _______________________________________________ Harbour mailing list [email protected] http://lists.harbour-project.org/mailman/listinfo/harbour
