Re: new module proposal: split

2006-09-06 Thread Davide Angelocola
L. > > It seems to do just what the proposed split module should be doing, > doesn't it? argcv_get has more features than split(). It's ok for me to use this in place of split(). -- Davide Angelocola

Re: new module proposal: split

2006-09-06 Thread Davide Angelocola
ou considered the desirability of multiple break characters? > Possibly something like strtok_r semantics to > break a string into a number of argv tokens based > on a string of possible break characters > (e.g., " \t\n\r") no, but this a very nice idea Best Regards, -- Davide Angelocola

Re: new module proposal: split

2006-09-05 Thread Davide Angelocola
On Tuesday 05 September 2006 22:01, Ben Pfaff wrote: > Davide Angelocola <[EMAIL PROTECTED]> writes: > > I'm proposing another new module for gnulib: split. > > > > The function signature is: > > char *split(const char *str, char sep, int *argc); > > &

new module proposal: split

2006-09-05 Thread Davide Angelocola
I'm proposing another new module for gnulib: split. The function signature is: char *split(const char *str, char sep, int *argc); what do you think about? -- Davide Angelocola

new module proposal: strip

2006-09-01 Thread Davide Angelocola
[] = "a string "; printf("strip '%s'\n", strip(strdup(buf))); printf("chug '%s'\n", chug(strdup(buf))); printf("strip '%s'\n", chomp(strdup(buf))); return 0; } Best regards, -- Davide Angelocola (dfa)

Re: [bug-gnulib] new module proposal: strip

2006-09-01 Thread Davide Angelocola
Done. Thanks for the suggestions. Best regards, -- Davide Angelocola Description: trim() removes leading and/or trailing whitespaces Files: lib/trim.c lib/trim.h Depends-on: xalloc mbiter configure.ac: Makefile.am: EXTRA_DIST += trim.h Include: #include "trim.h" License: GPL Maintai

new module proposal: strip

2006-08-31 Thread Davide Angelocola
[] = "a string "; printf("strip '%s'\n", strip(strdup(buf))); printf("chug '%s'\n", chug(strdup(buf))); printf("strip '%s'\n", chomp(strdup(buf))); return 0; } Best regards, -- Davide Angelocola (dfa) -- -- Davide Angelocola

hash.c compilation error

2006-02-17 Thread Davide Angelocola
:895:16: #if with no expression without defining USE_OBSTACK it compiles. Best Regards, -- Davide Angelocola ___ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib

Re: obstack issue

2005-11-25 Thread Davide Angelocola
om... > configure.ac:84: gl_AC_TYPE_UINTMAX_T is required by... > m4/obstack.m4:23: gl_PREREQ_OBSTACK is expanded from... > m4/obstack.m4:14: gl_OBSTACK is expanded from... > m4/gnulib-comp.m4:44: gl_INIT is expanded from... > configure.ac:84: the top level > > I'm using autoco

obstack issue

2005-11-25 Thread Davide Angelocola
m4:23: gl_PREREQ_OBSTACK is expanded from... m4/obstack.m4:14: gl_OBSTACK is expanded from... m4/gnulib-comp.m4:44: gl_INIT is expanded from... configure.ac:84: the top level I'm using autoconf 2.59 and 1.4.3. -- Davide Angelocola ___ bug-gnulib mailin