Ignore:
Timestamp:
Jan 25, 2007, 11:34:28 PM (16 years ago)
Author:
Sam Hocevar
Message:
  • Carry DEBUG_FILENO in the ZZUF_DEBUG environment variable.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/src/libzzuf.c

    r1717 r1718  
    5252/* Global variables */
    5353int   _zz_ready    = 0;
    54 int   _zz_hasdebug = 0;
     54int   _zz_debugfd  = -1;
    5555int   _zz_signal   = 0;
    5656int   _zz_memory   = 0;
     
    6666
    6767    tmp = getenv("ZZUF_DEBUG");
    68     if(tmp && *tmp == '1')
    69         _zz_hasdebug = 1;
     68    if(tmp)
     69        _zz_debugfd = atoi(tmp);
    7070
    7171    tmp = getenv("ZZUF_SEED");
Note: See TracChangeset for help on using the changeset viewer.