Commit 84fb1fab authored by Jack Jansen's avatar Jack Jansen

Got rid of nfullpath()

parent 26ee1260
...@@ -33,7 +33,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. ...@@ -33,7 +33,6 @@ OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
#include <Aliases.h> #include <Aliases.h>
#include <LowMem.h> #include <LowMem.h>
#include "nfullpath.h"
#include "getapplbycreator.h" #include "getapplbycreator.h"
#ifdef THINK_C #ifdef THINK_C
...@@ -406,7 +405,7 @@ mfss_as_pathname(self, args) ...@@ -406,7 +405,7 @@ mfss_as_pathname(self, args)
if (!newgetargs(args, "")) if (!newgetargs(args, ""))
return NULL; return NULL;
err = nfullpath(&self->fsspec, strbuf); err = PyMac_GetFullPath(&self->fsspec, strbuf);
if ( err ) { if ( err ) {
PyErr_Mac(ErrorObject, err); PyErr_Mac(ErrorObject, err);
return NULL; return NULL;
......
...@@ -584,7 +584,7 @@ MacOS_openrf(PyObject *self, PyObject *args) ...@@ -584,7 +584,7 @@ MacOS_openrf(PyObject *self, PyObject *args)
FILE *tfp; FILE *tfp;
char pathname[257]; char pathname[257];
if ( err=nfullpath(&fss, &pathname) ) { if ( err=PyMac_GetFullPath(&fss, pathname) ) {
PyMac_Error(err); PyMac_Error(err);
Py_DECREF(fp); Py_DECREF(fp);
return NULL; return NULL;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment