Re: [PATCH] build: use more gnulib modules for simpler code

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



2011/1/17 Eric Blake <eblake@xxxxxxxxxx>:
> * .gnulib: Update to latest, for sigpipe and sigaction modules.
> * bootstrap.conf (gnulib_modules): Add siaction, sigpipe, strerror_r.
> * tools/virsh.c (vshSetupSignals) [!SIGPIPE]: Delete, now that
> gnulib guarantees it.
> (SA_SIGINFO): Define for mingw fallback.
> * src/util/virterror.c (virStrerror): Simplify, now that gnulib
> guarantees the POSIX interface.
> * configure.ac (AC_CHECK_FUNCS_ONCE): Drop redundant check.
> (AM_PROG_CC_STDC): Move earlier, to keep autoconf happy.
> ---
>
> Gnulib makes it possible to prefer the POSIX strerror_r
> signature everywhere, even on Linux. ÂAnd even though
> mingw lacks SA_SIGINFO (even with gnulib), the virsh signal
> handler still works for mingw with gnulib's implementation
> of SIGPIPE with minimal effort.
>

ACK.

Matthias

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list



[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]