Ignore:
Timestamp:
May 12, 2009 2:31:20 PM (5 years ago)
Author:
pterjan
Message:
  • Empty debug file when starting, and give it a better name
File:
1 edited

Legend:

Unmodified
Added
Removed
  • neercs/trunk/src/server.c

    r3438 r3441  
    491491        if(fd != 0) 
    492492            close(fd); 
    493         fd = open("/tmp/log.txt", O_RDWR|O_CREAT, S_IRUSR|S_IWUSR); 
     493        fd = open("/tmp/neercs-debug.txt", O_TRUNC|O_RDWR|O_CREAT, S_IRUSR|S_IWUSR); 
    494494        dup2(fd, 1); 
    495495        dup2(fd, 2); 
Note: See TracChangeset for help on using the changeset viewer.