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-Tag: accepted/trunk/20130322.191538~35270 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bddf753545b1f99202363952f36834e27d029d13;p=platform%2Fupstream%2Fperl.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