Ignore:
Timestamp:
Sep 25, 2005, 1:01:36 PM (20 years ago)
Author:
bird
Message:

o Implemented fchdir().
o Implemented inheritance of open directory handles. Unfortunately,

I ran out of size bits for the bundle type, so the SPM bit is no
longer compatible with earlier versions. The consequences
of this are related to inheritance and signaling - so recompile!

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/emx/include/fts.h

    • Property cvs2svn:cvs-rev changed from 1.3 to 1.4
    r2322 r2323  
    4949        dev_t fts_dev;                  /* starting device # */
    5050        char *fts_path;                 /* path for this descent */
    51 #ifdef __EMX__
    52         char *fts_rdir;                 /* path of root */
    53 #else
    5451        int fts_rfd;                    /* fd for root */
    55 #endif
    5652        int fts_pathlen;                /* sizeof(path) */
    5753        int fts_nitems;                 /* elements in the sort array */
     
    6662#define FTS_SEEDOT      0x020           /* return dot and dot-dot */
    6763#define FTS_XDEV        0x040           /* don't cross devices */
    68 #ifndef __EMX__
    6964#define FTS_WHITEOUT    0x080           /* return whiteout information */
    70 #endif
    7165#define FTS_OPTIONMASK  0x0ff           /* valid user option mask */
    7266
     
    8680        char *fts_path;                 /* root path */
    8781        int fts_errno;                  /* errno for this node */
    88 #ifndef __EMX__
    8982        int fts_symfd;                  /* fd for symlink */
    90 #endif
    9183        u_short fts_pathlen;            /* strlen(fts_path) */
    9284        u_short fts_namelen;            /* strlen(fts_name) */
     
    113105#define FTS_SL          12              /* symbolic link */
    114106#define FTS_SLNONE      13              /* symbolic link without target */
    115 #ifndef __EMX__
    116107#define FTS_W           14              /* whiteout object */
    117 #endif
    118108        u_short fts_info;               /* user flags for FTSENT structure */
    119109
    120110#define FTS_DONTCHDIR    0x01           /* don't chdir .. to the parent */
    121111#define FTS_SYMFOLLOW    0x02           /* followed a symlink to get here */
    122 #ifndef __EMX__
    123112#define FTS_ISW          0x04           /* this is a whiteout object */
    124 #endif
    125113        u_short fts_flags;              /* private flags for FTSENT structure */
    126114
Note: See TracChangeset for help on using the changeset viewer.