[bug-gnulib] Bugs in chown module

2005-05-17 Thread Eric Blake
which is properly stubbed). lib/ChangeLog: 2005-05-17 Eric Blake [EMAIL PROTECTED] (tiny change) * chown.c (rpl_chown): Return -1 on failure. m4/ChangeLog: 2005-05-17 Eric Blake [EMAIL PROTECTED] (tiny change) * chown.m4 (gl_FUNC_CHOWN): Correct sense of test for honoring IDs

fts broken again

2005-08-31 Thread Eric Blake
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

Re: cygwin build problem with m4 HEAD

2005-09-09 Thread Eric Blake
test) down to 9 failures (I'll post further info to the m4 lists). Cheers, Ralf * libltdl/ltdl.c (lt_argz_insert): Work around newlib argz_insert bug. * Makefile.am (VERSION_INFO): Bumped revision. Reported by Eric Blake [EMAIL PROTECTED]. Index: Makefile.am

Re: cygwin build problem with m4 HEAD

2005-09-09 Thread Eric Blake
of gnulib's argz module in preference to newlib's system argz_* without even patching libtool. * libltdl/ltdl.c (lt_argz_insert): Work around newlib argz_insert bug. * Makefile.am (VERSION_INFO): Bumped revision. Reported by Eric Blake [EMAIL PROTECTED]. So maybe this libtool patch

Re: gnulib-tool: refusing to do nothing

2005-09-12 Thread Eric Blake
=$config_macro_dir --no-changelog': http://lists.gnu.org/archive/html/m4-patches/2005-09/msg0.html - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake

Re: new module stat-time, to ease access to sub-second file time stamps

2005-09-16 Thread Eric Blake
; ... #define st_atime st_atim.tv_sec #define st_mtime st_mtim.tv_sec #define st_ctime st_ctim.tv_sec So your comment is out of date; cygwin is like Linux. If st_spare1 is still in active use, it is probably for other newlib systems like mingw. -- Eric Blake

bug in getaddrinfo module

2005-09-22 Thread Eric Blake
in netinet/in.h, which is the only place where cygwin provides a full declaration, but lib/getaddrinfo.[hc] is not including that header. -- Eric Blake ___ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib

Re: bug in getaddrinfo module

2005-09-23 Thread Eric Blake
, it should be propagated into gnulib. Works fine. Thanks for the quick fix. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment

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

2005-09-30 Thread Eric Blake
to the same integer type - %zd is only specified to operate on the corresponding signed type matching size_t, which is not necessarily ssize_t). -- Eric Blake ___ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib

gnulib-tool questions

2005-11-04 Thread Eric Blake
letter). I have converted the test app that is currently in lib/dirname.c into a full blown modules/dirname-tests and tests/test-dirname.c, but now I can't figure out how to get gnulib-tool --test to compile and run test-dirname.c. - -- Life is short - so eat dessert first! Eric Blake

Re: {base,dir}name // semantics

2005-11-04 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 7/9/2005 2:49 PM: should this patch be made globally, or should it be limited to only systems that have a distinct //, leaving other platforms to continue having just a single slash returned? Limit it to just those systems

bug in gc-arcfour-tests

2005-11-05 Thread Eric Blake
directory `/home/eblake/gnulib/testdir601299/tests' make[1]: *** No rule to make target `distclean'. Stop. make[1]: Leaving directory `/home/eblake/gnulib/testdir601299/tests' make: *** [distclean-recursive] Error 1 -- Eric Blake ___ bug-gnulib mailing

bugs in dirname module

2005-11-05 Thread Eric Blake
2005-11-05 Eric Blake [EMAIL PROTECTED] * modules/dirname (Depends-on): Need c-ctype. * modules/dirname-tests: New module. * tests/test-dirname.c: New file. m4/ChangeLog 2005-11-05 Eric Blake [EMAIL PROTECTED] * dirname.m4 (DOUBLE_SLASH_IS_DISTINCT_ROOT): New

Re: bugs in dirname module

