/[path-sandbox]/trunk/src/sandbox.c
Gentoo

Diff of /trunk/src/sandbox.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 142 Revision 144
112 read(sandbox_log_file, buffer, len); 112 read(sandbox_log_file, buffer, len);
113 close(sandbox_log_file); 113 close(sandbox_log_file);
114 114
115 color = ((getenv("NOCOLOR") != NULL) ? 0 : 1); 115 color = ((getenv("NOCOLOR") != NULL) ? 0 : 1);
116 116
117 if (color) 117 EERROR(color,
118 printf("\e[31;01m");
119 printf("--------------------------- ACCESS VIOLATION SUMMARY ---------------------------"); 118 "--------------------------- ACCESS VIOLATION SUMMARY ---------------------------",
120 if (color) 119 "\n");
121 printf("\033[0m"); 120 EERROR(color, "LOG FILE = \"%s\"", "\n\n", sandbox_log);
122 if (color)
123 printf("\e[31;01m");
124 printf("\nLOG FILE = \"%s\"", sandbox_log);
125 if (color)
126 printf("\033[0m");
127 printf("\n\n");
128 printf("%s", buffer); 121 fprintf(stderr, "%s", buffer);
129 if (buffer) 122 if (NULL != buffer)
130 free(buffer); 123 free(buffer);
131 buffer = NULL; 124 EERROR(color,
132 printf("\e[31;01m--------------------------------------------------------------------------------\033[0m\n"); 125 "--------------------------------------------------------------------------------",
126 "\n");
133 127
134 beep_count_env = getenv(ENV_SANDBOX_BEEP); 128 beep_count_env = getenv(ENV_SANDBOX_BEEP);
135 if (beep_count_env) 129 if (beep_count_env)
136 beep_count = atoi(beep_count_env); 130 beep_count = atoi(beep_count_env);
137 else 131 else

Legend:
Removed from v.142  
changed lines
  Added in v.144

  ViewVC Help
Powered by ViewVC 1.1.20