Some of these were overwriting their argument with a pascal
string. Use own Pstring() routine (which uses a static buffer) everywhere.
diff --git a/Mac/Compat/macstat.c b/Mac/Compat/macstat.c
index 564da10..0f690e0 100644
--- a/Mac/Compat/macstat.c
+++ b/Mac/Compat/macstat.c
@@ -21,10 +21,9 @@
FileParam f;
HFileInfo hf;
} pb;
- char name[256];
short err;
- pb.d.ioNamePtr = (unsigned char *)c2pstr(strcpy(name, path));
+ pb.d.ioNamePtr = (unsigned char *)Pstring(path);
pb.d.ioVRefNum = 0;
pb.d.ioFDirIndex = 0;
pb.d.ioDrDirID = 0;