Ignore:
Timestamp:
Oct 5, 2010, 2:57:03 PM (10 years ago)
Author:
Sam Hocevar
Message:

Make it easier to dynamically allocate the debug filedescriptor later.

File:
1 edited

Legend:

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

    r4665 r4667  
    220220
    221221    /* Set environment variables */
     222    sprintf(buf, "%i", DEBUG_FILENO);
     223    setenv("ZZUF_DEBUGFD", buf, 1);
    222224    sprintf(buf, "%i", opts->seed);
    223225    setenv("ZZUF_SEED", buf, 1);
Note: See TracChangeset for help on using the changeset viewer.