- We never pass url's here, just plain old local paths
# define __fxstat64(_stat_ver, _fd, _sbp) fstat64((_fd), (_sbp))
#endif
#include "system.h"
+#include <stdlib.h>
#include <string.h>
#include <errno.h>
#include "build/fts.h"
-#include <rpm/rpmio.h>
-#include <rpm/rpmurl.h>
# define __set_errno(val) (*__errno_location ()) = (val)
# define __open open
# define __close close
goto mem3;
}
- /* Use fchdir(2) speedup only if local DASDI. */
- switch (urlIsURL(*argv)) {
- case URL_IS_DASH:
- case URL_IS_HKP:
- __set_errno (ENOENT);
- goto mem3;
- break;
- case URL_IS_HTTPS:
- case URL_IS_HTTP:
- case URL_IS_FTP:
- SET(FTS_NOCHDIR);
- break;
- case URL_IS_UNKNOWN:
- case URL_IS_PATH:
- break;
- }
-
p = fts_alloc(sp, *argv, len);
if (p == NULL)
goto mem3;