VirtualBox

Changeset 2281 in kBuild for trunk/src


Ignore:
Timestamp:
Feb 24, 2009 4:08:14 AM (16 years ago)
Author:
bird
Message:

kash/show.c: move the trace file out of the way.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kash/shfile.c

    r2243 r2281  
    4141#endif
    4242
     43#ifdef DEBUG
     44extern FILE *tracefile;
     45#endif
     46
    4347
    4448int shfile_open(shfdtab *pfdtab, const char *name, unsigned flags, mode_t mode)
     
    5357#endif
    5458
    55     TRACE2((NULL, "shfile_open(%p:{%s}, %#x, 0%o) -> %d [%d]\n", name, name, flags, mode, fd, errno));
     59#ifdef DEBUG
     60    if (tracefile)
     61        TRACE2((NULL, "shfile_open(%p:{%s}, %#x, 0%o) -> %d [%d]\n", name, name, flags, mode, fd, errno));
     62#endif
    5663    return fd;
    5764}
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette