Got rid of nfullpath()

This commit is contained in:
Jack Jansen 1996-11-09 18:46:57 +00:00
parent 26ee1260a2
commit 84fb1fab1f
2 changed files with 2 additions and 3 deletions

View File

@ -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)
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;

View File

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