Robert Alan Byer wrote:
-----BEGIN PGP SIGNED MESSAGE-----


Attached is a patch for OpenVMS for xmame-0.78.1/src/unix/config.c


In OpenVMS, directorys can't begin with a "." so a directory like ".xmame"
is invalid (but you can have a file starting with a "." like ".cvspass")
and will return an error and things won't run :)

The patch just "#ifdef" all the paths for OpenVMS to remove the leading
"." so instead of ".xmame" on OpenVMS we have just "xmame".

Applied, but in a less intrusive form:


/* OpenVMS doesn't support paths with a leading '.' character. */
#if defined(__DECC) && defined(VMS)
#define PATH_LEADER
#else
#define PATH_LEADER "."
#endif

.
.
.

snprintf(buffer, BUF_SIZE, "%s/"PATH_LEADER"%s", home_dir, NAME);

and so on...

_______________________________________________
Xmame mailing list
[EMAIL PROTECTED]
http://toybox.twisted.org.uk/mailman/listinfo/xmame

Reply via email to