| To: vim-dev@vim.org |
| Subject: Patch 7.2.175 |
| Fcc: outbox |
| From: Bram Moolenaar <Bram@moolenaar.net> |
| Mime-Version: 1.0 |
| Content-Type: text/plain; charset=UTF-8 |
| Content-Transfer-Encoding: 8bit |
| |
| |
| Patch 7.2.175 |
| Problem: Compiler warning in OpenBSD. |
| Solution: Add type cast for NULL. (Dasn) |
| Files: src/if_cscope.c |
| |
| |
| |
| |
| |
| *** 994,1000 **** |
| vim_free(ppath); |
| |
| #if defined(UNIX) |
| ! if (execl("/bin/sh", "sh", "-c", cmd, NULL) == -1) |
| PERROR(_("cs_create_connection exec failed")); |
| |
| exit(127); |
| --- 994,1000 ---- |
| vim_free(ppath); |
| |
| #if defined(UNIX) |
| ! if (execl("/bin/sh", "sh", "-c", cmd, (char *)NULL) == -1) |
| PERROR(_("cs_create_connection exec failed")); |
| |
| exit(127); |
| |
| |
| |
| *** 678,679 **** |
| --- 678,681 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 175, |
| /**/ |
| |
| -- |
| Every time I lose weight, it finds me again! |
| |
| /// Bram Moolenaar -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ |
| /// sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ \\\ |
| \\\ download, build and distribute -- http://www.A-A-P.org /// |
| \\\ help me help AIDS victims -- http://ICCF-Holland.org /// |