# HG changeset patch # User Kim F. Storm # Date 1042403097 0 # Node ID ab409160293743f4cae02147d0d1b59c1db6f94f # Parent 8bee0ccd5fd6436b161ca6c43e75d89b616a52fb Added process private variables. diff -r 8bee0ccd5fd6 -r ab4091602937 src/ChangeLog --- a/src/ChangeLog Sun Jan 12 20:24:06 2003 +0000 +++ b/src/ChangeLog Sun Jan 12 20:24:57 2003 +0000 @@ -1,5 +1,17 @@ 2003-01-12 Kim F. Storm + * process.h (struct Lisp_Process): New member private_vars. + + * process.c: (QCvars): New variable. + (syms_of_process): Intern and staticpro it. + (Fprocess_variable, Fset_process_variable): New functions. + (syms_of_process): Defsubr them. + (Fstart_process): Initialize private_vars plist to nil. + (Fmake_network_process): New arg :vars to setup the private + variables for new network process. + (server_accept_connection): Copy server's private variables to + client process. + * alloc.c (pure_alloc): Fixed 2003-01-10 changed (caused spurious crashes). Code rewritten and simplified. Now directly aligns the pointer and recalculates pure_bytes_used, rather than aligning the