diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-02-25 16:08:19 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2005-02-25 16:08:19 +0000 |
commit | 9a9b1465c1db7efca538c5b4b2ddc43efc8f7818 (patch) | |
tree | 3a1c2d8963c2f2625c5c16c18cc2947ca501a39a /bin | |
parent | c4e0c3284e4a4db9ae01e770073457f6da37c790 (diff) |
no more Strncpy or Strncat, ever
Diffstat (limited to 'bin')
-rw-r--r-- | bin/csh/csh.h | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/bin/csh/csh.h b/bin/csh/csh.h index 4579013a152..7b95f50dc47 100644 --- a/bin/csh/csh.h +++ b/bin/csh/csh.h @@ -1,4 +1,4 @@ -/* $OpenBSD: csh.h,v 1.15 2003/06/25 21:12:39 deraadt Exp $ */ +/* $OpenBSD: csh.h,v 1.16 2005/02/25 16:08:18 deraadt Exp $ */ /* $NetBSD: csh.h,v 1.9 1995/03/21 09:02:40 cgd Exp $ */ /*- @@ -71,7 +71,7 @@ typedef char Char; #endif /* - * Make sure a variable is not stored in a by taking its address + * Make sure a variable is not stored in register a by taking its address * This is used where variables might be clobbered by longjmp. */ #define UNREGISTER(a) (void) &a @@ -486,9 +486,7 @@ Char HISTSUB; /* auto-substitute character */ #define Strchr(a, b) strchr(a, b) #define Strrchr(a, b) strrchr(a, b) #define Strlcat(a, b, l) strlcat(a, b, l) -#define Strncat(a, b, c) strncat(a, b, c) #define Strlcpy(a, b, l) strlcpy(a, b, l) -#define Strncpy(a, b, c) strncpy(a, b, c) #define Strlen(a) strlen(a) #define Strcmp(a, b) strcmp(a, b) #define Strncmp(a, b, c) strncmp(a, b, c) @@ -506,9 +504,7 @@ Char HISTSUB; /* auto-substitute character */ #define Strchr(a, b) s_strchr(a, b) #define Strrchr(a, b) s_strrchr(a, b) #define Strlcat(a, b, l) s_strlcat(a, b, l) -#define Strncat(a, b, c) s_strncat(a, b, c) #define Strlcpy(a, b, l) s_strlcpy(a, b, l) -#define Strncpy(a, b, c) s_strncpy(a, b, c) #define Strlen(a) s_strlen(a) #define Strcmp(a, b) s_strcmp(a, b) #define Strncmp(a, b, c) s_strncmp(a, b, c) |