[3156] in Release_Engineering

home help back first fref pref prev next nref lref last post

Changes to the ss library for Alpha

daemon@ATHENA.MIT.EDU (cfields@MIT.EDU)
Wed Feb 9 12:32:45 1994

From: cfields@MIT.EDU
Date: Wed, 9 Feb 94 12:32:30 EST
To: rel-eng@MIT.EDU
Cc: 

>From epeisach@MIT.EDU Tue Feb  8 18:39:07 1994
>Received: by gregor.MIT.EDU (5.57/4.7) id AA04577; Tue, 8 Feb 94 18:39:06 -050>0
>Received: from KANGAROO.MIT.EDU by MIT.EDU with SMTP
>	id AA23340; Tue, 8 Feb 94 18:39:00 EST
>From: epeisach@MIT.EDU
>Received: by kangaroo.mit.edu (5.65/4.7) id AA02340; Tue, 8 Feb 1994 18:38:58 >-0500
>Date: Tue, 8 Feb 1994 18:38:58 -0500
>Message-Id: <9402082338.AA02340@kangaroo.mit.edu>
>To: bugs@MIT.EDU
>Cc: alpha@kangaroo.mit.edu
>Subject: Changes to the ss library
>
>
>Three files:
>	(a) Imakefile: (i) Properly remove some extra files that might be
>				present. (automatically generated ones)
>			(ii) Install mk_cmds in the build tree in a
>				common place 
>	(b) listen.c - signal declaration better
>	(c) cmd_tbl.l - You should declare statics before first
>reference to them. (spacing on lines critical - do not add extra spaces
>before/after) 
>
>diff -c /source/athena/athena.lib/ss/Imakefile ./Imakefile
>*** /source/athena/athena.lib/ss/Imakefile	Mon Jul  1 20:01:21 1991
>--- ./Imakefile	Fri Dec 10 12:12:55 1993
>***************
>*** 106,111 ****
>--- 106,114 ----
>  test:	test.o commands.o $(LIB)
>  	${CC} ${CFLAGS} -o test test.o commands.o $(LIB) $(COMERR)
>  
>+ clean::
>+ 	rm -f commands.c
>+ 
>  commands.c: mk_cmds commands.ct
>  	./mk_cmds commands.ct
>  
>***************
>*** 119,121 ****
>--- 122,130 ----
>  	makedepend $(CFLAGS) $(CFILES) 
>  
>  
>+ #if !defined(UseInstalled)
>+ all:: $(UTILDIR)mk_cmds
>+ 
>+ $(UTILDIR)mk_cmds: mk_cmds
>+ 	$(INSTALL) -s mk_cmds $(UTILDIR)
>+ #endif
>Only in .: Imakefile~
>Common subdirectories: /source/athena/athena.lib/ss/RCS and ./RCS
>diff -c /source/athena/athena.lib/ss/cmd_tbl.l ./cmd_tbl.l
>*** /source/athena/athena.lib/ss/cmd_tbl.l	Thu Oct 28 17:53:28 1993
>--- ./cmd_tbl.l	Fri Dec 10 12:30:09 1993
>***************
>*** 1,6 ****
>--- 1,11 ----
>+ %{
>+ static l_command_table(), l_request(), l_unimplemented(), l_end();
>+ static l_quoted_string(), l_string();
>+ %}
>  N	[0-9]
>  PC	[^\"]
>  AN      [A-Z_a-z0-9]
>+ 
>  %%
>  
>  command_table	return l_command_table();
>diff -c /source/athena/athena.lib/ss/listen.c ./listen.c
>*** /source/athena/athena.lib/ss/listen.c	Thu Oct 28 17:53:28 1993
>--- ./listen.c	Sun Jan 30 09:48:06 1994
>***************
>*** 50,56 ****
>      (void) fflush(stdout);
>  }
>  
>! static sigtype listen_int_handler()
>  {
>      putc('\n', stdout);
>      longjmp(listen_jmpb, 1);
>--- 50,58 ----
>      (void) fflush(stdout);
>  }
>  
>! /* ARGSUSED */
>! static sigtype listen_int_handler(sig)
>! int sig;
>  {
>      putc('\n', stdout);
>      longjmp(listen_jmpb, 1);
>***************
>*** 68,74 ****
>      int code;
>      jmp_buf old_jmpb;
>      ss_data *old_info = current_info;
>-     static sigtype print_prompt();
>  #ifdef POSIX
>      struct sigaction isig, csig, nsig, osig;
>      sigset_t nmask, omask;
>--- 70,75 ----
>

home help back first fref pref prev next nref lref last post