Got rid of nfullpath()
This commit is contained in:
parent
26ee1260a2
commit
84fb1fab1f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue