Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2005/0922/13

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


Handle DMDIR bit correctly.
 [rsc] --rw-rw-r-- M 191333 glenda sys 6284 Sep 22 09:04 sys/src/cmd/aux/9pcon.c
	/n/sourcesdump/2005/0922/plan9/sys/src/cmd/aux/9pcon.c:127,133 - 
	/n/sourcesdump/2005/0923/plan9/sys/src/cmd/aux/9pcon.c:127,133
	  {
	  	f->fid = atoi(argv[0]);
	  	f->name = argv[1];
	- 	f->perm = strtol(argv[2], 0, 8);
	+ 	f->perm = strtoul(argv[2], 0, 8);
	  	f->mode = atoi(argv[3]);
	  	return nil;
	  }
 [sys] --rwxrwxr-x M 191333 glenda sys 94916 Sep 22 23:10 386/bin/aux/9pcon
	/sys/src/cmd/aux/9pcon.c:tcreate


Bell Labs OSI certified Powered by Plan 9

(Return to Plan 9 Home Page)

Copyright © 2021 Plan 9 Foundation. All Rights Reserved.
Comments to [email protected].