diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2010-01-26 19:49:15 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2010-01-26 19:49:15 +0100 |
commit | a493430ea128490a1e4dd1a20bea7d11dcfd0771 (patch) | |
tree | 972f961bb21b691775a7cac57f8bb18d12c7f33d /package/screen/patches/patch-screen_c | |
parent | 6c86d480ab919633cee4296ae97ddb37e2d9cb67 (diff) |
remove unneeded patches
there are macros for bcopy/bzero. just use them correctly
Diffstat (limited to 'package/screen/patches/patch-screen_c')
-rw-r--r-- | package/screen/patches/patch-screen_c | 30 |
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) |