summaryrefslogtreecommitdiffstats
path: root/daemon/m4
Commit message (Collapse)AuthorAgeFilesLines
* daemon/Win32: use gnulib modules connect, socket and symlinkat (for readlinkat).Richard Jones2009-11-261-1/+4
|
* daemon/Win32: provide htonl, htons, ntohl, ntohs functions.Richard Jones2009-11-261-1/+2
| | | | These functions are not available on Windows.
* daemon/Win32: Use Gnulib perror module.Richard Jones2009-11-261-1/+2
|
* daemon/Win32: update commentRichard Jones2009-11-251-1/+1
|
* daemon/Win32: Use gnulib getaddrinfo module.Richard Jones2009-11-251-1/+2
|
* daemon/Win32: Implement statvfs using GetDiskFreeSpaceEx.Richard Jones2009-11-251-1/+2
| | | | | | | At the time of writing Gnulib didn't support Win32 for its fsusage API. Therefore this patch uses GetDiskFreeSpaceEx if it's available (on Windows) otherwise falls back to using Gnulib fsusage.
* daemon: Use gnulib futimens module.Richard Jones2009-11-251-1/+2
| | | | | | | | | Instead of checking for futimens support and falling back (incorrectly in one case) to using futimes, use gnulib's module. However the gnulib module does not yet support Win32, so this change is only really useful on platforms like RHEL 5.
* daemon/Win32: Use gnulib pread module.Richard Jones2009-11-251-0/+1
|
* daemon/Win32: Use gnulib modules for first porting to Win32.Richard Jones2009-11-201-1/+12
|
* daemon/gnulib: Include glob module.Richard Jones2009-11-201-1/+2
|
* daemon: Change chdir to use openat/fdopendir.Richard Jones2009-10-261-1/+2
| | | | Uses Gnulib implementation of openat which should be portable.
* avoid use of all ctype macrosJim Meyering2009-09-241-1/+2
| | | | | | | | | | | | | | | | | | | | * cfg.mk (disable_temporarily): Don't disable sc_avoid_ctype_macros. * fish/tilde.c: Remove unnecessary inclusion of ctype.h. * bootstrap: Add gnulib's c-ctype module to the list. * daemon/m4/gnulib-cache.m4: Likewise. * daemon/ext2.c: Include "c-ctype.h", not <ctype.h>. Use c_isspace, etc, rather than isspace. * daemon/guestfsd.c: Likewise. * daemon/lvm.c: Likewise. * daemon/proto.c: Likewise. * fish/fish.c: Likewise. * fish/tilde.c: Likewise. * src/generator.ml: Likewise. * src/guestfs.c: Likewise. * examples/to-xml.c: Likewise. * examples/Makefile.am (to_xml_CPPFLAGS): Add -I$(top_srcdir)/gnulib/lib so inclusion of "c-ctype.h" works. (to_xml_CPPFLAGS): Rename from to_xml_CFLAGS.
* Fix code which looked for leaked FDs between each command.Richard Jones2009-09-171-1/+2
| | | | | | This code was not checking the return value from system() so it failed if uncommented. Add ignore_value() around the call to system. However, leave the code still disabled.
* daemon: enable -Werror and many gcc warnings when --enable-gcc-warningsJim Meyering2009-08-171-1/+3
| | | | | | | | | | * daemon/m4/gnulib-cache.m4: Add two modules: manywarnings, warnings. * daemon/configure.ac: Implement --enable-gcc-warnings, and selectively disable a few warning options that are either not useful or that provoke too many warnings for now. Define and AC_SUBST WARN_CFLAGS and WERROR_CFLAGS. * daemon/Makefile.am (guestfsd_CFLAGS): Use $(WARN_CFLAGS) and $(WERROR_CFLAGS), rather than just -Wall.
* daemon: use gnulibJim Meyering2009-08-061-0/+35
* daemon/Makefile.am (SUBDIRS): Define. (AM_CPPFLAGS): Define, to include from gnulib's lib/ (LDADD): Define, to link with gnulib's libgnu.a. * daemon/configure.ac: Use AC_CONFIG_AUX_DIR([build-aux]), gl_EARLY and gl_INIT. (AC_CONFIG_FILES): Add lib/Makefile and tests/Makefile * daemon/m4/gnulib-cache.m4: New file, generated by running ../.gnulib/gnulib-tool --import --with-tests hash * daemon/.gitignore: Ignore all of the imported files. build: tell bootstrap about daemon/ * bootstrap: Run gnulib-tool --update in daemon/. Remove bootstrap's --gnulib-srcdir option, because it probably didn't work, and even if it did, we've discovered that using a separate git repo like that can lead to subtle mix-ups.