Re: [RFC] Use gnulib's stdint.h.

2008-06-27 Thread Daniel Jacobowitz
ust > before including gnulib/stdint.h. I agree that having gnulib pull in wchar.h is very unfortunate. The gnulib folks, CC'd, are very responsive - maybe someone on bug-gnulib has an idea on how to fix this? -- Daniel Jacobowitz CodeSourcery

Re: touch and utimens troubles on new/old software combinations

2008-06-02 Thread Daniel Jacobowitz
d specify the oldest version to be supported separately. Mike, I thought the *at wrappers fell back to emulation if the syscalls were missing. Is that impossible for utimensat? -- Daniel Jacobowitz CodeSourcery

Re: uh oh: when to use the xprintf module

2007-11-05 Thread Daniel Jacobowitz
try ((int * (*) ()) __errno_location) (). The default return type for non-debugging functions is int rather than long still. -- Daniel Jacobowitz CodeSourcery

Re: new modules 'open', 'fopen', 'freopen'

2007-10-06 Thread Daniel Jacobowitz
ice for a different system? Seems like a stretch to me. If I wanted to use a Windows version of gettext, I'd either use Windows paths or arrange for a shell which converted. -- Daniel Jacobowitz CodeSourcery

Re: prepare vasnprintf for Unicode strings

2007-06-11 Thread Daniel Jacobowitz
back to it. I do want to fix the GDB bug that got me started on this, but there may be another way now. -- Daniel Jacobowitz CodeSourcery

Re: *printf: support for 'long double' number output

2007-05-18 Thread Daniel Jacobowitz
isunderstood you. When is it O(N*2) - only with high precision? -- Daniel Jacobowitz CodeSourcery

Re: *printf: support for 'long double' number output

2007-05-18 Thread Daniel Jacobowitz
his in GDB with user input if it might take all year; that's hardly more useful. -- Daniel Jacobowitz CodeSourcery

Re: *printf: support for 'long long' on mingw

2007-05-18 Thread Daniel Jacobowitz
%I64d instead of %lld > for printing 64-bit integers. Needed for mingw. vasnprintf.c, you mean? -- Daniel Jacobowitz CodeSourcery

Re: check for C99-compliant snprintf - call for volunteers

2007-03-05 Thread Daniel Jacobowitz
e that if no one else does sooner, I'll be back to it. -- Daniel Jacobowitz CodeSourcery

Re: first draft of "relocatable" module

2007-03-05 Thread Daniel Jacobowitz
d of $HOME. If $HOME is behind an NFS automounter, and your program searches for anything in its $prefix, then this can slow things to a crawl. -- Daniel Jacobowitz CodeSourcery

Re: check for C99-compliant snprintf - call for volunteers

2007-03-04 Thread Daniel Jacobowitz
ile on snprintfv, so don't expect too much unless someone else wants to pick up the project of making GDB happier - which I'd be glad to assist with as time permits :-) -- Daniel Jacobowitz CodeSourcery

Re: Reconciliation of libsnprintfv vs. autogen

2007-02-26 Thread Daniel Jacobowitz
> > FCN seems more meaningful. Bruce agrees, I agree... let's do that. I've checked this in. I also had to revert one of the line wrapping changes - the doc generation script relies on having argument descriptions all on one line, or the formatting of the manual gets messed up.

Re: Reconciliation of libsnprintfv vs. autogen

2007-02-26 Thread Daniel Jacobowitz
pository, it's named SNV_ASSERT_FMT - just grep for it. Which one should it be? Can't have half and half. -- Daniel Jacobowitz CodeSourcery

Re: new module 'printf-frexpl'

2007-02-26 Thread Daniel Jacobowitz
weekend working on merging? I'm worried that gnulib is developing too many different ways to do almost the same thing, all slightly different. -- Daniel Jacobowitz CodeSourcery

Re: Reconciliation of libsnprintfv vs. autogen

2007-02-26 Thread Daniel Jacobowitz
On Mon, Feb 26, 2007 at 04:58:49AM +0100, Ralf Wildenhues wrote: > * Daniel Jacobowitz wrote on Mon, Feb 26, 2007 at 01:29:53AM CET: > > > > That's from standalone libsnprintfv DLL support, which we're > > obsoleting as we fold it into gnulib. It doesn't wor

Re: Reconciliation of libsnprintfv vs. autogen

2007-02-25 Thread Daniel Jacobowitz
__, __LINE__, SNV_ASSERT_FMT, str); +printf_error(pi, __FILE__, __LINE__, SNV_ASSERT_FCN, str); That's not defined anywhere. ../../libsnprintfv/snprintfv/printf.c: In function 'parse_printf_format': ../../libsnprintfv/snprintfv/printf.c:386: error: 'SNV_ASSERT_FCN' undeclared (first use in this function) -- Daniel Jacobowitz CodeSourcery

Re: wchar.h (was: Re: snprintfv, more gnulibification)

2007-02-25 Thread Daniel Jacobowitz
On Sun, Feb 25, 2007 at 03:56:46PM +0100, Bruno Haible wrote: > Daniel Jacobowitz wrote: > > Paolo's updates added a check for runetype.h > > in order to make Mac OS/X's work properly. Perhaps gnulib's > > substitute wchar.h ought to handle that? > &

snprintfv, more gnulibification

2007-02-25 Thread Daniel Jacobowitz
check went away - current autoconf's inline check also checks for working static inline. I did notice one thing: Paolo's updates added a check for runetype.h in order to make Mac OS/X's work properly. Perhaps gnulib's substitute wchar.h ought to handle that? -- Daniel Jacob

