To: vim-dev@vim.org Subject: patch 5.5.002 Fcc: outbox From: Bram Moolenaar ------------ Patch 5.5.002 Problem: Compilation error for using "fds[] & POLLIN". (Jeff Walker) Solution: Use "fds[].revents & POLLIN". Files: src/os_unix.c *** ../vim-5.5.1/src/os_unix.c Wed Sep 22 10:06:27 1999 --- src/os_unix.c Mon Sep 20 22:42:40 1999 *************** *** 2869,2875 **** } # endif # ifdef XTERM_CLIP ! if (xterm_Shell != (Widget)0 && (fds[xterm_idx] & POLLIN)) { xterm_update(); /* Maybe we should hand out clipboard */ if (vim_is_input_buf_empty()) --- 2869,2875 ---- } # endif # ifdef XTERM_CLIP ! if (xterm_Shell != (Widget)0 && (fds[xterm_idx].revents & POLLIN)) { xterm_update(); /* Maybe we should hand out clipboard */ if (vim_is_input_buf_empty()) *************** *** 2879,2885 **** } # endif # ifdef GPM_MOUSE ! if (gpm_idx >= 0 && (fds[gpm_idx] & POLLIN)) { *check_for_gpm = 1; ret--; --- 2879,2885 ---- } # endif # ifdef GPM_MOUSE ! if (gpm_idx >= 0 && (fds[gpm_idx].revents & POLLIN)) { *check_for_gpm = 1; ret--; *** ../vim-5.5.1/src/version.c Wed Sep 22 10:08:18 1999 --- src/version.c Wed Sep 22 21:10:00 1999 *************** *** 420,420 **** --- 420,421 ---- { /* Add new patch number below this line */ + 2, -- hundred-and-one symptoms of being an internet addict: 150. You find yourself counting emoticons to get to sleep. --/-/---- Bram Moolenaar ---- Bram@moolenaar.net ---- Bram@vim.org ---\-\-- \ \ www.vim.org/iccf www.moolenaar.net www.vim.org / /