changeset 45410:72796bd8bdb5

* process.c (set_socket_options, Fsignal_process): Use SYMBOL_NAME and XSTRING instead of XSYMBOL and name field.
author Ken Raeburn <raeburn@raeburn.org>
date Mon, 20 May 2002 08:06:32 +0000
parents f8a600a483ff
children 33a7c706dc9c
files src/process.c
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/process.c	Mon May 20 08:06:27 2002 +0000
+++ b/src/process.c	Mon May 20 08:06:32 2002 +0000
@@ -2234,7 +2234,7 @@
       if (STRINGP (opt))
 	name = (char *) XSTRING (opt)->data;
       else if (SYMBOLP (opt))
-	name = (char *) XSYMBOL (opt)->name->data;
+	name = (char *) XSTRING (SYMBOL_NAME (opt))->data;
       else {
 	error ("Mal-formed option list");
 	return 0;
@@ -2302,7 +2302,7 @@
 		else if (STRINGP (val))
 		  arg = (char *) XSTRING (val)->data;
 		else if (XSYMBOL (val))
-		  arg = (char *) XSYMBOL (val)->name->data;
+		  arg = (char *) XSTRING (SYMBOL_NAME (val))->data;
 		else 
 		  error ("Invalid argument to %s option", name);
 	      }
@@ -5335,7 +5335,7 @@
       unsigned char *name;
 
       CHECK_SYMBOL (sigcode);
-      name = XSYMBOL (sigcode)->name->data;
+      name = XSTRING (SYMBOL_NAME (sigcode))->data;
 
       if (0)
 	;