diff options
author | Jack Jansen <jack.jansen@cwi.nl> | 1996-11-09 18:46:57 (GMT) |
---|---|---|
committer | Jack Jansen <jack.jansen@cwi.nl> | 1996-11-09 18:46:57 (GMT) |
commit | 84fb1fab1ffb7e39e6c831668938c924d1a693dd (patch) | |
tree | 4643343c61f0aaff34795dc50f338134c3a2a8dc | |
parent | 26ee1260a20dba4ed89165e187c8db74b8de82a8 (diff) | |
download | cpython-84fb1fab1ffb7e39e6c831668938c924d1a693dd.zip cpython-84fb1fab1ffb7e39e6c831668938c924d1a693dd.tar.gz cpython-84fb1fab1ffb7e39e6c831668938c924d1a693dd.tar.bz2 |
Got rid of nfullpath()
-rw-r--r-- | Mac/Modules/macfsmodule.c | 3 | ||||
-rw-r--r-- | Mac/Modules/macosmodule.c | 2 |
2 files changed, 2 insertions, 3 deletions
diff --git a/Mac/Modules/macfsmodule.c b/Mac/Modules/macfsmodule.c index 91e63eb..e8a7fb9 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 <Aliases.h> #include <LowMem.h> -#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 5ad53b4..5c5e3c5 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; |