Mercurial > hg > xemacs-beta
diff src/msdos.c @ 16:0293115a14e9 r19-15b91
Import from CVS: tag r19-15b91
author | cvs |
---|---|
date | Mon, 13 Aug 2007 08:49:20 +0200 |
parents | 376386a54a3c |
children | 859a2309aef8 |
line wrap: on
line diff
--- a/src/msdos.c Mon Aug 13 08:48:43 2007 +0200 +++ b/src/msdos.c Mon Aug 13 08:49:20 2007 +0200 @@ -2168,14 +2168,14 @@ tmp = Fcar (lst); lst = Fcdr (lst); CHECK_STRING (tmp); - envv[i] = alloca (string_length (XSTRING (tmp)) + 1); - strcpy (envv[i], string_data (XSTRING (tmp))); + envv[i] = alloca (XSTRING_LENGTH (tmp) + 1); + strcpy (envv[i], XSTRING_DATA (tmp)); } envv[len] = (char *) 0; } if (STRINGP (dir)) - chdir (string_data (XSTRING (dir))); + chdir (XSTRING_DATA (dir)); inbak = dup (0); outbak = dup (1); errbak = dup (2);