[Python-checkins] python/dist/src/Mac/Modules hfsplusmodule.c,1.6,1.7

jackjansen@users.sourceforge.net jackjansen@users.sourceforge.net
Fri, 13 Dec 2002 07:02:31 -0800


Update of /cvsroot/python/python/dist/src/Mac/Modules
In directory sc8-pr-cvs1:/tmp/cvs-serv28591/Modules

Modified Files:
	hfsplusmodule.c 
Log Message:
Get rid of support for Universal Headers older than 3.4 and various other
outdated things.


Index: hfsplusmodule.c
===================================================================
RCS file: /cvsroot/python/python/dist/src/Mac/Modules/hfsplusmodule.c,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** hfsplusmodule.c	17 Jul 2002 16:30:34 -0000	1.6
--- hfsplusmodule.c	13 Dec 2002 15:01:21 -0000	1.7
***************
*** 1391,1397 ****
  {
  	UInt32 storage;
- #if UNIVERSAL_INTERFACES_VERSION > 0x0332
  	FSPermissionInfo *permissions;
- #endif
  	
  	// Dates
--- 1391,1395 ----
***************
*** 1402,1406 ****
  	if (fetch_utcdatetime(bitmap, kFSCatInfoBackupDate, dict, _kFSCatInfoBackupDate, &info->backupDate)) return NULL;
  
- #if UNIVERSAL_INTERFACES_VERSION > 0x0332
  	// Permissions
  	permissions = (FSPermissionInfo *) info->permissions;
--- 1400,1403 ----
***************
*** 1411,1415 ****
  	if (fetch_long(bitmap, kFSCatInfoPermissions, dict, _kFSCatInfoUserAccess, &storage)) return NULL;
  	permissions->userAccess = (UInt8) storage;
- #endif
  	// IDs
  	if (fetch_long(bitmap, kFSCatInfoTextEncoding, dict, _kFSCatInfoTextEncoding, &info->textEncodingHint)) return NULL;
--- 1408,1411 ----
***************
*** 1442,1448 ****
  	PyObject *dict;
  	PyObject *id;
- #if UNIVERSAL_INTERFACES_VERSION > 0x0332
  	FSPermissionInfo *permissions;
- #endif
  	char buffer[1024];
  
--- 1438,1442 ----
***************
*** 1474,1478 ****
  	if (insert_longlong(bitmap, kFSCatInfoRsrcSizes, dict, _kFSCatInfoRsrcPhysical, info->rsrcPhysicalSize)) return NULL;
  
- #if UNIVERSAL_INTERFACES_VERSION > 0x0332
  	// Permissions
  	permissions = (FSPermissionInfo *) info->permissions;
--- 1468,1471 ----
***************
*** 1481,1485 ****
  	if (insert_long(bitmap, kFSCatInfoPermissions, dict, _kFSCatInfoUserAccess, permissions->userAccess)) return NULL;
  	if (insert_long(bitmap, kFSCatInfoPermissions, dict, _kFSCatInfoMode, permissions->mode)) return NULL;
- #endif
  
  	// Dates
--- 1474,1477 ----