2005-11-07 Thread Eric Blake
) (POSIX requires that basename // / return // on platforms where // is special), as well as improving the documentation and testsuite of basename and dirname. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1

xstrtoimax compilation warning on Solaris 7

2005-11-08 Thread Eric Blake
xstrtoimax), so I don't know if it is worth trying (or even possible) to work around the old Solaris bug just to silence the warning. -- Eric Blake ___ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib

Re: xstrtoimax compilation warning on Solaris 7

2005-11-08 Thread Eric Blake
and compiler combination is pretty old, anyway, and the code is working. Agreed. I can live with the warning, since gcc still did proper 64-bit math with the full value of the literal in spite of the missing LL. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED

Re: xstrtoimax compilation warning on Solaris 7

2005-11-08 Thread Eric Blake
, where omitting the L suffix on a 64-bit literal is a hard error rather than a silent change in type from int to long. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key

Re: bugs in dirname module

2005-11-08 Thread Eric Blake
? An alternative to editing c-ctype is naming the dirname.h version IS_DRIVE_LETTER instead of c_isalpha. 2005-11-08 Eric Blake [EMAIL PROTECTED] * c-ctype.h: Indent preprocessor directives. (c_isalpha) [C_CTYPE_ASCII]: Guard against redefinition. - -- Life is short - so eat dessert

Re: readline fix

2005-11-10 Thread Eric Blake
if this is the approach you end up using. Call it once, then use a local variable to track the new length as you strip stuff off; it will reduce your work from O(n^2) to O(n) in the worst case of a line whose contents are all \r. -- Eric Blake ___ bug

Re: bugs in dirname module

2005-11-17 Thread Eric Blake
the resulting string. -- Eric Blake ___ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib

style question - const char *

2005-11-17 Thread Eric Blake
- so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDfV4m84KuGfSFAYARApM

Re: bugs in dirname module - gnulib portion

2005-11-21 Thread Eric Blake
of the usages still work with a simple change to last_component, but some do indeed need to stick with base_name and add a free(). ChangeLog: 2005-11-21 Eric Blake [EMAIL PROTECTED] * modules/dirname (Depends-on): Add xstrndup. * modules/dirname-tests: New module. * tests

Re: bugs in dirname module - gnulib portion

2005-11-22 Thread Eric Blake
? (DOUBLE_SLASH_IS_DISTINCT_ROOT ISSLASH (file[1]) ! ISSLASH (file[2])) ? 2 : 1); OK, I simplified dir_len based on your idea, so that ISSLASH is used at most once per character. ChangeLog: 2005-11-21 Eric Blake [EMAIL PROTECTED] * modules/dirname (Depends-on): Add xstrndup

modules and program name

2005-12-08 Thread Eric Blake
for using the dirname module. -- Eric Blake ___ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib

one more warning in argp-help

2005-12-10 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I noticed on cygwin that I was getting a warning for buf being declared at line argp-help.c:1895 but not used. This patch also fixes a lot of trailing whitespace; let me know if you don't want whitespace patches. 2005-12-10 Eric Blake [EMAIL

Re: dirname module calls AC_LIBOBJ unconditionally

2005-12-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Jim Meyering on 12/23/2005 5:05 AM: Eric Blake wrote: So experience in gnulib has shown that slightly different semantics, with dir_name that always mallocs, and (when my patch from a month ago is approved) base_name that mallocs

Use of bison

2005-12-29 Thread Eric Blake
first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org iD8DBQFDs+mt84KuGfSFAYARAn4TAJ9

Re: Use of bison

2005-12-29 Thread Eric Blake
Eric Blake wrote: Hmmm. m4/getdate.m4 does AC_REQUIRE([gl_BISON]), but m4/bison.m4 DOES blindly use 'bison -y' rather than 'missing bison -y'. Maybe bison.m4 should be updated to better check for a new enough bison, perhaps building on autoconf's AC_PROG_YACC or AC_PATH_PROG. maybe

Re: making fts thread-safe (no more fchdir)

