Mercurial > gnulib
view lib/.cvsignore @ 40086:d6de7c427079
stdopen: modernize and simplify
* lib/stdopen.c: Update copyright date
Do not include sys/types.h; no longer needed these days.
(stdopen): Use C99-style decl in loop. Return int errno
value, rather than just a bool. Do not worry about fd mismatches,
since the caller cares only if 0, 1, 2 are occupied.
* lib/stdopen.h: No need to include <stdbool.h>.
* m4/stdopen.m4: Remove.
* modules/stdopen: New file.
author | Paul Eggert <eggert@cs.ucla.edu> |
---|---|
date | Sat, 05 Jan 2019 18:02:32 -0800 |
parents | 875fdac94cdd |
children |
line wrap: on
line source
.deps Makefile alloca.h fnmatch.h fts.h getdate.c getdate.tab.c getopt.h lstat.c poll.h ref-add.sed ref-del.sed search.h stat.c stdbool.h stdint.h sysexit.h t-fpending unlocked-io.h