Patch 9.0.1642 (after 9.0.1641)
Problem: Build failure with tiny features.
Solution: Add #ifdef's.
Files: src/os_unix.c
*** ../vim-9.0.1641/src/os_unix.c 2023-06-21 13:42:44.799920602 +0100
--- src/os_unix.c 2023-06-21 15:48:52.227154475 +0100
***************
*** 445,451 ****
--- 445,453 ----
return do_resize;
while (do_resize)
{
+ #ifdef FEAT_EVAL
ch_log(NULL, "calling handle_resize() in resize_func()");
+ #endif
handle_resize();
}
return FALSE;
***************
*** 4169,4175 ****
--- 4171,4179 ----
{
columns = ws.ws_col;
rows = ws.ws_row;
+ # ifdef FEAT_EVAL
ch_log(NULL, "Got size with TIOCGWINSZ: %ld x %ld", columns, rows);
+ # endif
}
}
# else // TIOCGWINSZ
***************
*** 4185,4191 ****
--- 4189,4197 ----
{
columns = ts.ts_cols;
rows = ts.ts_lines;
+ # ifdef FEAT_EVAL
ch_log(NULL, "Got size with TIOCGSIZE: %ld x %ld", columns, rows);
+ # endif
}
}
# endif // TIOCGSIZE
***************
*** 4201,4212 ****
--- 4207,4222 ----
if ((p = (char_u *)getenv("LINES")))
{
rows = atoi((char *)p);
+ # ifdef FEAT_EVAL
ch_log(NULL, "Got 'lines' from $LINES: %ld", rows);
+ # endif
}
if ((p = (char_u *)getenv("COLUMNS")))
{
columns = atoi((char *)p);
+ # ifdef FEAT_EVAL
ch_log(NULL, "Got 'columns' from $COLUMNS: %ld", columns);
+ # endif
}
}
***************
*** 4217,4223 ****
--- 4227,4235 ----
if (columns == 0 || rows == 0)
{
getlinecol(&columns, &rows);
+ # ifdef FEAT_EVAL
ch_log(NULL, "Got size from termcap: %ld x %ld", columns, rows);
+ # endif
}
#endif
***************
*** 6519,6525 ****
--- 6531,6539 ----
// SIGWINCH.
if (do_resize)
{
+ # ifdef FEAT_EVAL
ch_log(NULL, "calling handle_resize() in RealWaitForChar()");
+ # endif
handle_resize();
}
*** ../vim-9.0.1641/src/version.c 2023-06-21 13:42:44.799920602 +0100
--- src/version.c 2023-06-21 15:51:12.474816279 +0100
***************
*** 697,698 ****
--- 697,700 ----
{ /* Add new patch number below this line */
+ /**/
+ 1642,
/**/
--
hundred-and-one symptoms of being an internet addict:
198. You read all the quotes at Netaholics Anonymous and keep thinking
"What's wrong with that?"
/// Bram Moolenaar -- Br...@Moolenaar.net --
http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features --
http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims --
http://ICCF-Holland.org ///