2006-01-17 Thread Eric Blake
with feature-poor native versions. -- Eric Blake ___ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib

Re: making fts thread-safe (no more fchdir)

2006-01-17 Thread Eric Blake
directories and using chmod(). Or maybe we could add a new FTS_CWDFD option to regular old fts_open(), so that an application has to explicitly request the new and improved reentrant fts behavior, rather than breaking when upgrading from a native fts to gnulib. -- Eric Blake

Re: [bug-gnulib] $(EXEEXT) in TESTS required?

2006-01-19 Thread Eric Blake
case, but I have encountered $(EXEEXT) problems on cygwin with other Makefile constructs used in various projects. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key at home.comcast.net

Re: [bug-gnulib] gnulib/gnulib-tool shell quoting problem for Solaris /bin/sh

2006-01-25 Thread Eric Blake
.html -- Eric Blake ___ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib

compilation warning in argp-help

2006-02-15 Thread Eric Blake
; | #endif | | ; | return 0; | } I will be sending a followup report to autoconf about the unused variable warning evoked in AC_FUNC_STRERROR_R. 2006-02-15 Eric Blake [EMAIL PROTECTED] * argp-help.c (__argp_failure) [!defined USE_IN_LIBIO !_LIBC !HAVE_DECL_STRERROR_R]: Avoid

canon-host problems in cygwin

2006-02-15 Thread Eric Blake
was not compiled with cygwin in mind. I'm hoping that the upcoming cygwin-1.5.20 will have getaddrinfo, but in the meantime, it is better to use the gnulib version of getaddrinfo rather than linking in incompatible headers and libraries. -- Eric Blake ___ bug

Re: canon-host problems in cygwin

2006-02-15 Thread Eric Blake
-02-15 Eric Blake [EMAIL PROTECTED] * sys_socket_h.m4 (gl_HEADER_SYS_SOCKET): Don't attempt using winsock2.h or ws2tcpip.h when sys/socket.h is present. Fixes 'present but cannot compile' warnings on cygwin. * socklen.m4 (gl_TYPE_SOCKLEN_T): Use gl_HEADER_SYS_SOCKET

Re: canon-host problems in cygwin

2006-02-17 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 2/15/2006 4:28 PM: And here is a patch. The cygwin list confirmed that sys/socket.h and ws2tcpip.h are intentionally incompatible, and that although the later is available for use in mingw compiles, it purposefully

Re: hash.c compilation error

2006-02-18 Thread Eric Blake
it as an empty string? If you are trying to define it from the command line, you should be using -DUSE_OBSTACK=1, not -DUSE_OBSTACK. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.1 (Cygwin) Comment: Public key

Re: play nice with AC_CACHE_CHECK

2006-02-24 Thread Eric Blake
And it is essential for CVS coreutils to compile on cygwin with caching on (sorry you had to duplicate my efforts) -- Eric Blake ___ bug-gnulib mailing list bug-gnulib@gnu.org http://lists.gnu.org/mailman/listinfo/bug-gnulib

Re: make getopt.c build in visual studio

2006-03-07 Thread Eric Blake
dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: base64.? going into rfc3548bis

2006-03-24 Thread Eric Blake
about '='? Isn't it part of the alphabet, yet isbase64('=') returns false? - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using

unused function in time_r.c

2006-03-24 Thread Eric Blake
:31: warning: 'copy_string_result' defined but not used make[2]: *** [time_r.o] Error 1 I assume it was okay that I checked in this obvious patch: 2006-03-24 Eric Blake [EMAIL PROTECTED] * time_r.c (copy_string_result): Remove, as it is no longer used. - -- Life is short - so eat

Re: [bug-gnulib] removing asctime_r, ctime_r from the time_r module

2006-04-24 Thread Eric Blake
programmers the mindset of using strftime anyways, even if buffer overflow can be avoided with asctime or ctime. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net

Re: update use of gnulib-tool

