Jim Meyering <[EMAIL PROTECTED]> writes:
> A week or so ago, I stumbled across one interface that was missing a
> `const' attribute on a parameter, then dug up a few more. Paul, let me
> know when you reach a point at which my checking this in won't interfere.
It's easier for me if I just get it
Jim Meyering <[EMAIL PROTECTED]> writes:
> Is it really permitted to have sizeof (size_t) < sizeof (unsigned int)?
Yes, I'm afraid so. The C Standard merely says that size_t is an
unsigned integer type; size_t is allowed to be narrower than unsigned int.
See, for example, Mark Brader's 10-year-o
A week or so ago, I stumbled across one interface that was missing a
`const' attribute on a parameter, then dug up a few more. Paul, let me
know when you reach a point at which my checking this in won't interfere.
Index: regcomp.c
=
I installed this and filed glibc bug 1280:
2005-08-31 Paul Eggert <[EMAIL PROTECTED]>
* lib/regcomp.c (re_comp) [defined _REGEX_RE_COMP || defined _LIBC]:
(seek_collating_symbol_entry) [defined _LIBC]:
(lookup_collation_sequence_value) [defined _LIBC]:
(build_ran
Patch actually attached this time.
Regards,
Derek
Derek Price wrote:
>Oskar Liljeblad wrote:
>
>
>
>>Well, the current Gnulib implementation doesn't behave that way.
>>It will return 0 if the first call to getc fails (for whatever reason -
>>error or EOF). AFAIK, the correct way to test getl
I installed this and filed glibc bug 1279:
2005-08-31 Paul Eggert <[EMAIL PROTECTED]>
* lib/regexec.c (re_search_internal): Simplify update of
rm_so and rm_eo by replacing "if (A == B) A += C - B;"
with the equivalent of "if (A == B) A = C;". This will
make the
I installed this and filed glibc bug 1278.
2005-08-31 Paul Eggert <[EMAIL PROTECTED]>
* lib/regcomp.c (re_compile_fastmap_iter, init_dfa, init_word_char):
(optimize_subexps, lower_subexp):
Don't assume 1<<31 has defined behavior on hosts with 32-bit int,
since th
Oskar Liljeblad wrote:
>Well, the current Gnulib implementation doesn't behave that way.
>It will return 0 if the first call to getc fails (for whatever reason -
>error or EOF). AFAIK, the correct way to test getline/getdelim for
>
[. . .]
>I believe the GNU libc documentation needs to be fixed
Paul Eggert <[EMAIL PROTECTED]> wrote:
> Jim Meyering <[EMAIL PROTECTED]> writes:
>
>> Is there a patch yet to make gcc suppress that warning?
>
> Sorry, not yet. Other things are on my plate
>
>> - unsigned int n1 = n0 + 1;
>> + /* FIXME: technically, the type of n1 should be `unsig
I installed this, to get minor things out of the way before installing
the 64-bit patch for regex. I also filed glibc bug 1273.
2005-08-31 Paul Eggert <[EMAIL PROTECTED]>
* lib/regex_internal.h (re_sub_match_top_t): Remove unused member
next_last_offset.
(struct re_dfa_
Jim Meyering <[EMAIL PROTECTED]> writes:
> Is there a patch yet to make gcc suppress that warning?
Sorry, not yet. Other things are on my plate
> - unsigned int n1 = n0 + 1;
> + /* FIXME: technically, the type of n1 should be `unsigned int',
> + but that evokes an unsuppressi
[EMAIL PROTECTED] (James Youngman) writes:
> I haven't checked the code, but I suspect that a better choice would
> be to include which must also #define NULL. That way you
> end up with less other stuff being included without necessity and the
> code stands a greater chance of working when comp
[EMAIL PROTECTED] (Eric Blake) wrote:
> The following patch was needed to make 'gnulib-tool --test fts' pass
> again. Is there some way to improve new file creation to ensure that
> all files are claimed by a module?
>
> 2005-08-31 Eric Blake <[EMAIL PROTECTED]>
>
> * modules/unistd-safer
Normally and should be sufficient to get
socklen_t. Which are the systems where it needs ?
Bruno
___
bug-gnulib mailing list
bug-gnulib@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-gnulib
The following patch was needed to make 'gnulib-tool --test fts' pass
again. Is there some way to improve new file creation to ensure that
all files are claimed by a module?
2005-08-31 Eric Blake <[EMAIL PROTECTED]>
* modules/unistd-safer (Files): Add unistd--.h.
* modules/stdio
Simon Josefsson wrote:
> Yay! I considered dropping use of gnulib in libgnutls yesterday,
> because I wanted the error module for the tools, but that module need
> a program_name variable. When the library didn't provide one, there
> were linker failures. I added a dummy 'char *program_name = "g
How about this?
2005-08-31 Simon Josefsson <[EMAIL PROTECTED]>
* modules/socklen: New file.
2005-08-31 Simon Josefsson <[EMAIL PROTECTED]>
* socklen.m4: New file.
Index: modules/socklen
===
RCS file: modules/so
Bruno Haible <[EMAIL PROTECTED]> writes:
> 2) Support for multiple gnulib directories with a single configure.ac.
>
> It happens that a project wants to use gnulib in different parts, sometimes
> even with different licenses, but these parts share the same config.h and
> therefore the same configu
Yoann Vandoorselaere wrote:
> The strcasestr module miss the inclusion of the stdio.h header,
> resulting in missing declaration for the NULL identifier on some
> systems.
Thanks. I committed the appended fix.
James Youngman writes:
> I haven't checked the code, but I suspect that a better choic
Hi all,
In the next days, I'll commit a few significant changes to gnulib-tool's
--import functionality.
1) Ease of use
"gnulib-tool --import" shall be usable for four purposes:
- For making the first use of gnulib in a package, updating configure.ac,
Makefile.am etc.
- For changing the
On Wed, 2005-08-31 at 08:59 +0100, James Youngman wrote:
> On Wed, Aug 31, 2005 at 08:12:10AM +0200, Yoann Vandoorselaere wrote:
>
> > The strcasestr module miss the inclusion of the stdio.h header,
> > resulting in missing declaration for the NULL identifier on some
> > systems.
>
> I haven't c
Jim Meyering <[EMAIL PROTECTED]> wrote:
> Paul Eggert <[EMAIL PROTECTED]> wrote:
>> It will take a while for this [gcc] fix to propagate, though. In the
Is there a patch yet to make gcc suppress that warning?
FYI, here is the warning again
[line 586 referred to the test in the expansion of xallo
On Wed, Aug 31, 2005 at 08:12:10AM +0200, Yoann Vandoorselaere wrote:
> The strcasestr module miss the inclusion of the stdio.h header,
> resulting in missing declaration for the NULL identifier on some
> systems.
I haven't checked the code, but I suspect that a better choice would
be to include
23 matches
Mail list logo