Check-in [2bb04fd22b]
Overview
Comment:Made exit path ifdef more consistent
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1:2bb04fd22b2c60031c16c3404569f362b0abf009
User & Date: rkeene on 2014-11-14 17:26:26
Other Links: manifest | tags
Context
2014-11-14
21:44
Updated to use TCL_DEFS from tclConfig.sh check-in: 24908ac300 user: rkeene tags: trunk
17:26
Made exit path ifdef more consistent check-in: 2bb04fd22b user: rkeene tags: trunk
17:25
Enabled exit path by default in debug mode check-in: 76965f13c9 user: rkeene tags: trunk
Changes

Modified appfsd.c from [3133466dff] to [b7668e46f2].

   918    918   	if (real_path == NULL) {
   919    919   		return(NULL);
   920    920   	}
   921    921   
   922    922   	return(strdup(real_path));
   923    923   }
   924    924   
   925         -#ifdef APPFS_EXIT_PATH
          925  +#if (defined(DEBUG) && defined(APPFS_EXIT_PATH)) || defined(APPFS_EXIT_PATH_ENABLE_MAJOR_SECURITY_HOLE)
   926    926   static void appfs_exit(void) {
   927    927   	int global_interp_reset_key;
   928    928   
   929    929   	global_interp_reset_key = __sync_fetch_and_add(&interp_reset_key, 0);
   930    930   	__sync_fetch_and_sub(&interp_reset_key, global_interp_reset_key);
   931    931   
   932    932   	while (__sync_sub_and_fetch(&interp_reset_key, 1) >= 0) {