comparison src/os_unix.c @ 18761:e3785af3ba0f v8.1.2370

patch 8.1.2370: build problems on VMS Commit: https://github.com/vim/vim/commit/0c5c3faef2d54151a8c144539e3e5a3350fb18c7 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Nov 30 22:38:16 2019 +0100 patch 8.1.2370: build problems on VMS Problem: Build problems on VMS. Solution: Adjust the build file. (Zoltan Arpadffy)
author Bram Moolenaar <Bram@vim.org>
date Sat, 30 Nov 2019 22:45:04 +0100
parents 39b0c28fe495
children 44b855153d8e
comparison
equal deleted inserted replaced
18760:fa208f8423ad 18761:e3785af3ba0f
1669 vim_free(xterm_display); 1669 vim_free(xterm_display);
1670 xterm_display = (char *)vim_strsave(eap->arg); 1670 xterm_display = (char *)vim_strsave(eap->arg);
1671 xterm_display_allocated = TRUE; 1671 xterm_display_allocated = TRUE;
1672 } 1672 }
1673 smsg(_("restoring display %s"), xterm_display == NULL 1673 smsg(_("restoring display %s"), xterm_display == NULL
1674 ? (char *)mch_getenv("DISPLAY") : xterm_display); 1674 ? (char *)mch_getenv((char_u *)"DISPLAY") : xterm_display);
1675 1675
1676 clear_xterm_clip(); 1676 clear_xterm_clip();
1677 x11_window = 0; 1677 x11_window = 0;
1678 xterm_dpy_retry_count = 5; // Try reconnecting five times 1678 xterm_dpy_retry_count = 5; // Try reconnecting five times
1679 may_restore_clipboard(); 1679 may_restore_clipboard();
6255 FD_SET(ConnectionNumber(xterm_dpy), &rfds); 6255 FD_SET(ConnectionNumber(xterm_dpy), &rfds);
6256 if (maxfd < ConnectionNumber(xterm_dpy)) 6256 if (maxfd < ConnectionNumber(xterm_dpy))
6257 maxfd = ConnectionNumber(xterm_dpy); 6257 maxfd = ConnectionNumber(xterm_dpy);
6258 6258
6259 /* An event may have already been read but not handled. In 6259 /* An event may have already been read but not handled. In
6260 * particulary, XFlush may cause this. */ 6260 * particularly, XFlush may cause this. */
6261 xterm_update(); 6261 xterm_update();
6262 } 6262 }
6263 # endif 6263 # endif
6264 # ifdef FEAT_MOUSE_GPM 6264 # ifdef FEAT_MOUSE_GPM
6265 if (check_for_gpm != NULL && gpm_flag && gpm_fd >= 0) 6265 if (check_for_gpm != NULL && gpm_flag && gpm_fd >= 0)