aboutsummaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2002-09-21 22:40:17 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2002-09-21 22:40:17 +0000
commite47e0f59bf6dcec9d78c4c86882ed417f1340ed5 (patch)
treeedaf59564deb2690aec836fd837af4aa7f2a6719 /x11
parent3419bc35f09181d16eb3bf308202b27a6b907a9c (diff)
downloadports-e47e0f59bf6dcec9d78c4c86882ed417f1340ed5.tar.gz
ports-e47e0f59bf6dcec9d78c4c86882ed417f1340ed5.zip
Remove QNX support.
Notes
Notes: svn path=/head/; revision=67024
Diffstat (limited to 'x11')
-rw-r--r--x11/wrapper/files/wrapper.c8
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;