Check-in [62d83850be]
Overview
Comment:Corrected typo in previous commit
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA1: 62d83850be7df5a73c4704d5e6b4dc5683944725
User & Date: rkeene on 2010-09-26 04:50:20
Other Links: manifest | tags
Context
2010-09-26
04:50
Fixed missing dependencies for EXTRA_OBJS in kit target check-in: f4f93d09a5 user: rkeene tags: trunk
04:50
Corrected typo in previous commit check-in: 62d83850be user: rkeene tags: trunk
04:50
Updated test for dladdr() to be more comprehensive check-in: 66c3398628 user: rkeene tags: trunk
Changes

Modified kitsh/buildsrc/kitsh-0.0/kitInit.c from [3729076ea4] to [534a43d0fd].

209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
	char procpath[4096];
	char exe_buf[4096];
	int snprintf_ret;
#endif /* HAVE_READLINK */
#ifdef HAVE_ACCEPTABLE_DLADDR
	Dl_info syminfo;
	int dladdr_ret;
#endif /*aHAVE_ACCEPTABLE_DLADDR */ 

#ifdef HAVE_READLINK
	if (Tcl_GetNameOfExecutable() == NULL) {
		snprintf_ret = snprintf(procpath, sizeof(procpath), "/proc/%lu/exe", (unsigned long) getpid());
		if (snprintf_ret < sizeof(procpath)) {
			readlink_ret = readlink(procpath, exe_buf, sizeof(exe_buf) - 1);








|







209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
	char procpath[4096];
	char exe_buf[4096];
	int snprintf_ret;
#endif /* HAVE_READLINK */
#ifdef HAVE_ACCEPTABLE_DLADDR
	Dl_info syminfo;
	int dladdr_ret;
#endif /* HAVE_ACCEPTABLE_DLADDR */ 

#ifdef HAVE_READLINK
	if (Tcl_GetNameOfExecutable() == NULL) {
		snprintf_ret = snprintf(procpath, sizeof(procpath), "/proc/%lu/exe", (unsigned long) getpid());
		if (snprintf_ret < sizeof(procpath)) {
			readlink_ret = readlink(procpath, exe_buf, sizeof(exe_buf) - 1);