summaryrefslogtreecommitdiff
path: root/package/screen/patches/patch-screen_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-01-30 10:40:05 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2010-01-30 10:40:05 +0100
commitc64105459c5d9662dd8a330f264b60a61ba14c0b (patch)
tree80cbca19a7a31fb3357d8eec3784367075f3b5d3 /package/screen/patches/patch-screen_c
parent659846437896836e683ba5c0fc393a78eb641c18 (diff)
parent39e9af48da3ef01a9eca53d54ace7545eec39da8 (diff)
Merge branch 'master' of git+ssh://openadk.org/git/openadk
Diffstat (limited to 'package/screen/patches/patch-screen_c')
-rw-r--r--package/screen/patches/patch-screen_c30
1 files changed, 0 insertions, 30 deletions
diff --git a/package/screen/patches/patch-screen_c b/package/screen/patches/patch-screen_c
deleted file mode 100644
index c9a3da349..000000000
--- a/package/screen/patches/patch-screen_c
+++ /dev/null
@@ -1,30 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- screen-4.0.3.orig/screen.c 2003-09-08 16:26:41.000000000 +0200
-+++ screen-4.0.3/screen.c 2008-10-08 14:06:53.000000000 +0200
-@@ -819,7 +819,7 @@ char **av;
-
- #ifdef MULTIUSER
- own_uid = multi_uid = real_uid;
-- if (SockMatch && (sockp = index(SockMatch, '/')))
-+ if (SockMatch && (sockp = strchr(SockMatch, '/')))
- {
- if (eff_uid)
- Panic(0, "Must run suid root for multiuser support.");
-@@ -1025,7 +1025,7 @@ char **av;
- }
- if ((st.st_mode & 0777) != 0700)
- Panic(0, "Directory %s must have mode 700.", SockPath);
-- if (SockMatch && index(SockMatch, '/'))
-+ if (SockMatch && strchr(SockMatch, '/'))
- Panic(0, "Bad session name '%s'", SockMatch);
- SockName = SockPath + strlen(SockPath) + 1;
- *SockName = 0;
-@@ -1041,7 +1041,7 @@ char **av;
- (void) gethostname(HostName, MAXSTR);
- HostName[MAXSTR - 1] = '\0';
- #endif
-- if ((ap = index(HostName, '.')) != NULL)
-+ if ((ap = strchr(HostName, '.')) != NULL)
- *ap = '\0';
-
- if (lsflag)