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.
#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;
......
......@@ -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;
......
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