tempBuf = nr_PathFromMacAlias(stackBuf, stackBufSize);
static REGERR vr_GetPathname(HREG reg, RKEY key, char *entry, char *buf, uint32 sizebuf){    REGERR  err;    REGINFO info;        info.size = sizeof(REGINFO);        #ifndef XP_MAC     	err = NR_RegGetEntry( reg, key, entry, (void*)buf, &sizebuf );	   	return err;#else        err = NR_RegGetEntryInfo( reg, key, entry, &info );        if (err != REGERR_OK) 		return err;        if (info.entryType == REGTYPE_ENTRY_FILE ||    	info.entryType == REGTYPE_ENTRY_STRING_UTF )    {    	err = NR_RegGetEntry( reg, key, entry, (void*)buf, &sizebuf );	    }    else if (info.entryType == REGTYPE_ENTRY_BYTES)    {    	extern char * nr_PathFromMacAlias(const void * alias, uint32 aliasLength);    	    	#define MAC_ALIAS_BUFFER_SIZE 4000		char stackBuf[MAC_ALIAS_BUFFER_SIZE];		uint32 stackBufSize = MAC_ALIAS_BUFFER_SIZE;		char * tempBuf;			    err = NR_RegGetEntry( reg, key, entry, (void*)stackBuf, &stackBufSize );				if (err != REGERR_OK)			return err;		tempBuf = nr_PathFromMacAlias(stackBuf, stackBufSize);		        if (tempBuf == NULL)         {            /* don't change error w/out changing vr_SetCurrentNav to match */			buf[0] = '\0';			err = REGERR_NOFILE;         }		else 		{			if (XP_STRLEN(tempBuf) > sizebuf)				err = REGERR_BUFTOOSMALL;			else				XP_STRCPY(buf, tempBuf);				    XP_FREE(tempBuf);        }	}	else	{		/* what did we put here?? */		err = REGERR_BADTYPE;	}        return err;#endif     }