Plan 9 from Bell Labs’s /usr/web/sources/extra/changes/2005/0915

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


Ask for UTF-8 back from server.
 [rsc] --rw-rw-r-- M 137260 glenda sys 4610 Sep 15 10:41 sys/src/cmd/aux/cddb.c
	/n/sourcesdump/2005/0915/plan9/sys/src/cmd/aux/cddb.c:116,121 - 
	/n/sourcesdump/2005/0916/plan9/sys/src/cmd/aux/cddb.c:116,132
	  	if((p = Brdline(&bin, '\n')) == nil || atoi(p)/100 != 2)
	  		goto died;
	  
	+ 	/*
	+ 	 *	Protocol level 6 is the same as level 5 except that
	+ 	 *	the character set is now UTF-8 instead of ISO-8859-1. 
	+  	 */
	+ 	fprint(fd, "proto 6\r\n");
	+ 	DPRINT(2, "proto 6\r\n");
	+ 	if((p = Brdline(&bin, '\n')) == nil || atoi(p)/100 != 2)
	+ 		goto died;
	+ 	p[Blinelen(&bin)-1] = 0;
	+ 	DPRINT(2, "cddb: %s\n", p);
	+ 
	  	fprint(fd, "cddb query %8.8lux %d", t->diskid, t->ntrack);
	  	DPRINT(2, "cddb query %8.8lux %d", t->diskid, t->ntrack);
	  	for(i=0; i<t->ntrack; i++) {
 [sys] --rwxrwxr-x M 137260 glenda sys 72218 Sep 15 23:10 386/bin/aux/cddb
	/sys/src/cmd/aux/cddb.c:cddbfilltoc
	/sys/src/cmd/aux/cddb.c:main
	/sys/src/cmd/aux/cddb.c:usage


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.