Account Options

  1. Sign in
The old Google Groups will be going away soon, but your browser is incompatible with the new version.
Google Groups Home
« Groups Home
Patch 7.3.690
There are currently too many topics in this group that display first. To make this topic appear first, remove this option from another topic.
There was an error processing your request. Please try again.
flag
  1 message - Collapse all  -  Translate all to Translated (View all originals)
The group you are posting to is a Usenet group. Messages posted to this group will make your email address visible to anyone on the Internet.
Your reply message has not been sent.
Your post was successful
 
From:
To:
Cc:
Followup To:
Add Cc | Add Followup-to | Edit Subject
Subject:
Validation:
For verification purposes please type the characters you see in the picture below or the numbers you hear by clicking the accessibility icon. Listen and type the numbers you hear
 
Bram Moolenaar  
View profile  
 More options Oct 13 2012, 10:36 pm
From: Bram Moolenaar <B...@Moolenaar.net>
Date: Sun, 14 Oct 2012 04:36:05 +0200
Local: Sat, Oct 13 2012 10:36 pm
Subject: Patch 7.3.690

Patch 7.3.690
Problem:    When the current directory name is exactly the maximum path length
            Vim may crash.
Solution:   Only add "/" when there is room. (Danek Duvall)
Files:      src/os_unix.c

*** ../vim-7.3.689/src/os_unix.c        2012-08-15 17:26:53.000000000 +0200
--- src/os_unix.c       2012-10-14 04:28:40.000000000 +0200
***************
*** 2512,2526 ****
        }

        l = STRLEN(buf);
!       if (l >= len)
!           retval = FAIL;
  #ifndef VMS
!       else
!       {
!           if (l > 0 && buf[l - 1] != '/' && *fname != NUL
                                                   && STRCMP(fname, ".") != 0)
!               STRCAT(buf, "/");
!       }
  #endif
      }

--- 2512,2523 ----
        }

        l = STRLEN(buf);
!       if (l >= len - 1)
!           retval = FAIL; /* no space for trailing "/" */
  #ifndef VMS
!       else if (l > 0 && buf[l - 1] != '/' && *fname != NUL
                                                   && STRCMP(fname, ".") != 0)
!           STRCAT(buf, "/");
  #endif
      }

*** ../vim-7.3.689/src/version.c        2012-10-14 03:41:54.000000000 +0200
--- src/version.c       2012-10-14 04:26:17.000000000 +0200
***************
*** 721,722 ****
--- 721,724 ----
  {   /* Add new patch number below this line */
+ /**/
+     690,
  /**/

--
SOLDIER: What?  Ridden on a horse?
ARTHUR:  Yes!
SOLDIER: You're using coconuts!
                 "Monty Python and the Holy Grail" PYTHON (MONTY) PICTURES LTD

 /// Bram Moolenaar -- B...@Moolenaar.net -- 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 must Sign in before you can post messages.
To post a message you must first join this group.
Please update your nickname on the subscription settings page before posting.
You do not have the permission required to post.
End of messages
« Back to Discussions « Newer topic     Older topic »