🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Steven M. Schultz Sat, 18 May 1991 07:18
/boot,/mdec,[T]MSCP (Part 19 of 22)
#115
Author: Steven M. Schultz
Date: Sat, 18 May 1991 07:18
102 lines
2573 bytes
Subject: Part 19 of 22 /boot,/mdec,[T]MSCP updates
Index:	/sys/<many>, /usr/src/etc/<several> 2.11BSD

Description:
Repeat-By:
Fix:
	See part 0 (the README) for the Description, the Reason and
	the instructions on how update your system.

This is part 19 of 22

'restor' had size reduction changes made so the standalone version would
fit withing 48kb.  extra register variables were declared to reduce
the size of the generated code.

*** /usr/src/etc/restor/restor.c.old	Mon Apr 30 09:22:05 1990
--- /usr/src/etc/restor/restor.c	Sat Apr 13 17:02:58 1991
***************
*** 107,113 ****
  extern  long lseek();
  
  main(argc, argv)
! char *argv[];
  {
  	register char *cp;
  	char command;
--- 107,113 ----
  extern  long lseek();
  
  main(argc, argv)
! register char *argv[];
  {
  	register char *cp;
  	char command;
***************
*** 179,185 ****
  	int	xtrfile(), skip(), null();
  #endif
  	int	rstrfile(), rstrskip();
! 	struct dinode *ip, *ip1;
  
  #ifndef STANDALONE
  	if ((mt = open(magtape, 0)) < 0) {
--- 179,185 ----
  	int	xtrfile(), skip(), null();
  #endif
  	int	rstrfile(), rstrskip();
! 	register struct dinode *ip, *ip1;
  
  #ifndef STANDALONE
  	if ((mt = open(magtape, 0)) < 0) {
***************
*** 633,639 ****
  char	*n;
  {
  	register char *cp, *cp1;
! 	char c;
  
  	ino = ROOTINO;
  	if (*(cp = n) == '/')
--- 633,639 ----
  char	*n;
  {
  	register char *cp, *cp1;
! 	register char c;
  
  	ino = ROOTINO;
  	if (*(cp = n) == '/')
***************
*** 863,869 ****
  daddr_t	bn;
  {
  	register i;
! 	int j, sh;
  	daddr_t nb, nnb;
  	daddr_t indir[NINDIR];
  
--- 863,869 ----
  daddr_t	bn;
  {
  	register i;
! 	register int j, sh;
  	daddr_t nb, nnb;
  	daddr_t indir[NINDIR];
  
***************
*** 1229,1235 ****
   * read a bit mask from the tape into m.
   */
  readbits(m)
! short	*m;
  {
  	register i;
  
--- 1229,1235 ----
   * read a bit mask from the tape into m.
   */
  readbits(m)
! register short	*m;
  {
  	register i;
  
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads