| To: vim_dev@googlegroups.com |
| Subject: Patch 7.4.244 |
| 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.4.244 (after 7.4.238) |
| Problem: The smack feature causes stray error messages. |
| Solution: Remove the error messages. |
| Files: src/os_unix.c |
| |
| |
| |
| |
| |
| *** 2875,2888 **** |
| case ENODATA: |
| /* no attribute of this name */ |
| ret = removexattr((char*)to_file, name); |
| ! if (ret < 0 && errno != ENODATA) |
| ! { |
| ! MSG_PUTS(_("Could not remove security context ")); |
| ! MSG_PUTS(name); |
| ! MSG_PUTS(_(" for ")); |
| ! msg_outtrans(to_file); |
| ! msg_putchar('\n'); |
| ! } |
| break; |
| } |
| } |
| --- 2875,2882 ---- |
| case ENODATA: |
| /* no attribute of this name */ |
| ret = removexattr((char*)to_file, name); |
| ! /* Silently ignore errors, apparently this happens when |
| ! * smack is not actually being used. */ |
| break; |
| } |
| } |
| |
| |
| |
| *** 736,737 **** |
| --- 736,739 ---- |
| { /* Add new patch number below this line */ |
| + /**/ |
| + 244, |
| /**/ |
| |
| -- |
| How To Keep A Healthy Level Of Insanity: |
| 2. Page yourself over the intercom. Don't disguise your voice. |
| |
| /// Bram Moolenaar -- Bram@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 /// |