Loading ...
Sorry, an error occurred while loading the content.

Re: [patch] :perldo doesn't work on 32-bit Windows

Expand Messages
  • Bram Moolenaar
    ... Thanks, I prefer this patch because it s a problem with Perl and the solution should only apply to Perl. We never know when this is going to cause a
    Message 1 of 4 , Aug 1, 2013
      Ken Takata wrote:

      > Hi Bram,
      > 2013/07/30 Tue 5:15:49 UTC+9 Bram Moolenaar wrote:
      > > OK. Is _USE_32BIT_TIME_T only used by Perl or does it affect the whole
      > > of Vim?
      > It affects the whole of Vim. So we have to consider other if_*s.
      > I confirmed that if_python/python3/ruby worked fine with or without
      > _USE_32BIT_TIME_T. I didn't check if_mzsch and if_tcl. (Note that
      > ActiveTcl 8.5 is also compiled by VC6.)
      > Another way is applying _USE_32BIT_TIME_T only to if_perl.
      > Please check the attached patch.
      > We have to make sure that we don't use time_t to exchange data
      > between if_perl.xs and the other part of Vim.
      > I'm not sure which patch is better.
      > > Would there be a way to handle it in the code somehow, with
      > > sizeof(time_t)?
      > I think it's difficult. A struct named "interpreter" has a time_t typed
      > member "basetime". (See perl.h and intrpvar.h.) If the size of time_t is
      > changed, all the members after the "basetime" are affected.
      > This is also related to 7.3.623.

      Thanks, I prefer this patch because it's a problem with Perl and the
      solution should only apply to Perl. We never know when this is going to
      cause a problem somewhere else, and then we probably forgot about this

      hundred-and-one symptoms of being an internet addict:
      33. You name your children Eudora, Mozilla and Dotcom.

      /// Bram Moolenaar -- Bram@... -- http://www.Moolenaar.net \\\
      /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
      \\\ an exciting new programming language -- http://www.Zimbu.org ///
      \\\ help me help AIDS victims -- http://ICCF-Holland.org ///

      You received this message from the "vim_dev" maillist.
      Do not top-post! Type your reply below the text you are replying to.
      For more information, visit http://www.vim.org/maillist.php

      You received this message because you are subscribed to the Google Groups "vim_dev" group.
      To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscribe@....
      For more options, visit https://groups.google.com/groups/opt_out.
    Your message has been successfully submitted and would be delivered to recipients shortly.