From: Gurusamy Sarathy Date: Sat, 4 Mar 2000 06:42:47 +0000 (+0000) Subject: fix OS/2 coredump with POSIX::tmpnam() (from Ilya Zakharevich) X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=bddf753545b1f99202363952f36834e27d029d13;p=p5sagit%2Fp5-mst-13.2.git fix OS/2 coredump with POSIX::tmpnam() (from Ilya Zakharevich) p4raw-id: //depot/perl@5519 --- diff --git a/os2/os2ish.h b/os2/os2ish.h index f254b5c..8b7613e 100644 --- a/os2/os2ish.h +++ b/os2/os2ish.h @@ -239,6 +239,9 @@ int my_syspclose(PerlIO *f); FILE *my_tmpfile (void); char *my_tmpnam (char *); +#undef L_tmpnam +#define L_tmpnam MAXPATHLEN + #define tmpfile my_tmpfile #define tmpnam my_tmpnam #define isatty _isterm