Check-in [5f2895faba]
Overview
Comment:Undefine macros because we may concatencat translation units in some modes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 5f2895fabab361ce0cad50a518309153b1f77f5596a24ed245fc1784226f6981
User & Date: rkeene on 2019-09-17 05:06:06
Other Links: manifest | tags
Context
2019-09-17
05:43
Restructured things a bit check-in: a101629cc6 user: rkeene tags: trunk
05:06
Undefine macros because we may concatencat translation units in some modes check-in: 5f2895faba user: rkeene tags: trunk
01:55
xvfs_perror -> xvfs_strerror, which is what it should have been named check-in: cf56967f97 user: rkeene tags: trunk
Changes

Modified xvfs-core.c from [37f3df09d1] to [b50c976369].

1214
1215
1216
1217
1218
1219
1220







1214
1215
1216
1217
1218
1219
1220
1221
1222
1223
1224
1225
1226
1227







+
+
+
+
+
+
+
	new = 0;
	mapEntry = Tcl_CreateHashEntry(&xvfs_tclfs_dispatch_map, fsInfo->name, &new);
	Tcl_SetHashValue(mapEntry, instanceInfo);

	return(TCL_OK);
}
#endif /* XVFS_MODE_SERVER */
#undef XVFS_DEBUG_PRINTF
#undef XVFS_DEBUG_PUTS
#undef XVFS_DEBUG_ENTER
#undef XVFS_DEBUG_LEAVE
#undef XVFS_INTERNAL_SERVER_MAGIC
#undef XVFS_INTERNAL_SERVER_MAGIC_LEN
#undef XVFS_ROOT_MOUNTPOINT

Modified xvfs-core.h from [b57f187c12] to [8640d3027d].

71
72
73
74
75
76
77

78
79
80
81
82
83
84
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85







+







 */
XVFS_REGISTER_INTERFACE(Xvfs_Register)
int Xvfs_Init(Tcl_Interp *interp);

#else
#  error Unsupported XVFS_MODE
#endif
#undef XVFS_REGISTER_INTERFACE

/*
 * In flexible or standalone mode, directly include what
 * would otherwise be a separate translation unit, to
 * avoid symbols leaking
 */
#if defined(XVFS_MODE_FLEXIBLE) || defined(XVFS_MODE_STANDALONE)

Modified xvfs.c.rvt from [a0ec1f3372] to [19ca754e24].

231
232
233
234
235
236
237


231
232
233
234
235
236
237
238
239







+
+
	register_ret = Xvfs_Register(interp, &xvfs_<?= $::xvfs::fsName ?>_fsInfo);
	if (register_ret != TCL_OK) {
		return(register_ret);
	}
	
	return(TCL_OK);
}
#undef XVFS_NAME_LOOKUP_ERROR
#undef XVFS_FILE_BLOCKSIZE