VirtualBox

Changeset 1261 in kBuild


Ignore:
Timestamp:
Nov 9, 2007 11:18:46 PM (17 years ago)
Author:
bird
Message:

KMK_PRF

Location:
trunk/src/kmk/w32
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/kmk/w32/compat/dirent.c

    r503 r1261  
    2222#include <string.h>
    2323#include <stdlib.h>
     24#ifdef KMK_PRF
     25# include <stdio.h>
     26#endif
    2427#include "dirent.h"
    2528
     
    7982        pDir->dir_ulCookie = __DIRENT_COOKIE;
    8083
     84#ifdef KMK_PRF
     85        fprintf(stderr, "opendir(%s) -> %p\n", pDirName, pDir);
     86#endif
    8187        return pDir;
    8288}
  • trunk/src/kmk/w32/pathstuff.c

    r1165 r1261  
    155155          }
    156156      }
     157#ifdef KMK_PRF
     158    {
     159        int err = errno;
     160        fprintf(stderr, "stat(%s,) -> %d/%d\n", path, rc, errno);
     161        errno = err;
     162    }
     163#endif
    157164    return rc;
    158165}
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