[fpc-pascal] fpchmod(thefile, S_IRWXU) not for freeBSD ?

2015-06-25 Thread fredvs
Hello. This to advice that fpchmod(thefile, S_IRWXU) is not working with freeBSD. This because some const are missing for FreeBSD in FPC's RTL. But, thanks to Graeme, this solves the thing = ... {$IFDEF FREEBSD} const S_IRWXU = S_IRUSR or S_IWUSR or S_IXUSR; S_IRWXG = S_IRGRP or S_IWGRP or

Re: [fpc-pascal] fpchmod(thefile, S_IRWXU) not for freeBSD ?

2015-06-25 Thread Graeme Geldenhuys
On 2015-06-25 15:19, fredvs wrote: This to advice that fpchmod(thefile, S_IRWXU) is not working with freeBSD. This because some const are missing for FreeBSD in FPC's RTL. That should be available in FPC 3.0 whenever that arrives. I don't know if it was even added to 2.6_fixes branch though.

Re: [fpc-pascal] Multipe path in TProcess.Environment ?

2015-06-25 Thread fredvs
@ Tomas and Michael. Sorry for delay... = many thanks for answers. Fre;D - Many thanks ;-) -- View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Multipe-path-in-TProcess-Environment-tp5721893p5721912.html Sent from the Free Pascal - General mailing list