diff options
author | Eric Blake <eblake@redhat.com> | 2011-07-19 12:32:58 -0600 |
---|---|---|
committer | Eric Blake <eblake@redhat.com> | 2011-07-21 10:34:51 -0600 |
commit | 8e22e08935655e5b39873bc8e1aa41d2ef2f8487 (patch) | |
tree | 842771f0ff7afff72077720ada521d40e63c8f08 /HACKING | |
parent | 5d804ffae4ca493c70b8fadd697ec2d822876ec4 (diff) | |
download | libvirt-8e22e08935655e5b39873bc8e1aa41d2ef2f8487.tar.gz |
build: rename files.h to virfile.h
In preparation for a future patch adding new virFile APIs.
* src/util/files.h, src/util/files.c: Move...
* src/util/virfile.h, src/util/virfile.c: ...here, and rename
functions to virFile prefix. Macro names are intentionally
left alone.
* *.c: All '#include "files.h"' uses changed.
* src/Makefile.am (UTIL_SOURCES): Reflect rename.
* cfg.mk (exclude_file_name_regexp--sc_prohibit_close): Likewise.
* src/libvirt_private.syms: Likewise.
* docs/hacking.html.in: Likewise.
* HACKING: Regenerate.
Diffstat (limited to 'HACKING')
-rw-r--r-- | HACKING | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -417,7 +417,7 @@ File handling Usage of the "fdopen()", "close()", "fclose()" APIs is deprecated in libvirt code base to help avoiding double-closing of files or file descriptors, which is particulary dangerous in a multi-threaded applications. Instead of these -APIs, use the macros from files.h +APIs, use the macros from virfile.h - Open a file from a file descriptor: |