Re: [PATCH] use new global, "Version", rather than macro, VERSION

2008-08-28 Thread Ben Pfaff
d process can be listed in this variable. Moreover, all built sources do not necessarily have to be listed in `BUILT_SOURCES'. For instance, a generated `.c' file doesn't need to appear in `BUILT_SOURCES' (unless it is included by another source),

Re: Issue with ls -v / sort -V and strverscmp() usage

2008-09-21 Thread Ben Pfaff
ns), so he might be willing to assign copyright to that function to the FSF. Have you asked him? -- Ben Pfaff http://benpfaff.org ___ Bug-coreutils mailing list Bug-coreutils@gnu.org http://lists.gnu.org/mailman/listinfo/bug-coreutils

willing to contribute verrevcmp to gnulib?

2008-09-21 Thread Ben Pfaff
contribute to the FSF the actual code from dpkg for this? (Otherwise, we will probably have one person write a formal specification for the version comparison algorithm, and then another person implement something equivalent from that specification.) Thanks, Ben. -- Ben Pfaff http://benpfaff.org

Re: test-memchr failure on rawhide

2009-05-09 Thread Ben Pfaff
Bruno Haible writes: > Do you mean to say that none of the functions > memchr > memcmp > memcpy > memmove > memset > wmemchr > wmemcmp > wmemcpy > wmemmove > wmemset > may be called with arguments ptr = NULL and n = 0 ? Yes. C99 7.2.21p2 says: Where an argument declare

Re: printf (_("...%zu..."), X) where X is of type size_t

2005-10-01 Thread Ben Pfaff
u.\n")), size); We'd want to write an Autoconf test for whether `z' and friends are supported so that fix_sizes could be stubbed out if it was unneeded, e.g. #ifdef HAS_C99_PRINTF #define fix_sizes(FORMAT) (FORMAT) #endif Presumably fix_sizes() would be written som

Re: [PATCH] issue warnings for more missing optional libraries

2009-10-19 Thread Ben Pfaff
g prerequisites, not just the first one that configure could not find. -- Ben Pfaff http://benpfaff.org