comparison src/alloc.c @ 26771:fc859aea8cec v8.2.3914

patch 8.2.3914: various spelling mistakes in comments Commit: https://github.com/vim/vim/commit/af4a61a85d6e8cacc35324f266934bc463a21673 Author: Dominique Pelle <dominique.pelle@gmail.com> Date: Mon Dec 27 17:21:41 2021 +0000 patch 8.2.3914: various spelling mistakes in comments Problem: Various spelling mistakes in comments. Solution: Fix the mistakes. (Dominique Pell?, closes https://github.com/vim/vim/issues/9416)
author Bram Moolenaar <Bram@vim.org>
date Mon, 27 Dec 2021 18:30:05 +0100
parents 9a1b96ae26d1
children 6ee19c6ae8a2
comparison
equal deleted inserted replaced
26770:15ff3f2e0d58 26771:fc859aea8cec
234 234
235 // Loop when out of memory: Try to release some memfile blocks and 235 // Loop when out of memory: Try to release some memfile blocks and
236 // if some blocks are released call malloc again. 236 // if some blocks are released call malloc again.
237 for (;;) 237 for (;;)
238 { 238 {
239 // Handle three kind of systems: 239 // Handle three kinds of systems:
240 // 1. No check for available memory: Just return. 240 // 1. No check for available memory: Just return.
241 // 2. Slow check for available memory: call mch_avail_mem() after 241 // 2. Slow check for available memory: call mch_avail_mem() after
242 // allocating KEEP_ROOM amount of memory. 242 // allocating KEEP_ROOM amount of memory.
243 // 3. Strict check for available memory: call mch_avail_mem() 243 // 3. Strict check for available memory: call mch_avail_mem()
244 if ((p = malloc(size)) != NULL) 244 if ((p = malloc(size)) != NULL)