2006-05-05 Thread Eric Blake
! ${GNULIB_TOOL} --update func_echo patching include directories in gnulib regex module mv $config_macro_dir/regex.m4 $config_macro_dir/regex-m4.old Bruno Actual patch committed: THANKS: added Eric Blake, Bruno Haible (patch omitted, since it contains email addresses) ChangeLog

Re: update use of gnulib-tool

2006-05-06 Thread Eric Blake
[trimming m4 lists out of reply] Eric Blake ebb9 at byu.net writes: 3) Commit ltdl/m4/gnulib-cache.m4 into the CVS. Hmm. gnulib-tool created it with a copyright date of 2004. We should update gnulib-tool to have a single location for copyright dates (it currently has 6 separate

Re: va_copy, new module 'stdarg'

2006-05-08 Thread Eric Blake
dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEXzvK84KuGfSFAYARAm5bAJ4u7KMPg1Mv755zvuLKRt

Re: extend the scope of xasprintf

2006-05-08 Thread Eric Blake
() for this purpose. */ Is it worth recognizing the special case of a format string with no % formatting directives, and do the equivalent of strdup(format) in that case? -- Eric Blake

Re: [bug-gnulib] Re: update use of gnulib-tool

2006-05-08 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 5/8/2006 9:24 AM: 2006-05-06 Eric Blake [EMAIL PROTECTED] * gnulib-tool (func_version): Base copyright year on CVS date. (func_emit_header): New function. (func_emit_lib_Makefile_am): Use

Re: fix for stdint.h on Cygwin

2006-05-17 Thread Eric Blake
versions are encouraged to upgrade their cygwin installation, rather than propagating workarounds in other packages. -- Eric Blake

portability of errno?

2006-06-10 Thread Eric Blake
or otherwise. Are there any platforms this fails on? - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http

Re: add gmp library dependency; get dist to work...

2006-06-13 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 [Adding bug-gnulib] According to Eric Blake-1 on 6/13/2006 10:50 AM: Hi Ralf, (and yes, in order to be able to even get `make' to succeed, I need to fiddle with gnulib getopt currently; __getopt_argv_const is not #defined in my system

Re: regex.c not 64-bit clean (?)

2006-06-13 Thread Eric Blake
='-Wall -Werror' gnulib-tool --test regex and see if that compiles cleanly. If so, I can go ahead and commit my patch to use gnulib for m4 1.4.5. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin

Re: regex.c not 64-bit clean (?)

2006-06-14 Thread Eric Blake
$ make CFLAGS='-Wall -Werror' And see if THAT combination allows gnulib regex.c to compile cleanly. Bruno, is it okay to apply this? 2006-06-14 Eric Blake [EMAIL PROTECTED] * ssize_t.m4 (gt_TYPE_SSIZE_T): Work in spite of -Werror. Index: m4/ssize_t.m4

Re: regex.c not 64-bit clean (?)

2006-06-15 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Paul Eggert on 6/15/2006 1:32 AM: [EMAIL PROTECTED] (Eric Blake) writes: Bruno, is it okay to apply this? 2006-06-14 Eric Blake [EMAIL PROTECTED] * ssize_t.m4 (gt_TYPE_SSIZE_T): Work in spite of -Werror. Applied. I'm

Re: regex.c not 64-bit clean (?)

2006-06-15 Thread Eric Blake
is clean. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: assume errno

2006-06-19 Thread Eric Blake
OK to apply? These are the last five references within gnulib where we did not assume the existance of errno. Yes, please, for the patches that Bruno hasn't already applied. Thanks. Done. -- Eric Blake

autoreconf --install vs. gnulib-tool

2006-06-19 Thread Eric Blake
then be simplified to just updating the gnulib CVS checkout and getting the latest version of the various files directly from gnulib. And by having gnulib track the list of files, there is less maintainence burden on keeping lists up-to-date within Makefile.maint of a particular project. -- Eric

system module?

2006-06-20 Thread Eric Blake
() and pclose() use (status8)0xff, but system() uses status0xff, to represent the low 8 bits returned from main() in the child process. Is it worth adding a system module to gnulib that detects implementations with this bug, and provides rpl_system to work around it? -- Eric Blake

Re: [bug-gnulib] system module?

2006-06-22 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Bruno Haible on 6/22/2006 5:37 AM: Eric Blake wrote: Is it worth adding a system module to gnulib that detects implementations with this bug, and provides rpl_system to work around it? How many programs will be ported to OS/2

Re: [bug-gnulib] system module?

2006-06-23 Thread Eric Blake
known to fail without producing output, and see if the return values are the same. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment

Re: [bug-gnulib] wcwidth on mingw

2006-06-28 Thread Eric Blake
)==4, a prototype of int wcwidth() is incompatible with a declaration of int wcwidth(wchar_t wc) because of promotion rules. 2006-06-28 Eric Blake [EMAIL PROTECTED] * modules/wcwidth: New file. * modules/mbchar (Depends-on): Add wcwidth. * modules/mbswidth (Depends

xvasprintf typo fix

2006-06-28 Thread Eric Blake
I noticed a copy-n-paste error from vasprintf.h, so I installed this trivial fix: 2006-06-28 Eric Blake [EMAIL PROTECTED] * xvasprintf.h: Fix comments. Index: lib/xvasprintf.h === RCS file: /sources/gnulib/gnulib/lib

tempname.c vs. mingw

2006-06-28 Thread Eric Blake
on the lstat module? -- Eric Blake

Re: tempname.c vs. mingw

2006-06-29 Thread Eric Blake
for a sys/stat.h replacement, tested on native cygwin and cross-compiling to mingw; with it, the mkstemp module compiles on mingw. Any feedback before I install this? ChangeLog: 2006-06-29 Eric Blake [EMAIL PROTECTED] * MODULES.html.sh: Add sys_stat. * modules/sys_stat: New

Re: tempname.c vs. mingw

2006-06-29 Thread Eric Blake
in with the above changes. Thanks for the review. -- Eric Blake

Re: tempname.c vs. mingw

2006-06-29 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 6/29/2006 4:15 PM: Well, it was the suggestion from Bruno as seen in functions.texi, and has the benefit that mkdir is still a valid function pointer to the OS's exported function (with a static replacement function

Re: OS/2 and stdarg module

2006-07-01 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Paul Eggert on 7/1/2006 3:27 PM: [EMAIL PROTECTED] (Eric Blake) writes: +#define gl_va_copy(a,b) (a) = (b)]) I'm not familiar with this package, but surely that should be ((a) = (b)), not (a) = (b). In the case of va_copy, POSIX

Re: coreutils merge into gnulib

2006-07-03 Thread Eric Blake
: dirname.h +xstrndup.h Not necessary, same as above. -- Eric Blake

Re: Windows fixes for sockpfaf

2006-07-05 Thread Eric Blake
. You may also want to get in the habit of following the autoconf quoting rule of thumb - one level of [] inside every (), even if the string didn't need quoting because it did not contain macros or special characters. m4/ChangeLog: 2006-07-05 Eric Blake [EMAIL PROTECTED] * sockpfaf.m4

Re: Windows fixes for sockpfaf

2006-07-05 Thread Eric Blake
Eric Blake ebb9 at byu.net writes: $ gnulib-tool --test getaddrinfo ... gcc -DHAVE_CONFIG_H -I. -I../../lib -I.. -Wall -O2 - c ../../lib/getaddrinfo.c ../../lib/getaddrinfo.c: In function `getnameinfo': ../../lib/getaddrinfo.c:324: error: `NI_NUMERICHOST' undeclared (first use

Re: Windows fixes for sockpfaf

2006-07-05 Thread Eric Blake
happen. -- Eric Blake

Re: AC_HEADER_STDC

2006-07-06 Thread Eric Blake
to unsigned char as well, IIRC. You are right, here. tolower of plain char is undefined if char is signed. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net

Re: create a big test, collect the fallout

2006-07-06 Thread Eric Blake
compatible to both 2.59 and 2.60 was indeed breaking the checks into multiple lines, one decl per check. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake

Re: problem with gl_ABSOLUTE_HEADER and HP-UX native ANSI C compiler

2006-07-10 Thread Eric Blake
Bob Proulx writes: ./lib/Makefile:ABSOLUTE_STDINT_H = ///usr/include/stdint.h ./lib/stdint.h:# include ///usr/include/stdint.h Looks like you need to re-run 'config.status'. That won't help. It is in config.status. Look at this: Does this solve it? 2006-07-10 Eric Blake

Re: problem with gl_ABSOLUTE_HEADER and HP-UX native ANSI C compiler

2006-07-10 Thread Eric Blake
Thanks for reporting the further problem. I installed this in both gnulib and coreutils. Eric, mind if I do something similar for sys_stat_h.m4? Go for it. Shouldn't we also fix the comments of absolute-header.m4, while we are at it? $ cvs diff m4/absolute-header.m4 Index:

Re: proposal for fdl module

2006-07-11 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Simon Josefsson on 7/11/2006 2:49 AM: Eric Blake [EMAIL PROTECTED] writes: In the m4 project, I wanted to update the documentation to include the FDL in an appendix. gnulib contains doc/fdl.texi, but did not have any easy way

Re: [bug-gnulib] proposal for fdl module

2006-07-11 Thread Eric Blake
therefore not be incorporated in the package that uses gnulib. Actually, regexprops-generic.texi is also end-user doc, which CVS Head of M4 wants to incorporate. 2006-07-10 Eric Blake [EMAIL PROTECTED] * gnulib-tool: Avoid space-tab. What's the point of this change? Also, please present

Re: proposal for fdl module

2006-07-11 Thread Eric Blake
Bruno Haible bruno at clisp.org writes: Also, in the patch, I would mention --doc-base before --tests-base. (tests-base is used only when --with-tests is specified, whereas doc-base is used always.) Okay to apply this? 2006-07-11 Eric Blake [EMAIL PROTECTED] * gnulib-tool: List

Re: gnupload

2006-07-14 Thread Eric Blake
it easier to use? - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

gendocs bug?

2006-07-18 Thread Eric Blake
? In the meantime, I've just changed TMPDIR to work around the problem. -- Eric Blake

stdlib-safer module

2006-07-21 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 I assume that Paul forgot these files when porting from coreutils, so I am checking this in (as I found a bug in m4 that would be solved by using mkstemp_safer). lib/ChangeLog: 2006-07-21 Eric Blake [EMAIL PROTECTED] * stdlib-safer.h: New

closeout bug?

2006-07-21 Thread Eric Blake
() handler to change the exit status, in spite of the warning from POSIX? -- Eric Blake

stdio-safer and tmpfile

2006-07-21 Thread Eric Blake
the underlying library decide what mode tmpfile implies), at the possible expense of more syscalls and using up to three extra fd's before stabilizing on a good fd. Okay to install? ChangeLog: 2006-07-21 Eric Blake [EMAIL PROTECTED] * modules/stdio-safer (Files): Add tmpfile-safer.c

Re: closeout bug?

2006-07-21 Thread Eric Blake
that there is a data race between the mkstemp and the eventual unlink; hopefully this is resolved by Bruno's module). -- Eric Blake

Re: closeout bug?

2006-07-21 Thread Eric Blake
version in m4 without too much difficulty. -- Eric Blake

xvasprintf and ENOMEM

2006-07-22 Thread Eric Blake
]: *** [xvasprintf.o] Error 1 Is this worth fixing, and if so, does anyone know the best approach for it? - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake

Re: stdio-safer and tmpfile

2006-07-23 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 7/21/2006 9:51 AM: Okay to install? ChangeLog: 2006-07-21 Eric Blake [EMAIL PROTECTED] * modules/stdio-safer (Files): Add tmpfile-safer.c. (Depends-on): Add binary-io. * stdio-safer.m4

Re: closeout bug?

2006-07-23 Thread Eric Blake
it myself. You got the other three new files okay. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http

Re: split stdio-safer into fopen-safer, tmpfile-safer

2006-07-25 Thread Eric Blake
compile-time warnings when compiling m4 on mingw, but only because pipe-safer.c is using an undefined function, and not because m4 is using pipe. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment

Re: purpose of *-safer?

2006-07-25 Thread Eric Blake
- -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: split stdio-safer into fopen-safer, tmpfile-safer

2006-07-25 Thread Eric Blake
is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.2.1 (Cygwin) Comment: Public key at home.comcast.net/~ericblake/eblake.gpg Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

Re: split stdio-safer into fopen-safer, tmpfile-safer

2006-07-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Ben Pfaff on 7/26/2006 11:54 AM: Eric Blake [EMAIL PROTECTED] writes: According to Ben Pfaff on 7/25/2006 11:21 AM: Can you expand on why tmpfile is not so safe? I'd still like to fear Paul's reasons. I hope you mean hear them

Re: stdio-safer and tmpfile

2006-07-26 Thread Eric Blake
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 According to Eric Blake on 7/23/2006 7:23 AM: m4/ChangeLog: 2006-07-23 Eric Blake [EMAIL PROTECTED] * unistd-safer.m4 (gl_UNISTD_SAFER): Check for missing pipe. 2006-07-23 Eric Blake [EMAIL PROTECTED] * pipe-safer.c

Re: split stdio-safer into fopen-safer, tmpfile-safer

2006-07-28 Thread Eric Blake
is extensions.m4 doing this? Should it be using #ifdef instead? #ifndef __EXTENSIONS__ # undef __EXTENSIONS__ #endif -- Eric Blake

regex compile warnings

2006-07-28 Thread Eric Blake
Is it worth silencing these compiler warnings with /usr/ucb/cc on Solaris 7? ../../lib/regex_internal.h, line 714: warning: token-less macro argument ../../lib/regexec.c, line 1412: warning: non-constant initializer: op -- -- Eric Blake

typo in error module

2006-07-28 Thread Eric Blake
On glibc platforms, error_at_line currently violates GNU coding standards when the output stream is in wide character mode. OK to apply? Does this need to be pushed to glibc? 2006-07-28 Eric Blake [EMAIL PROTECTED] * error.c (error_at_line): Fix typo in wide string. Index: lib

Re: typo in error module

2006-07-28 Thread Eric Blake
amended patch is below: 2006-07-28 Eric Blake [EMAIL PROTECTED] * error.c (error_at_line): Match GNU Coding Standards. I noticed this while trying to make m4 match GNU coding standards. Man, I wish there were an error() variant that took a va_list. m4 wants to avoid exporting global

Re: regex compile warnings

2006-07-29 Thread Eric Blake
extension that allows you to change the value of an unrelated variable inside an initializer. The workaround is trivial - separate the assignment into a followon statement. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN PGP SIGNATURE- Version: GnuPG

Re: [bug-gnulib] missing --doc-base option

2006-07-29 Thread Eric Blake
on 2006-07-11; if your last invocation of 'gnulib-tool --update' is before that date, you need to run 'gnulib-tool --update' once, with a --doc-base option. That second --update should read --import. - -- Life is short - so eat dessert first! Eric Blake [EMAIL PROTECTED] -BEGIN

Re: typo in error module

2006-08-03 Thread Eric Blake
with this: http://sources.redhat.com/bugzilla/show_bug.cgi?id=2997 Meanwhile, is this patch acceptable, which updates the _LIBC portions of the error module to resemble CVS glibc more closely, so that I have fewer spurious diffs to filter through? 2006-08-03 Eric Blake [EMAIL PROTECTED] * error.h

Re: [bug-gnulib] VPATH and IRIX make (was: m4-1.4.6 soon?)

2006-08-07 Thread Eric Blake
it properly in the autoconf manual, I think it would be wiser for gnulib to support this particular usage. That said, I will not hold up the m4 1.4.6 release waiting for a workaround. -- Eric Blake

  1   2   3   4   5   6   7   8   9   10   >