Author: robert
Date: 2006-10-13 08:40:27 -0600 (Fri, 13 Oct 2006)
New Revision: 1709

Modified:
   trunk/vim/vim-7.0-fortify_warnings-1.patch
Log:
Fix small typo in vim-7.0-fortify_warnings-1.patch

Modified: trunk/vim/vim-7.0-fortify_warnings-1.patch
===================================================================
--- trunk/vim/vim-7.0-fortify_warnings-1.patch  2006-10-13 14:33:50 UTC (rev 
1708)
+++ trunk/vim/vim-7.0-fortify_warnings-1.patch  2006-10-13 14:40:27 UTC (rev 
1709)
@@ -178,8 +178,8 @@
 +    /* This write(3) function often doesn't return 0. That's fine.
 +       But to make FORTIFY_SOURCE happy we'll check it. */
 +    if (write(1, (char *)s, len) == 0) {
-+      return 0;
 +    }
++
      if (p_wd)         /* Unix is too fast, slow down a bit more */
        RealWaitForChar(read_cmd_fd, p_wd, NULL);
  }

-- 
http://linuxfromscratch.org/mailman/listinfo/patches
FAQ: http://www.linuxfromscratch.org/faq/
Unsubscribe: See the above information page

Reply via email to