[EMAIL PROTECTED] wrote on 02/23/2005 08:10:49 PM:

[snip /]

> I am sorry to say that I cannot help much here other than to point
> out the examination of your fabdef.h header could help out, then pehaps
> introducing some sensitivity to macros like:

Yes, I was pursuing conditionalizing on __VMS_VER. For some reason it 
didn't occur to me to just

#ifdef fab$v_erl

even though I knew that was what was missing. Duh!

[major snip /]

The patch I have is:

--- stat.xs_orig        2005-02-23 09:40:11.917500000 -0500
+++ stat.xs     2005-02-24 10:33:38.974375000 -0500
@@ -143,7 +143,11 @@
            /* sv_setpv(ST(i),"eof"); i++; */
            /* erl aka ERASE */
            sv_setpv(ST(i),"erase"); i++;
+#ifdef fab$v_erl       /* Not everyone has this. */
             ST(i) = ( fab.fab$v_erl ) ? &PL_sv_yes : &PL_sv_no; i++;
+#else
+            ST(i) = &PL_sv_no; i++;
+#endif
            /* ffb */
            sv_setpv(ST(i),"fsz"); i++;
            sv_setiv(ST(i),fab.fab$b_fsz); i++;

The dates in the patch file are going to be bogus, because it was 
generated under CygWin on a copy of the .XS. But that didn't cause me any 
problem when I applied it with gpatch.

I have attached the patch file as well, for the same reasons you did.

Thank you very much,
Tom Wyant





This communication is for use by the intended recipient and contains 
information that may be privileged, confidential or copyrighted under
applicable law.  If you are not the intended recipient, you are hereby
formally notified that any use, copying or distribution of this e-mail,
in whole or in part, is strictly prohibited.  Please notify the sender
by return e-mail and delete this e-mail from your system.  Unless
explicitly and conspicuously designated as "E-Contract Intended",
this e-mail does not constitute a contract offer, a contract amendment,
or an acceptance of a contract offer.  This e-mail does not constitute
a consent to the use of sender's contact information for direct marketing
purposes or for transfers of data to third parties.

 Francais Deutsch Italiano  Espanol  Portugues  Japanese  Chinese  Korean

            http://www.DuPont.com/corp/email_disclaimer.html

Attachment: stat_xs.patch
Description: Binary data

Reply via email to