From 7157ec19b6ee55813f5aaedd6296871308c82f52 Mon Sep 17 00:00:00 2001 From: eck Date: Thu, 4 Jan 1990 08:39:10 +0000 Subject: [PATCH] changed strrchr() into strchr() --- lang/cem/libcc.ansi/misc/putenv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lang/cem/libcc.ansi/misc/putenv.c b/lang/cem/libcc.ansi/misc/putenv.c index 5caedf64b..4c916e384 100644 --- a/lang/cem/libcc.ansi/misc/putenv.c +++ b/lang/cem/libcc.ansi/misc/putenv.c @@ -24,7 +24,7 @@ putenv(char *name) */ if (!name) return 0; - if (r = strrchr(name, '=')) { + if (r = strchr(name, '=')) { register const char *p, *q; *r = '\0'; -- 2.34.1