Plan 9 from Bell Labs’s /usr/web/sources/contrib/uriel/changes/2006/0225/1

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


tapefs: more 64-bit fixes
 [rsc] --rw-rw-r-- M 1752774 glenda sys 1702 Feb 25 08:53 sys/src/cmd/tapefs/tapefs.h
	/n/sourcesdump/2006/0225/plan9/sys/src/cmd/tapefs/tapefs.h:1,7 - 
	/n/sourcesdump/2006/0226/plan9/sys/src/cmd/tapefs/tapefs.h:1,7
	  #define	g2byte(x)	(((x)[1]<<8) + (x)[0])		/* little-endian */
	  #define	g3byte(x)	(((x)[2]<<16) + ((x)[1]<<8) + (x)[0])
	  #define	g4byte(x)	(((x)[3]<<24) + ((x)[2]<<16) + ((x)[1]<<8) + (x)[0])
	- 
	+ #define	g8byte(x)	(((vlong)g4byte(x)<<32) | (u32int)g4byte(x+4))
	  enum
	  {
	  	OPERM	= 0x3,		/* mask of all permission types in open mode */
	/n/sourcesdump/2006/0225/plan9/sys/src/cmd/tapefs/tapefs.h:40,46 - 
	/n/sourcesdump/2006/0226/plan9/sys/src/cmd/tapefs/tapefs.h:40,46
	  	char	*group;
	  	vlong addr;
	  	void *data;
	- 	long	ndata;
	+ 	vlong	ndata;
	  };
	  
	  enum
 [rsc] --rw-rw-r-- M 1752774 glenda sys 1702 Feb 25 08:53 sys/src/cmd/tapefs/tapefs.h


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].