[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]

remove unneeded patch for POSIX.xs on os2



The os2/POSIX.mkfifo patch doesn't seem to be needed anymore.
It adds:
+ #ifndef HAS_MKFIFO
+ #define mkfifo(a,b) not_here("mkfifo")
+ #endif

but POSIX.xs already has:
#  ifndef HAS_MKFIFO
#    ifdef OS2
#      define mkfifo(a,b) not_here("mkfifo")
#    else   /* !( defined OS2 ) */
#      ifndef mkfifo
#        define mkfifo(path, mode) (mknod((path), (mode) | S_IFIFO, 0))
#      endif
#    endif
#  endif /* !HAS_MKFIFO */

Please apply the following with patch -E:

diff -ur perl5.005_63/README.os2 perl5.005_63+/README.os2
--- perl5.005_63/README.os2	Tue Jul 20 11:17:40 1999
+++ perl5.005_63+/README.os2	Thu Jan  6 12:22:24 2000
@@ -809,10 +809,8 @@
 
 =head2 Application of the patches
 
-You need to apply the patches in F<./os2/diff.*> and
-F<./os2/POSIX.mkfifo> like this:
+You need to apply the patches in F<./os2/diff.*> like this:
 
-  gnupatch -p0 < os2\POSIX.mkfifo
   gnupatch -p0 < os2\diff.configure
 
 You may also need to apply the patches supplied with the binary
diff -ur perl5.005_63/os2/POSIX.mkfifo perl5.005_63+/os2/POSIX.mkfifo
--- perl5.005_63/os2/POSIX.mkfifo	Tue Jul 20 11:18:12 1999
+++ perl5.005_63+/os2/POSIX.mkfifo	Thu Jan  6 12:11:16 2000
@@ -1,16 +0,0 @@
-diff -cr ..\perl5os2.patch\perl5.001m.andy/ext/POSIX/POSIX.xs ./ext/POSIX/POSIX.xs
-*** ../perl5os2.patch/perl5.001m.andy/ext/POSIX/POSIX.xs	Tue May 23 11:54:26 1995
---- ./ext/POSIX/POSIX.xs	Thu Sep 28 00:00:16 1995
-***************
-*** 81,86 ****
---- 81,90 ----
-  /* Possibly needed prototypes */
-  char *cuserid (char *);
-  
-+ #ifndef HAS_MKFIFO
-+ #define mkfifo(a,b) not_here("mkfifo")
-+ #endif
-+ 
-  #ifndef HAS_CUSERID
-  #define cuserid(a) (char *) not_here("cuserid")
-  #endif


[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index][Thread Index][Top&Search][Original]