On 08/02/2012 04:49 PM, Paul Eggert wrote:
> On 08/02/2012 03:40 PM, Eric Blake wrote:
>> /* Store *ST's access time into *TS. */
>> static inline void
>> get_stat_atime (struct stat const *st, struct timespec *ts)
>
> I'd rather not go that route, as the functional style is easier
> to read -- i
On 08/02/2012 03:40 PM, Eric Blake wrote:
> /* Store *ST's access time into *TS. */
> static inline void
> get_stat_atime (struct stat const *st, struct timespec *ts)
I'd rather not go that route, as the functional style is easier
to read -- in particular, it tends to avoid aliasing issues.
In t
The manywarnings module enables -Waggregate-return, but stat-time.h
provides functions that return a struct timespec value and therefore
trigger this compiler warning.
Would anyone object if I rewrote this header to change the signature of
the various functions from the current:
/* Return *ST's a
Carlo de Falco writes:
> Hi,
>
> In order to use base64.h in GNU/Octave we had to wrap the #include
> <"base64.h"> in extern "C" scope. We believe it would have been better
> if this had been done upstream. Would it be possible to apply the
> patch below to lib/base64.h ?
Hi. I agree. Fixed in
* lib/stat-time.c, lib/timespec.c, lib/u64.c:
Use '#include "foo.h"', not '#include ', when including
one's own interface. This works better when configuring with
out-of-directory builds, since packages need not add an
otherwise-unnecessary -I$(topdir_src)/lib to DEFAULT_INCLUDES.
---
ChangeLog
Bruno Haible writes:
> Hi,
>
> Wido den Hollander wrote:
>> With URL-safe base64 the + and / are replaced by - and _
>>
>> This way we can accept base64 strings which are URL-safe.
>
> There are many more variants of base64, see
> http://en.wikipedia.org/wiki/Base64
>
> The current code is mea
On 08/02/2012 11:00 AM, Eric Blake wrote:
> On 08/02/2012 10:53 AM, Stefano Lattarini wrote:
>> * modules/gnumakefile [Makefile.am]: The makefiles generated by
>> Automake-NG always contain a definition of VPATH, even in non-VPATH
>> builds (its value being simply '.' in that case). So, in the
>>
On 08/02/2012 10:53 AM, Stefano Lattarini wrote:
> * modules/gnumakefile [Makefile.am]: The makefiles generated by
> Automake-NG always contain a definition of VPATH, even in non-VPATH
> builds (its value being simply '.' in that case). So, in the
> 'clean-GNUmakefile' rule, to determine whether r
* modules/gnumakefile [Makefile.am]: The makefiles generated by
Automake-NG always contain a definition of VPATH, even in non-VPATH
builds (its value being simply '.' in that case). So, in the
'clean-GNUmakefile' rule, to determine whether running under a
VPATH setup, compare '$(srcdir)' to '.' ra
On Thu, Aug 02, 2012 at 03:14:27PM +0200, Wido den Hollander wrote:
> On 08/02/2012 01:37 PM, Daniel P. Berrange wrote:
> >On Thu, Aug 02, 2012 at 01:18:12PM +0200, Wido den Hollander wrote:
> >>On 07/08/2012 07:51 PM, Bruno Haible wrote:
> >>>Daniel P. Berrange wrote:
> If its better to just d
On 08/02/2012 01:37 PM, Daniel P. Berrange wrote:
On Thu, Aug 02, 2012 at 01:18:12PM +0200, Wido den Hollander wrote:
On 07/08/2012 07:51 PM, Bruno Haible wrote:
Daniel P. Berrange wrote:
If its better to just do it in libvirt config.h, then we
can do that too
Yes, doing '#define foo libvirt
Daniel P. Berrange wrote:
> Try applying this patch to your source tree
>
> diff --git a/configure.ac b/configure.ac
> index 6b189db..4f906bb 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -2876,6 +2876,10 @@ test "x$lv_cv_static_analysis" = xyes && t=1
> AC_DEFINE_UNQUOTED([STATIC_ANALYSI
On Thu, Aug 02, 2012 at 01:18:12PM +0200, Wido den Hollander wrote:
> On 07/08/2012 07:51 PM, Bruno Haible wrote:
> >Daniel P. Berrange wrote:
> >>If its better to just do it in libvirt config.h, then we
> >>can do that too
> >
> >Yes, doing '#define foo libvirt_foo' in config.h is the preferred wa
On 07/08/2012 07:51 PM, Bruno Haible wrote:
Daniel P. Berrange wrote:
If its better to just do it in libvirt config.h, then we
can do that too
Yes, doing '#define foo libvirt_foo' in config.h is the preferred way
of achieving a namespace clean shared library.
There are two ways to generate th
14 matches
Mail list logo