Re: [Harbour] Strange index error

2009-08-11 Thread Przemyslaw Czerpak
On Tue, 11 Aug 2009, FRANČEK PRIJATELJ wrote: Hi, > No, before I ran program , I emptied tmp dir. > In real application I index 10 dbf files before this one. > I also tried (very simple) short version and real application >with backup dbf that worked few days ago. >Only diff

Re: [Harbour] Strange index error

2009-08-11 Thread Przemyslaw Czerpak
On Tue, 11 Aug 2009, Szak�ts Viktor wrote: > Okay, what happens now is that on win platform GetTempFileName() > will create the file (and release the handle... bloody MS), > and this causes hb_fsCreate() with FO_EXCL to fail permanently. > There are a few options, but I'm unsure which is the better

Re: [Harbour] Strange index error

2009-08-11 Thread Przemyslaw Czerpak
On Tue, 11 Aug 2009, Szak�ts Viktor wrote: Hi, > I've recently fixed hb_fsCreate*() to honor FO_EXCL flag > on win platforms (it was ignored before). AFAICS this error > could be caused by interaction of temp file creation routines > in fstemp.c and above change. > I'm investigating, but I'd appr

Re: [Harbour] Strange index error

2009-08-11 Thread FRANČEK PRIJATELJ
On 11.8.2009 10:56, Przemyslaw Czerpak wrote: On Tue, 11 Aug 2009, FRANČEK PRIJATELJ wrote: Hi Franček, This code (simplified version) worked few days ago, with rddntx or rddcdx). Today it crashes function main() use knjizbe new index on posel+dtos(dat_va) tag posel_datv to knji

Re: [Harbour] Strange index error

2009-08-11 Thread Viktor Szakáts
Okay, what happens now is that on win platform GetTempFileName() will create the file (and release the handle... bloody MS), and this causes hb_fsCreate() with FO_EXCL to fail permanently. There are a few options, but I'm unsure which is the better: - Omit FO_EXCL for win platforms. - Use FO_TRUN

Re: [Harbour] Strange index error

2009-08-11 Thread Viktor Szakáts
Hi Przemek, I've recently fixed hb_fsCreate*() to honor FO_EXCL flag on win platforms (it was ignored before). AFAICS this error could be caused by interaction of temp file creation routines in fstemp.c and above change. I'm investigating, but I'd appreciate your help. For me its end endless str

Re: [Harbour] Strange index error

2009-08-11 Thread Przemyslaw Czerpak
On Tue, 11 Aug 2009, FRANČEK PRIJATELJ wrote: Hi Franček, > This code (simplified version) worked few days ago, with rddntx or rddcdx). > Today it crashes > function main() >use knjizbe new >index on posel+dtos(dat_va) tag posel_datv to knjizbe >wait > return > Today it crashes wit

[Harbour] Strange index error

2009-08-11 Thread FRANČEK PRIJATELJ
This code (simplified version) worked few days ago, with rddntx or rddcdx). Today it crashes function main() use knjizbe new index on posel+dtos(dat_va) tag posel_datv to knjizbe wait return Today it crashes with error 1 Error DBFNTX/1060 Create error: C:\DOCUME~1\FP\LOCA