Hi Nikos,
Nikos Mavrogiannopoulos wrote:
> I've noticed that some systems define AF_LOCAL in sys/socket.h while
> others AF_UNIX and most define both. Could gnulib provide both
> definitions (e.g. by this patch) to simplify their usage on various
> platforms?
Gnulib is meant to allow people to p
Hi,
> gl tests fail to compile, but after patching (i've attached the patch)
> they all pass too.
Thanks for the report. I can reproduce the compilation failure with a
gnulib testdir for just the module 'ioctl':
gcc-3 -mno-cygwin -DHAVE_CONFIG_H -I. -I.. -DGNULIB_STRICT_CHECKING=1
-I/usr/local
Hi,
Ray Satiro wrote:
> The gnulib fstat doc says:
> "On platforms where off_t is a 32-bit type, stat may not correctly report the
> size of files or block devices larger than 2 GB. The fix is to use the
> AC_SYS_LARGEFILE macro. "
>
> Recently it was discovered that the latest versions of wget
It looks reasonable to define a getrusage() replacement for native Windows
in gnulib. libgfortran (in GCC) has such a replacement already.
First comes a substitute.
Reference:
http://pubs.opengroup.org/onlinepubs/9699919799/basedefs/sys_resource.h.html
2012-04-12 Bruno Haible
New m
Here comes the 'getrusage' replacement for systems that don't have it
(Minix, Solaris 2.4, native Windows).
This implementation only fills in the times members of 'struct rusage',
because
1. the other members are not standardized,
2. the other members don't correspond to information that can b
Studying the code for obstack_free(), I cannot convince myself that
obstack_free(obs, addr) is C89 conformant when addr != NULL. To determine
if addr is in the current chunk, the code does pointer comparisons with the
addresses of the chunk. These are only well-defined if addr is in the
chunk. A
On 04/12/2012 05:48 PM, Jeffrey Kegler wrote:
> 1) Document that the behavior is unportable, and under what conditions it
> can be expected to work.
> At a minimum, describe the behavior required of the memory allocator. 2.)
> Remove/replace the feature.
(1) is probably safer, given how much t