aboutsummaryrefslogtreecommitdiffstats
path: root/x11
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2002-09-22 06:40:17 +0800
committertrevor <trevor@FreeBSD.org>2002-09-22 06:40:17 +0800
commit44ea8a6e53a50e26dbf180c8446eaf0822bc3f0c (patch)
tree2f5721e8041ff2ae47271e4836c09f82bbf3bd5f /x11
parente3dab593f16cc97f690dc1d4cd8151c38dadcf97 (diff)
downloadfreebsd-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.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;