Re: [mkgmap-dev] possible problem if output dir doesn't exist

2013-08-25 Thread GerdP
Hi Steve, thanks for the patch. I did not test it, but it looks good to me. Gerd Steve Ratcliffe wrote > Hi Gerd > >> I've just noted for the first time that mkgmap may fail if the output >> directory doesn't exist and -max-jobs is used. > >> to be fixed with a threadlocal variable? > > A th

Re: [mkgmap-dev] possible problem if output dir doesn't exist

2013-08-24 Thread Steve Ratcliffe
Hi Gerd I've just noted for the first time that mkgmap may fail if the output directory doesn't exist and -max-jobs is used. to be fixed with a threadlocal variable? A thread local variable is almost never the correct way to fix a thread problem. I think that in this case where the retur

[mkgmap-dev] possible problem if output dir doesn't exist

2013-08-24 Thread GerdP
Hi programmers, I've just noted for the first time that mkgmap may fail if the output directory doesn't exist and -max-jobs is used. I saw these messages: Output directory not found. Creating directory '.\map_rrk' Output directory not found. Creating directory '.\map_rrk' and one ovm*.img file wa