Deleted Added
full compact
28c28
< * $Id$
---
> * $Id: svr4_util.h,v 1.2 1999/07/30 12:45:21 newton Exp $
74,75c74,82
< #define CHECKALTEXIST(p, sgp, path) \
< svr4_emul_find(p, sgp, svr4_emul_path, path, &(path), 0)
---
> #define CHECKALT(p, sgp, path, i) \
> do { \
> int _error; \
> \
> _error = svr4_emul_find(p, sgp, svr4_emul_path, path, \
> &path, i); \
> if (_error == EFAULT) \
> return (_error); \
> } while (0)
77,78c84,85
< #define CHECKALTCREAT(p, sgp, path) \
< svr4_emul_find(p, sgp, svr4_emul_path, path, &(path), 1)
---
> #define CHECKALTEXIST(p, sgp, path) CHECKALT(p, sgp, path, 0)
> #define CHECKALTCREAT(p, sgp, path) CHECKALT(p, sgp, path, 1)