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. http://mantis.freepascal.org/view.php?id=26373 Another one reported over 2 years ago has still not been acted on. http://mantis.freepascal.org/view.php?id=23991 I confirmed these constants are in FreeBSD's fcntl.h file and in OSX, but nothing has come from it. :-/ Regards, - Graeme - -- fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal http://fpgui.sourceforge.net/ _______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal