1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../ash/denoise.patch
5 # Copyright (C) 2004 - 2005 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- T2-COPYRIGHT-NOTE-END ---
17 Remove some noise. With some C libraries the str* and bzero colide.
19 - Rene Rebe <rene@exactcode.de>
21 diff -ur ash-linux-0.2/error.c ash-linux-0.2-fixed/error.c
22 --- ash-linux-0.2/error.c 1993-09-06 11:04:22.000000000 +0200
23 +++ ash-linux-0.2-fixed/error.c 2005-02-02 11:03:31.629060136 +0100
32 if (rootshell && iflag)
33 diff -ur ash-linux-0.2/mystring.h ash-linux-0.2-fixed/mystring.h
34 --- ash-linux-0.2/mystring.h 1993-08-24 11:12:53.000000000 +0200
35 +++ ash-linux-0.2-fixed/mystring.h 2005-02-02 11:01:35.411727856 +0100
38 void scopyn(const char *, char *, int);
39 char *strchr(const char *, int);
40 -void mybcopy(const pointer, pointer, int);
41 int prefix(const char *, const char *);
42 int number(const char *);
43 int is_number(const char *);
44 -int strcmp(const char *, const char *); /* from C library */
45 -char *strcpy(char *, const char *); /* from C library */
46 -int strlen(const char *); /* from C library */
47 -char *strcat(char *, const char *); /* from C library */
53 #define equal(s1, s2) (strcmp(s1, s2) == 0)
54 #define scopy(s1, s2) ((void)strcpy(s2, s1))
55 -#define bcopy(src, dst, n) mybcopy((pointer)(src), (pointer)(dst), n)