BlackStonedLover / fluxcp

Automatically exported from code.google.com/p/fluxcp
GNU Lesser General Public License v3.0
0 stars 0 forks source link

Invalid use of POSIX functions on non-POSIX-compliant platforms #52

Closed GoogleCodeExporter closed 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Install the fluxcp in host with windows php
2.
3.

What is the expected output? What do you see instead?
Fatal error: Call to undefined function posix_getuid()

What version of the product are you using? On what operating system?
r1067 on Windows7 Ultimate

Please provide any additional information below.
posix_getuid function isn't compatible with php windows based, using getmyuid 
instead might fix the problem.

regards,
Nibi

Original issue reported on code.google.com by rclof...@yahoo.com on 8 Jan 2012 at 5:23

GoogleCodeExporter commented 8 years ago
[deleted comment]
GoogleCodeExporter commented 8 years ago
or check if the function posix_getuid exists otherwise use getmyuid...

Original comment by rclof...@yahoo.com on 8 Jan 2012 at 5:37

GoogleCodeExporter commented 8 years ago
This cannot be enforced on non-POSIX-compliant systems.
The appropriate checks for POSIX-compliance have been added.
This has been fixed in r1075.

Original comment by Paradox924X on 6 Feb 2012 at 1:09