From eabdfb5e1ebf83147017c57db3659e7b2e8ecad1 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Sat, 26 Oct 1996 22:21:16 +0000 Subject: gcc -Wall cleanup. svn path=/trunk/; revision=396 --- rcfile_l.l | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'rcfile_l.l') diff --git a/rcfile_l.l b/rcfile_l.l index 6c71aedf..1653826f 100644 --- a/rcfile_l.l +++ b/rcfile_l.l @@ -72,14 +72,14 @@ options {/* EMPTY */} yytext[strlen(yytext)-1] = '\0'; escapes(yytext+1, buf); - yylval.sval = (char *) strdup(buf); + yylval.sval = (char *) xstrdup(buf); return STRING; } [^;:, \t\r\n]+ { char buf[POPBUFSIZE]; escapes(yytext, buf); - yylval.sval = (char *) strdup(buf); + yylval.sval = (char *) xstrdup(buf); return STRING; } -- cgit v1.2.3