Enrico, Yes. But then the SET PATH, and and SET DEFAULT should be reviewed and fixed at a lower level to fix known bugs.
Ron -------------------------------------------------- From: "Enrico Maria Giordano" <e.m.giord...@emagsoftware.it> Sent: Wednesday, June 09, 2010 12:09 AM To: "xHarbour Developers Mailing List" <xharbour-developers@lists.sourceforge.net> Subject: [xHarbour-developers] __DBCOPY() > The following hack: > > 2009-08-27 20:53 UTC-0430 Ron Pinkas <ron.pinkas/at/xharbour.com> > > * source/rdd/dbcmd.c > * Hack to __DBCOPY() to explicitly prefix target file with the current > path > to to avoid inadvertent override of file in the SET PATH folder. > > causes the following sample to show .T., .F. instead of .T., .T.: > > function main() > local cTmp := "tmp123" > > makedir(".\data") > set default to (".\data") > > dbcreate("ta_poll",{ {"id", "c", 3, 0} } ) > ? file("ta_poll.dbf") > > use ta_poll > copy to (cTmp) > ? file(cTmp+".dbf") > > return nil > > Can I revert it? > > EMG > > -- > EMAG Software Homepage: http://www.emagsoftware.it > The EMG's ZX-Spectrum Page: http://www.emagsoftware.it/spectrum > The Best of Spectrum Games: http://www.emagsoftware.it/tbosg > The EMG Music page: http://www.emagsoftware.it/emgmusic > > > ------------------------------------------------------------------------------ > ThinkGeek and WIRED's GeekDad team up for the Ultimate > GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the > lucky parental unit. See the prize list and enter to win: > http://p.sf.net/sfu/thinkgeek-promo > _______________________________________________ > xHarbour-developers mailing list > xHarbour-developers@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/xharbour-developers > ------------------------------------------------------------------------------ ThinkGeek and WIRED's GeekDad team up for the Ultimate GeekDad Father's Day Giveaway. ONE MASSIVE PRIZE to the lucky parental unit. See the prize list and enter to win: http://p.sf.net/sfu/thinkgeek-promo _______________________________________________ xHarbour-developers mailing list xHarbour-developers@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/xharbour-developers