Plan 9 from Bell Labs’s /usr/web/sources/extra/changes/2007/0416

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


/sys/man/1/history
% cat >/sys/lib/dist/changes/1176744622.0.txt << EOF
Fix the explanation of history -b.
EOF
 [geoff] --rw-rw-r-- M 41 glenda sys 1706 Apr 16 13:20 sys/man/1/history
	/n/sourcesdump/2007/0416/plan9/sys/man/1/history:53,59 - 
	/n/sourcesdump/2007/0417/plan9/sys/man/1/history:53,60
	  option causes
	  .IR diff (1)
	  .B -n
	- to be run for each adjacent pair of dump files, while
	+ to be run for each adjacent pair of dump files.
	+ Adding
	  .B -b
	  runs
	  .IR diff
	/n/sourcesdump/2007/0416/plan9/sys/man/1/history:79,85 - 
	/n/sourcesdump/2007/0417/plan9/sys/man/1/history:80,85
	  option
	  sets the starting (most recent) date for the output.
	  .SH EXAMPLES
	- .PP
	  Check how often a user has been logged in.
	  .IP
	  .EX

/sys/src/cmd/ndb/dnsdebug.c
% cat >/sys/lib/dist/changes/1176748206.0.txt << EOF
Be less patient waiting for request timeouts (wait only 30 seconds
instead of 60).
EOF
 [geoff] --rw-rw-r-- M 41 glenda sys 8741 Apr 16 14:09 sys/src/cmd/ndb/dnsdebug.c
	/n/sourcesdump/2007/0416/plan9/sys/src/cmd/ndb/dnsdebug.c:319,325 - 
	/n/sourcesdump/2007/0417/plan9/sys/src/cmd/ndb/dnsdebug.c:319,325
	  			continue;
	  		}
	  		req.isslave = 1;
	- 		req.aborttime = now + Maxreqtm*2;	/* be patient */
	+ 		req.aborttime = now + Maxreqtm;
	  		*l = dnresolve(rp->host->name, Cin, Ta, &req, 0, 0, Recurse, 0, 0);
	  		while(*l != nil)
	  			l = &(*l)->next;
	/n/sourcesdump/2007/0416/plan9/sys/src/cmd/ndb/dnsdebug.c:421,427 - 
	/n/sourcesdump/2007/0417/plan9/sys/src/cmd/ndb/dnsdebug.c:421,427
	  	memset(&req, 0, sizeof req);
	  	getactivity(&req, 0);
	  	req.isslave = 1;
	- 	req.aborttime = now + Maxreqtm*2;	/* be patient */
	+ 	req.aborttime = now + Maxreqtm;
	  	rr = dnresolve(buf, Cin, type, &req, 0, 0, Recurse, rooted, 0);
	  	if(rr){
	  		print("----------------------------\n");

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.