• Dridi Boukelmoune's avatar
    Use closefd() throughout, take 2 · 6db7d750
    Dridi Boukelmoune authored
    This patch was created using Coccinelle and the following steps:
    
        $ cat >closefd.cocci <<EOF
        @@
        expression fd;
        @@
    
        - AZ(close(fd));
        + closefd(&fd);
        EOF
        $ spatch --dir . --in-place --sp-file closefd.cocci
    
    Please note that one use of AZ(close(...)) couldn't be moved to
    closefd() because of a const qualifier. There are other calls to
    close(2) that are currently not checked on purpose. They may need
    to be revisited.
    
    See: git grep -F '(void)close'
    6db7d750
Name
Last commit
Last update
..
Makefile.am Loading commit data...
Makefile.phk Loading commit data...
binary_heap.c Loading commit data...
flint.lnt Loading commit data...
flint.sh Loading commit data...
vas.c Loading commit data...
vav.c Loading commit data...
vcli_proto.c Loading commit data...
vcli_serve.c Loading commit data...
vct.c Loading commit data...
version.c Loading commit data...
vev.c Loading commit data...
vfil.c Loading commit data...
vfl.c Loading commit data...
vin.c Loading commit data...
vlu.c Loading commit data...
vmb.c Loading commit data...
vnum.c Loading commit data...
vpf.c Loading commit data...
vre.c Loading commit data...
vrnd.c Loading commit data...
vsa.c Loading commit data...
vsb.c Loading commit data...
vsha256.c Loading commit data...
vss.c Loading commit data...
vsub.c Loading commit data...
vtcp.c Loading commit data...
vtim.c Loading commit data...