Mercurial > vim
view src/pathdef.sh @ 30096:aa7109fe5bee v9.0.0384
patch 9.0.0384: Covertity still complains about using return value of getc()
Commit: https://github.com/vim/vim/commit/c7d2ff2ca03f1f36544a92cb93300eae06bcd0c0
Author: Bram Moolenaar <Bram@vim.org>
Date: Mon Sep 5 11:04:14 2022 +0100
patch 9.0.0384: Covertity still complains about using return value of getc()
Problem: Covertity still complains about using return value of getc().
Solution: Check for EOF.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Mon, 05 Sep 2022 12:15:04 +0200 |
parents | 3fc0f57ecb91 |
children |
line wrap: on
line source
#! /bin/sh # # pathdef.sh: adjust pathdef.c for auto/link.sed, if it exists # if test -s auto/link.sed; then cp auto/pathdef.c auto/pathdef.tmp sed -f auto/link.sed <auto/pathdef.tmp >auto/pathdef.c rm -f auto/pathdef.tmp fi # vim:set sw=2 et: