util  Check-in [6db4e12bdd]

Overview
Comment:remove debug code oops
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 6db4e12bdd8c83acb36f701bc9bfc709d3dd5c14fb29a0d6a29f2a876a488a4b
User & Date: lexi on 2019-07-25 23:29:48
Other Links: manifest | tags
Context
2019-07-25
23:59
fix make instructions check-in: 352d72f9c6 user: lexi tags: trunk
23:29
remove debug code oops check-in: 6db4e12bdd user: lexi tags: trunk
23:28
use `#pragma optimize` blast shield to prevent optimization segfaults on GCC check-in: 193c065041 user: lexi tags: trunk
Changes

Modified nkvd.c from [ef67c2aa68] to [6fd3f35c89].

   316    316   	decl_xstat_ptr(xstat);
   317    317   	decl_xstat_ptr(xstat64);
   318    318   	decl_xstat_ptr(lxstat);
   319    319   	decl_xstat_ptr(lxstat64);
   320    320   #endif
   321    321   
   322    322   int nkvd_stat(int (*volatile fn)(STAT_PARAMS), STAT_PARAMS) {
   323         -	printf(bold("nkvd") " stat: %p\n", fn);
   324    323   	if (intercept) {
   325    324   		size_t plen = strlen(path);
   326    325   		char gulag[redir_len + plen];
   327    326   		if (interrogate(path, plen, gulag)) {
   328    327   			return (*fn)(gulag,statbuf);
   329    328   		}
   330    329   	}
   331    330   	return (*fn)(path,statbuf);
   332    331   }
   333    332   
   334    333   int nkvd_xstat(int (*volatile fn)(XSTAT_PARAMS), XSTAT_PARAMS) {
   335         -	printf(bold("nkvd") " xstat: %p\n", fn);
   336    334   	if (intercept) {
   337    335   		size_t plen = strlen(path);
   338    336   		char gulag[redir_len + plen];
   339    337   		if (interrogate(path, plen, gulag)) {
   340    338   			return (*fn)(ver,gulag,statbuf);
   341    339   		}
   342    340   	}