/[anubis]/anubis/src/rc.c
ViewVC logotype

Diff of /anubis/src/rc.c

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

revision 1.3 by polak, Sat Feb 1 18:42:17 2003 UTC revision 1.4 by polak, Sun Feb 2 11:21:52 2003 UTC
# Line 238  match_action_guile(char *buf) Line 238  match_action_guile(char *buf)
238          /*          /*
239              Guile              Guile
240          */          */
241    
242          if (strncmp("guile-output", buf, optlen) == 0) {          if (strncmp("guile-output", buf, optlen) == 0) {
243                  ptr = parse_line_option(buf);                  ptr = parse_line_option(buf);
244                  if_empty_quit(ptr);                  if_empty_quit(ptr);
   
245                  xfree(options.guile_logfile);                  xfree(options.guile_logfile);
246                  options.guile_logfile = allocbuf(ptr, MAXPATHLEN);                  options.guile_logfile = allocbuf(ptr, MAXPATHLEN);
247                    return;
248          }          }
249          if (strncmp("guile-debug", buf, optlen) == 0) {          if (strncmp("guile-debug", buf, optlen) == 0) {
250                  ptr = parse_line_option(buf);                  ptr = parse_line_option(buf);
251                  if_empty_quit(ptr);                  if_empty_quit(ptr);
   
252                  guile_debug(strncmp("yes", ptr, 3) == 0);                  guile_debug(strncmp("yes", ptr, 3) == 0);
253                    return;
254          }                }      
255          if (strncmp("guile-load-path-append", buf, optlen) == 0) {          if (strncmp("guile-load-path-append", buf, optlen) == 0) {
256                  ptr = parse_line_option(buf);                  ptr = parse_line_option(buf);
# Line 266  match_action_guile(char *buf) Line 267  match_action_guile(char *buf)
267          if (strncmp("guile-postprocess", buf, optlen) == 0) {          if (strncmp("guile-postprocess", buf, optlen) == 0) {
268                  ptr = parse_line_option(buf);                  ptr = parse_line_option(buf);
269                  if_empty_quit(ptr);                  if_empty_quit(ptr);
   
270                  xfree(options.guile_postprocess);                  xfree(options.guile_postprocess);
271                  options.guile_postprocess = allocbuf(ptr, MAXPATHLEN);                  options.guile_postprocess = allocbuf(ptr, MAXPATHLEN);
272                  return;                  return;

Legend:
Removed from v.1.3  
changed lines
  Added in v.1.4

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26