Re: new module 'isnan-nolibm'

2007-02-24 Thread Daniel Jacobowitz
clear macro that determines this. __VFP_FP__ is a subset of the times that normal IEEE layout is used. -- Daniel Jacobowitz CodeSourcery

Re: snprintf gnulibification, first step

2007-02-23 Thread Daniel Jacobowitz
On Fri, Feb 23, 2007 at 11:42:31PM -0500, Daniel Jacobowitz wrote: > I checked in the attached to libsnprintfv. By the way, the only warning in the mingw32 build: ../../libsnprintfv/snprintfv/printf.c: In function `stream_vprintf': ../../libsnprintfv/snprintfv/printf.c:850: warning: `sn

snprintf gnulibification, first step

2007-02-23 Thread Daniel Jacobowitz
antage of those shiny new modules for some of it, and I'm tentatively planning to remove various portability widgets that the rest of gnulib just relies on now. Plus everything simplifies when we no longer need to make it installable. -- Daniel Jacobowitz CodeSourcery 2007-02-23 Daniel

Re: snprintfv for gnulib?

2007-02-23 Thread Daniel Jacobowitz
On Fri, Feb 23, 2007 at 07:46:27AM -0500, Daniel Jacobowitz wrote: > How should I initially configure this? It has a couple of support > files already (compile, ltmain.sh) but not in the build-aux directory > where it wants to find them, and not all of the necessary files > e.g

Re: snprintfv for gnulib?

2007-02-23 Thread Daniel Jacobowitz
where it wants to find them, and not all of the necessary files e.g. config.sub. If the right answer is just "use --add-missing", then should we delete the existing copy of libtool.m4 / ltmain.sh? -- Daniel Jacobowitz CodeSourcery

Re: snprintfv for gnulib?

2007-02-23 Thread Daniel Jacobowitz
already a printf parser in gnulib, and it looks as if it was at some point related to snprintfv's. Unification will interesting. I will work on gnulib-izing snprintfv first. Are there any particular platforms you would recommend compiling for? Otherwise I'll default to Linux and mingw32. -- Daniel Jacobowitz CodeSourcery

Re: snprintfv for gnulib?

2007-02-22 Thread Daniel Jacobowitz
ly on gnulib infrastructure (e.g. for portability issues that libsnprintfv currently solves on its own). -- Daniel Jacobowitz CodeSourcery

Re: Printf for gnulib?

2007-02-19 Thread Daniel Jacobowitz
om (it's already FSF assigned, right?). Want to give me a pointer, or would you rather do it yourself? -- Daniel Jacobowitz CodeSourcery

Re: progreloc.c - what module?

2007-02-19 Thread Daniel Jacobowitz
autoconf and automake. Do you have time to work on that > with me? Is that really necessary? I know that GCC manages something similar that doesn't require any makefile adjustment - at most some defines added to config.h. -- Daniel Jacobowitz CodeSourcery

Printf for gnulib?

2007-02-19 Thread Daniel Jacobowitz
there's only lukewarm interest, I may do something specific to hex float. We already have routines to decompose FP numbers. -- Daniel Jacobowitz CodeSourcery

Re: changing "configure" to default to "gcc -g -O2 -fwrapv ..."

2006-12-29 Thread Daniel Jacobowitz
nt on the list, please ask the Steering Committee. This is a textbook example of what they're for. -- Daniel Jacobowitz CodeSourcery

Re: gnulib-tool: fix for platforms with bash 2.x

2006-10-23 Thread Daniel Jacobowitz
z \"\$\$MOSTLYCLEANDIRS\" || \\" > ! echo " for dir in \$\$MOSTLYCLEANDIRS; do \\" > ! echo "if test -d \$\$dir; then \\" > ! echo " echo \"rmdir \$\$dir\"; rmdir \$\$dir; \\" > ! echo "

Re: [bug-gnulib] Reusing vasnprintf

2006-10-18 Thread Daniel Jacobowitz
On Wed, Oct 18, 2006 at 04:10:46PM -0400, Daniel Jacobowitz wrote: > I'm now worrying that I misunderstood how the gnulib vasnprintf works, > though. This may be less useful than I thought, since it uses both the > result of arg parsing and the format string :-( Never mind, this bi

Re: [bug-gnulib] Reusing vasnprintf

2006-10-18 Thread Daniel Jacobowitz
To be honest, I don't particularly care about this today. GDB support for wide strings is miniscule and no one is improving it. However, if I were to support it, I would try to emulate the target machine's behavior on the host through some other mechanism. -- Daniel Jacobowitz CodeSourcery

Re: [bug-gnulib] Reusing vasnprintf

2006-10-18 Thread Daniel Jacobowitz
On Wed, Oct 18, 2006 at 06:08:22PM +0200, Bruno Haible wrote: > Daniel Jacobowitz wrote: > > For GDB, we're looking at fixing our printf built in command once and > > for all. What we really need to do that is two separate interfaces > > that can talk to each other

Reusing vasnprintf

2006-10-18 Thread Daniel Jacobowitz
rintf, but without printf_fetchargs. Could I persuade you to split the existing vasnprintf along these lines, so that we can use it? I can submit a patch myself if necessary to shuffle all the code around, but I don't have a gnulib assignment; not sure whether that would be considered trivial.

Re: FYI: new openat-like function: mkdirat

2005-12-01 Thread Daniel Jacobowitz
> - it would be impossible to restore the initial working > directory, once it's been changed -- thereafter, no reference > to a `.'-relative name can be resolved. You're talking about exec. If you're going to use