Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/1002/4

Copyright © 2021 Plan 9 Foundation.
Distributed under the MIT License.
Download the Plan 9 distribution.


Fix error message, mark dead code as comment.
 [rsc] --rw-rw-r-- M 733409 rsc sys 33313 Oct  2 08:11 sys/src/cmd/fossil/9fsys.c
	/n/sourcesdump/2005/1002/plan9/sys/src/cmd/fossil/9fsys.c:284,290 - 
	/n/sourcesdump/2005/1003/plan9/sys/src/cmd/fossil/9fsys.c:284,291
	  	if(argc)
	  		return cliError(usage);
	  
	- 	return cliError("close isn't working yet; sync and then kill fossil");
	+ 	return cliError("close isn't working yet; halt %s and then kill fossil",
	+ 		fsys->name);
	  
	  	/*
	  	 * Oooh. This could be hard. What if fsys->ref != 1?
	/n/sourcesdump/2005/1002/plan9/sys/src/cmd/fossil/9fsys.c:292,298 - 
	/n/sourcesdump/2005/1003/plan9/sys/src/cmd/fossil/9fsys.c:293,298
	  	 * gracefully detect it's still busy?
	  	 *
	  	 * More thought and care needed here.
	- 	 */
	  	fsClose(fsys->fs);
	  	fsys->fs = nil;
	  	vtClose(fsys->session);
	/n/sourcesdump/2005/1002/plan9/sys/src/cmd/fossil/9fsys.c:304,309 - 
	/n/sourcesdump/2005/1003/plan9/sys/src/cmd/fossil/9fsys.c:304,310
	  	}
	  
	  	return 1;
	+ 	 */
	  }
	  
	  static int
 [sys] --rwxrwxr-x M 733409 rsc sys 360426 Oct  2 23:11 386/bin/fossil/fossil
	/sys/src/cmd/fossil/9fsys.c:cmdFsys
	/sys/src/cmd/fossil/9fsys.c:fsckClose
	/sys/src/cmd/fossil/9fsys.c:fsckClre
	/sys/src/cmd/fossil/9fsys.c:fsckClrp
	/sys/src/cmd/fossil/9fsys.c:fsysBfree
	/sys/src/cmd/fossil/9fsys.c:fsysBlock
	/sys/src/cmd/fossil/9fsys.c:fsysCheck
	/sys/src/cmd/fossil/9fsys.c:fsysClose
	/sys/src/cmd/fossil/9fsys.c:fsysClrep
	/sys/src/cmd/fossil/9fsys.c:fsysClri
	/sys/src/cmd/fossil/9fsys.c:fsysConfig
	/sys/src/cmd/fossil/9fsys.c:fsysCreate
	/sys/src/cmd/fossil/9fsys.c:fsysDf
	/sys/src/cmd/fossil/9fsys.c:fsysEpoch
	/sys/src/cmd/fossil/9fsys.c:fsysEsearch
	/sys/src/cmd/fossil/9fsys.c:fsysEsearch1
	/sys/src/cmd/fossil/9fsys.c:fsysHalt
	/sys/src/cmd/fossil/9fsys.c:fsysInit
	/sys/src/cmd/fossil/9fsys.c:fsysLabel
	/sys/src/cmd/fossil/9fsys.c:fsysOpen
	/sys/src/cmd/fossil/9fsys.c:fsysPrintStat
	/sys/src/cmd/fossil/9fsys.c:fsysRemove
	/sys/src/cmd/fossil/9fsys.c:fsysSnap
	/sys/src/cmd/fossil/9fsys.c:fsysSnapClean
	/sys/src/cmd/fossil/9fsys.c:fsysSnapTime
	/sys/src/cmd/fossil/9fsys.c:fsysStat
	/sys/src/cmd/fossil/9fsys.c:fsysSync
	/sys/src/cmd/fossil/9fsys.c:fsysUnconfig
	/sys/src/cmd/fossil/9fsys.c:fsysUnhalt
	/sys/src/cmd/fossil/9fsys.c:fsysVac
	/sys/src/cmd/fossil/9fsys.c:fsysVenti
	/sys/src/cmd/fossil/9fsys.c:fsysWstat
	/sys/src/cmd/fossil/9fsys.c:fsysXXX
	/sys/src/cmd/fossil/9fsys.c:fsysXXX1


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to webmaster@9p.io.