return 0;
}
sysopt.pointsmin = temp;
-#ifdef PANICTRACE_GLIBC
- } else if ( (src==SET_IN_SYS) && match_varname(buf, "PANICTRACE_GLIBC", 16)) {
+# ifdef PANICTRACE
+# ifdef PANICTRACE_GLIBC
+ } else if (src == SET_IN_SYS &&
+ match_varname(buf, "PANICTRACE_GLIBC", 16)) {
int temp = atoi(bufp);
- if(temp < 1 || temp > 2){
+ if (temp < 0 || temp > 2) {
raw_printf("Illegal value in PANICTRACE_GLIBC (not 0,1,2).");
return 0;
}
sysopt.panictrace_glibc = temp;
-#endif
- } else if ( (src==SET_IN_SYS) && match_varname(buf, "PANICTRACE_GDB", 14)) {
+# endif /* PANICTRACE_GLIBC */
+ } else if (src == SET_IN_SYS &&
+ match_varname(buf, "PANICTRACE_GDB", 14)) {
int temp = atoi(bufp);
- if(temp < 1 || temp > 2){
+ if (temp < 0 || temp > 2) {
raw_printf("Illegal value in PANICTRACE_GDB (not 0,1,2).");
return 0;
}
if(sysopt.greppath) free(sysopt.greppath);
sysopt.greppath = (char*)alloc(strlen(bufp)+1);
Strcpy(sysopt.greppath, bufp);
-#endif
+# endif /* PANICTRACE */
+#endif /* SYSCF */
} else if (match_varname(buf, "BOULDER", 3)) {
(void) get_uchars(fp, buf, bufp, &iflags.bouldersym, TRUE,
1, "BOULDER");