mirror of https://github.com/python/cpython
xstat() will never be implemented under Carbon. Fortunately it also doesn't appear to be used anywhere.
This commit is contained in:
parent
bef8f68d84
commit
d9d0b5fab1
|
@ -31,8 +31,8 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
#include <string.h>
|
#include <string.h>
|
||||||
#include <errno.h>
|
#include <errno.h>
|
||||||
|
|
||||||
#if !TARGET_API_MAC_CARBON_NOTYET
|
#if !TARGET_API_MAC_CARBON
|
||||||
/* XXXX Skip for Carbon, for now */
|
/* Skip for Carbon */
|
||||||
#include "macstat.h"
|
#include "macstat.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
@ -51,7 +51,7 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
|
||||||
#include <sys/types.h>
|
#include <sys/types.h>
|
||||||
#include <sys/stat.h>
|
#include <sys/stat.h>
|
||||||
#else /* USE_GUSI */
|
#else /* USE_GUSI */
|
||||||
#if !TARGET_API_MAC_CARBON_NOTYET
|
#if !TARGET_API_MAC_CARBON
|
||||||
#define stat macstat
|
#define stat macstat
|
||||||
#endif
|
#endif
|
||||||
#endif /* USE_GUSI */
|
#endif /* USE_GUSI */
|
||||||
|
@ -499,7 +499,7 @@ mac_fstat(self, args)
|
||||||
}
|
}
|
||||||
#endif /* WEHAVE_FSTAT */
|
#endif /* WEHAVE_FSTAT */
|
||||||
|
|
||||||
#if !TARGET_API_MAC_CARBON_NOTYET
|
#if !TARGET_API_MAC_CARBON
|
||||||
static PyObject *
|
static PyObject *
|
||||||
mac_xstat(self, args)
|
mac_xstat(self, args)
|
||||||
PyObject *self;
|
PyObject *self;
|
||||||
|
@ -623,7 +623,7 @@ static struct PyMethodDef mac_methods[] = {
|
||||||
{"rename", mac_rename},
|
{"rename", mac_rename},
|
||||||
{"rmdir", mac_rmdir},
|
{"rmdir", mac_rmdir},
|
||||||
{"stat", mac_stat},
|
{"stat", mac_stat},
|
||||||
#if !TARGET_API_MAC_CARBON_NOTYET
|
#if !TARGET_API_MAC_CARBON
|
||||||
{"xstat", mac_xstat},
|
{"xstat", mac_xstat},
|
||||||
#endif
|
#endif
|
||||||
{"sync", mac_sync},
|
{"sync", mac_sync},
|
||||||
|
|
Loading…
Reference in New Issue