fix OS/2 coredump with POSIX::tmpnam() (from Ilya Zakharevich)
authorGurusamy Sarathy <gsar@cpan.org>
Sat, 4 Mar 2000 06:42:47 +0000 (06:42 +0000)
committerGurusamy Sarathy <gsar@cpan.org>
Sat, 4 Mar 2000 06:42:47 +0000 (06:42 +0000)
p4raw-id: //depot/perl@5519

os2/os2ish.h

index f254b5c..8b7613e 100644 (file)
@@ -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