diff options
author | trevor <trevor@FreeBSD.org> | 2002-09-22 06:40:17 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2002-09-22 06:40:17 +0800 |
commit | 44ea8a6e53a50e26dbf180c8446eaf0822bc3f0c (patch) | |
tree | 2f5721e8041ff2ae47271e4836c09f82bbf3bd5f /x11 | |
parent | e3dab593f16cc97f690dc1d4cd8151c38dadcf97 (diff) | |
download | freebsd-ports-gnome-44ea8a6e53a50e26dbf180c8446eaf0822bc3f0c.tar.gz freebsd-ports-gnome-44ea8a6e53a50e26dbf180c8446eaf0822bc3f0c.tar.zst freebsd-ports-gnome-44ea8a6e53a50e26dbf180c8446eaf0822bc3f0c.zip |
Remove QNX support.
Diffstat (limited to 'x11')
-rw-r--r-- | x11/wrapper/files/wrapper.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/x11/wrapper/files/wrapper.c b/x11/wrapper/files/wrapper.c index 2ba91cc215c2..fc854541167e 100644 --- a/x11/wrapper/files/wrapper.c +++ b/x11/wrapper/files/wrapper.c @@ -135,9 +135,6 @@ main(int argc, char **argv, char **envp) enum BadCode bad = NotBad; int i, j; char *a, *e; -#if defined(__QNX__) && !defined(__QNXNTO__) - char cmd_name[64]; -#endif #ifdef USE_PAM pam_handle_t *pamh = NULL; struct passwd *pw; @@ -264,12 +261,7 @@ main(int argc, char **argv, char **envp) switch (bad) { case NotBad: argv[0] = XSERVER_PATH; -#if defined(__QNX__) && !defined(__QNXNTO__) - sprintf(cmd_name,"%s.%d",XSERVER_PATH,getnid()); - execve(cmd_name, argv, envp); -#else execve(XSERVER_PATH, argv, envp); -#endif fprintf(stderr, "execve failed for %s (errno %d)\n", XSERVER_PATH, errno); break; |