🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.bugs.2bsd
Article #115

/boot,/mdec,[T]MSCP (Part 19 of 22)

#115
From: 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;
  
Technical Details
Message-ID: <1991May18.071818.27301@wlbr.imsd.contel.com>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!sdd.hp.com!elroy.jpl.nasa.gov!mahendo!wlbr!news

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!news-server.csri.toronto.edu!rpi!dali.cs.montana.edu!uakari.primate.wisc.edu!sdd.hp.com!elroy.jpl.nasa.gov!mahendo!wlbr!news
From: sms@wlv.imsd.contel.com (Steven M. Schultz)
Newsgroups: comp.bugs.2bsd
Subject: /boot,/mdec,[T]MSCP (Part 19 of 22)
Message-ID: <1991May18.071818.27301@wlbr.imsd.contel.com>
Date: 18 May 91 07:18:18 GMT
Sender: news@wlbr.imsd.contel.com (news)
Organization: Contel Federal Systems
Lines: 102
Nntp-Posting-Host: wlv.imsd.contel.com