diff --git a/Mac/Modules/macfsmodule.c b/Mac/Modules/macfsmodule.c index 91e63ebcd71..e8a7fb9549e 100644 --- a/Mac/Modules/macfsmodule.c +++ b/Mac/Modules/macfsmodule.c @@ -33,7 +33,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. #include #include -#include "nfullpath.h" #include "getapplbycreator.h" #ifdef THINK_C @@ -406,7 +405,7 @@ mfss_as_pathname(self, args) if (!newgetargs(args, "")) return NULL; - err = nfullpath(&self->fsspec, strbuf); + err = PyMac_GetFullPath(&self->fsspec, strbuf); if ( err ) { PyErr_Mac(ErrorObject, err); return NULL; diff --git a/Mac/Modules/macosmodule.c b/Mac/Modules/macosmodule.c index 5ad53b4c22e..5c5e3c5acea 100644 --- a/Mac/Modules/macosmodule.c +++ b/Mac/Modules/macosmodule.c @@ -584,7 +584,7 @@ MacOS_openrf(PyObject *self, PyObject *args) FILE *tfp; char pathname[257]; - if ( err=nfullpath(&fss, &pathname) ) { + if ( err=PyMac_GetFullPath(&fss, pathname) ) { PyMac_Error(err); Py_DECREF(fp); return NULL;