Displaying 3 results from an estimated 3 matches for "_nsgetenviron".
2003 Dec 25
3
Missing LDSHARED in Makefiles; build problems.
I've been trying to build Wine (20031118) on a G4 PowerBook running OS X
10.3.1.
The first problem occurs during configure:
checking for XF86VidModeQueryExtension in -lXxf86vm... yes
checking for XRRSetScreenConfigAndRate in -lXrandr... yes
checking for XvShmCreateImage in -lXv... yes
configure: error: /usr/X11R6/lib/libGL.a is present on your system.
This prevents linking to OpenGL. Delete
2019 Oct 01
2
Re: [PATCH libnbd v2 2/2] api: Implement local command with systemd socket activation.
...also states that no standard header is required to declare
it. You may want to add an 'extern char **environ;' line before this
function for portability. On the other hand, gnulib documents that on
newer Mac OS, even that doesn't work, where the solution is '#define
environ (*_NSGetEnviron())'. I guess we'll deal with it when somebody
actually reports compilation failure.
> +
> + /* Remove any existing LISTEN_PID or LISTEN_FDS instances. */
> + for (i = 2; env[i] != NULL; ++i) {
> + if (strncmp (env[i], "LISTEN_PID=", 11) == 0 ||
> + st...
2019 Sep 30
4
[PATCH libnbd v2 0/2] Implement systemd socket activation.
v1 was posted here:
https://www.redhat.com/archives/libguestfs/2019-September/thread.html#00337
v2:
- Drop the first patch.
- Hopefully fix the multiple issues with fork-safety and general
behaviour on error paths.
Note this requires execvpe for which there seems to be no equivalent
on FreeBSD, except some kind of tedious path parsing (but can we
assign to environ?)
Rich.