comparison src/memline.c @ 26958:d92e0d85923f v8.2.4008

patch 8.2.4008: error messages are spread out Commit: https://github.com/vim/vim/commit/677658ae49de31fe2e5b1fa6d93fdfab85a4362e Author: Bram Moolenaar <Bram@vim.org> Date: Wed Jan 5 16:09:06 2022 +0000 patch 8.2.4008: error messages are spread out Problem: Error messages are spread out. Solution: Move more error messages to errors.h.
author Bram Moolenaar <Bram@vim.org>
date Wed, 05 Jan 2022 17:15:05 +0100
parents aa65d1808bd0
children 85866e069c24
comparison
equal deleted inserted replaced
26957:e5b81e2bed22 26958:d92e0d85923f
4413 for (;;) 4413 for (;;)
4414 { 4414 {
4415 // Limit symlink depth to 100, catch recursive loops. 4415 // Limit symlink depth to 100, catch recursive loops.
4416 if (++depth == 100) 4416 if (++depth == 100)
4417 { 4417 {
4418 semsg(_("E773: Symlink loop for \"%s\""), fname); 4418 semsg(_(e_symlink_loop_for_str), fname);
4419 return FAIL; 4419 return FAIL;
4420 } 4420 }
4421 4421
4422 ret = readlink((char *)tmp, (char *)buf, MAXPATHL - 1); 4422 ret = readlink((char *)tmp, (char *)buf, MAXPATHL - 1);
4423 if (ret <= 0) 4423 if (ret <= 0)