Changeset d12a8c7 for functions.c


Ignore:
Timestamp:
Jul 16, 2010, 7:43:42 PM (14 years ago)
Author:
Nelson Elhage <nelhage@mit.edu>
Branches:
master, release-1.10, release-1.7, release-1.8, release-1.9
Children:
50522b5
Parents:
c5873be
git-author:
Nelson Elhage <nelhage@mit.edu> (07/15/10 23:35:12)
git-committer:
Nelson Elhage <nelhage@mit.edu> (07/16/10 19:43:42)
Message:
Keep the debug file open persistently.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • functions.c

    r7ba9e0de rd12a8c7  
    12041204    return;
    12051205
    1206   file = fopen(owl_global_get_debug_file(&g), "a");
     1206  file = owl_global_get_debug_file_handle(&g);
    12071207  if (!file) /* XXX should report this */
    12081208    return;
     
    12141214  vfprintf(file, fmt, ap);
    12151215  putc('\n', file);
    1216   fclose(file);
     1216  fflush(file);
    12171217
    12181218  va_end(ap);
Note: See TracChangeset for help on using the changeset viewer.