home *** CD-ROM | disk | FTP | other *** search
/ vim.ftp.fu-berlin.de / 2015-02-03.vim.ftp.fu-berlin.de.tar / vim.ftp.fu-berlin.de / patches / 6.2.483 < prev    next >
Encoding:
Internet Message Format  |  2004-04-18  |  3.9 KB

  1. To: vim-dev@vim.org
  2. Subject: Patch 6.2.483 (extra)
  3. Fcc: outbox
  4. From: Bram Moolenaar <Bram@moolenaar.net>
  5. Mime-Version: 1.0
  6. Content-Type: text/plain; charset=ISO-8859-1
  7. Content-Transfer-Encoding: 8bit
  8. ------------
  9.  
  10. Patch 6.2.483 (extra, after 6.2.482)
  11. Problem:    See 6.2.482.
  12. Solution:   Extra part of patch 6.2.482.
  13. Files:        src/gui_photon.c, src/gui_w48.c, src/os_msdos.c, src/os_mswin.c
  14.  
  15.  
  16. *** ../vim-6.2.482/src/gui_photon.c    Sat Sep 27 19:40:03 2003
  17. --- src/gui_photon.c    Mon Apr 19 19:02:05 2004
  18. ***************
  19. *** 1978,1984 ****
  20.       static int
  21.   hex_digit(int c)
  22.   {
  23. !     if (vim_isdigit(c))
  24.       return( c - '0' );
  25.       c = TOLOWER_ASC(c);
  26.       if (c >= 'a' && c <= 'f')
  27. --- 1978,1984 ----
  28.       static int
  29.   hex_digit(int c)
  30.   {
  31. !     if (VIM_ISDIGIT(c))
  32.       return( c - '0' );
  33.       c = TOLOWER_ASC(c);
  34.       if (c >= 'a' && c <= 'f')
  35. *** ../vim-6.2.482/src/gui_w48.c    Fri Apr 16 11:08:02 2004
  36. --- src/gui_w48.c    Mon Apr 19 19:02:23 2004
  37. ***************
  38. *** 1188,1194 ****
  39.       static int
  40.   hex_digit(int c)
  41.   {
  42. !     if (vim_isdigit(c))
  43.       return c - '0';
  44.       c = TOLOWER_ASC(c);
  45.       if (c >= 'a' && c <= 'f')
  46. --- 1188,1194 ----
  47.       static int
  48.   hex_digit(int c)
  49.   {
  50. !     if (VIM_ISDIGIT(c))
  51.       return c - '0';
  52.       c = TOLOWER_ASC(c);
  53.       if (c >= 'a' && c <= 'f')
  54. *** ../vim-6.2.482/src/os_msdos.c    Sun Feb 29 14:48:02 2004
  55. --- src/os_msdos.c    Mon Apr 19 19:03:34 2004
  56. ***************
  57. *** 378,384 ****
  58.       p = *pp;
  59.       if (*p == '-')        /* skip negative sign */
  60.       ++p;
  61. !     while(isdigit(*p))
  62.       {
  63.       retval = (retval * 10) + (*p - '0');
  64.       ++p;
  65. --- 378,384 ----
  66.       p = *pp;
  67.       if (*p == '-')        /* skip negative sign */
  68.       ++p;
  69. !     while (VIM_ISDIGIT(*p))
  70.       {
  71.       retval = (retval * 10) + (*p - '0');
  72.       ++p;
  73. ***************
  74. *** 1794,1800 ****
  75.       static int        modes[]   = { BW40,      C40,     BW80,     C80,    MONO,    C4350};
  76.   
  77.       mode = -1;
  78. !     if (isdigit(*arg))            /* mode number given */
  79.       mode = atoi((char *)arg);
  80.       else
  81.       {
  82. --- 1794,1800 ----
  83.       static int        modes[]   = { BW40,      C40,     BW80,     C80,    MONO,    C4350};
  84.   
  85.       mode = -1;
  86. !     if (VIM_ISDIGIT(*arg))            /* mode number given */
  87.       mode = atoi((char *)arg);
  88.       else
  89.       {
  90. ***************
  91. *** 3007,3013 ****
  92.           || STRICMP(name, "PRN") == 0
  93.           || ((STRNICMP(name, "COM", 3) == 0
  94.               || STRNICMP(name, "LPT", 3) == 0)
  95. !         && isdigit(name[3])
  96.           && name[4] == NUL))
  97.       return NODE_WRITABLE;
  98.       /* TODO: NODE_OTHER? */
  99. --- 3007,3013 ----
  100.           || STRICMP(name, "PRN") == 0
  101.           || ((STRNICMP(name, "COM", 3) == 0
  102.               || STRNICMP(name, "LPT", 3) == 0)
  103. !         && VIM_ISDIGIT(name[3])
  104.           && name[4] == NUL))
  105.       return NODE_WRITABLE;
  106.       /* TODO: NODE_OTHER? */
  107. *** ../vim-6.2.482/src/os_mswin.c    Fri Apr 16 11:08:02 2004
  108. --- src/os_mswin.c    Mon Apr 19 19:04:20 2004
  109. ***************
  110. *** 2983,2989 ****
  111.       }
  112.       else
  113.       {
  114. !         if (!isdigit(*str))
  115.           break;
  116.   
  117.           points *= 10;
  118. --- 2983,2989 ----
  119.       }
  120.       else
  121.       {
  122. !         if (!VIM_ISDIGIT(*str))
  123.           break;
  124.   
  125.           points *= 10;
  126. *** ../vim-6.2.482/src/version.c    Mon Apr 19 20:26:43 2004
  127. --- src/version.c    Mon Apr 19 20:28:12 2004
  128. ***************
  129. *** 639,640 ****
  130. --- 639,642 ----
  131.   {   /* Add new patch number below this line */
  132. + /**/
  133. +     483,
  134.   /**/
  135.  
  136. -- 
  137. (letter from Mark to Mike, about the film's probable certificate)
  138.       For an 'A' we would have to: Lose as many shits as possible; Take Jesus
  139.       Christ out, if possible; Loose "I fart in your general direction"; Lose
  140.       "the oral sex"; Lose "oh, fuck off"; Lose "We make castanets out of your
  141.       testicles"
  142.                  "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD
  143.  
  144.  /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net   \\\
  145. ///        Sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\
  146. \\\              Project leader for A-A-P -- http://www.A-A-P.org        ///
  147.  \\\  Buy at Amazon and help AIDS victims -- http://ICCF.nl/click1.html ///
  148.