Change 16549 by jhi@alpha on 2002/05/11 21:41:11

        Subject: [PATCH] a bit more for WinCE
        From: "Vadim Konovalov" <[EMAIL PROTECTED]>
        Date: Sun, 12 May 2002 02:34:24 +0400
        Message-ID: <007b01c1f93c$0e03f960$035cc3d9@vad>

Affected files ...

.... //depot/perl/wince/wince.c#9 edit

Differences ...

==== //depot/perl/wince/wince.c#9 (text) ====
Index: perl/wince/wince.c
--- perl/wince/wince.c#8~16548~ Sat May 11 12:54:43 2002
+++ perl/wince/wince.c  Sat May 11 14:41:11 2002
@@ -947,12 +947,11 @@
 DllExport int
 win32_setmode(int fd, int mode)
 {
-  if(mode != O_BINARY)
-    {
-      Perl_croak(aTHX_ PL_no_func, "setmode");
-      return -1;
-    }
-  return 0;
+    /* currently 'celib' seem to have this function in src, but not
+     * exported. When it will be, we'll uncomment following line.
+     */
+    /* return xcesetmode(fd, mode); */
+    return 0;
 }
 
 DllExport long
End of Patch.

Reply via email to