Re: PACKAGE, VERSION, PACKAGE_VERSION

2009-08-07 Thread Sam Steingold
On Fri, Aug 7, 2009 at 4:33 PM, Bruno Haiblebr...@clisp.org wrote: why do I get a warning for them (but not for PACKAGE_*)? Because redefinitions of C macros warrant maintainer attention. yes, but why am I not getting the warnings about PACKAGE_*? -- Sam Steingold http://sds.podval.org

Re: new module 'uname'

2009-08-06 Thread Sam Steingold
Bruno Haible wrote: configure.ac: gl_FUNC_UNAME gl_SYS_UTSNAME_MODULE_INDICATOR([uname]) just curious, since I will be using uname for clisp/syscalls: what is gl_SYS_UTSNAME_MODULE_INDICATOR? why does it take an argument? thanks. Sam.

no-c++

2009-08-05 Thread Sam Steingold
modules which cannot be compiled with c++ (regex, gettimeofday) should depend on no-c++

Re: gnulib-tool --avoid problems

2009-08-03 Thread Sam Steingold
Hi Bruno, On Sun, Aug 2, 2009 at 5:01 AM, Bruno Haiblebr...@clisp.org wrote: Sam Steingold wrote: ./string.h:54:5: error: #if with no expression The 'string' module occurs as dependency of the 'memchr' module or 'mbsrtowcs' modules. so I added 'string' to GNULIB_MODULES and now... Somehow

Re: gnulib-tool --avoid problems

2009-08-03 Thread Sam Steingold
On Mon, Aug 3, 2009 at 4:11 PM, Bruno Haiblebr...@clisp.org wrote: Sam Steingold wrote: so I added 'string' to GNULIB_MODULES and now... [all fine] - why do I have to do that? I have no idea why you had a half, not working 'string' module earlier. Without a tarball with all files included

Re: gnulib-tool --avoid problems

2009-08-02 Thread Sam Steingold
Hi Bruno, On Sun, Aug 2, 2009 at 5:01 AM, Bruno Haiblebr...@clisp.org wrote: Sam Steingold wrote: alas, there is still some duplication between modules/regexp/glm4 and src/glm4, specifically:           codeset.m4           locale-fr.m4           locale-ja.m4           locale-zh.m4

gnulib-tool --avoid problems

2009-07-30 Thread Sam Steingold
directory `/home/sds/src/clisp/current/build-O/gllib' make: *** [gllib] Error 2 any insight? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 9.04 (jaunty) http://iris.org.il http://palestinefacts.org http://mideasttruth.com http://www.memritv.org http://honestreporting.com http

mbrtowc.m4 bug in c++

2009-06-25 Thread Sam Steingold
Hi, when a CC=g++, tests in mbrtowc.m4 fail with error: 'mbtowc' was not declared in this scope since 'mbtowc' is declared in stdlib.h, I think this patch is in order: 2009-06-15 Sam Steingold s...@gnu.org * mbrtowc.m4 (gl_MBRTOWC_SANITYCHECK): include stdlib.h

Re: gl_LIBSIGSEGV is broken

2009-06-24 Thread Sam Steingold
On Wed, Jun 24, 2009 at 6:18 AM, Bruno Haiblebr...@clisp.org wrote: Sam Steingold wrote: if I remove the explicit call to gt_LC_MESSAGES (which is called by AM_INTL_SUBDIR which is called by AM_GNU_GETTEXT which we call explicitly) then config.h.in no longer contains #undef HAVE_LC_MESSAGES

Re: gl_LIBSIGSEGV is broken

2009-06-22 Thread Sam Steingold
. which looks bizarre. -- Sam Steingold http://sds.podval.org

Re: gl_LIBSIGSEGV is broken

2009-06-18 Thread Sam Steingold
On Thu, Jun 18, 2009 at 5:31 AM, Bruno Haiblebr...@clisp.org wrote: Sam Steingold wrote: after: $ grep -i sigsegv config.status S[LIBSIGSEGV_PREFIX]= S[LTLIBSIGSEGV]= S[LIBSIGSEGV]= S[HAVE_LIBSIGSEGV]=yes D[HAVE_LIBSIGSEGV]= 1 D[HAVE_LIBSIGSEGV]= 1 ...  $ ls -l /usr/include

Re: gl_LIBSIGSEGV is broken

2009-06-16 Thread Sam Steingold
On Mon, Jun 15, 2009 at 6:52 PM, Bruno Haiblebr...@clisp.org wrote: Sam Steingold wrote: I just upgraded clisp to libsigsegv.m4 serial 4 Did you do a make distclean; ./configure after doing so? yes, of course. and now LIBSIGSEGV is not set right: config.status: before: $ grep -i

getpagesize on mingw

2009-06-16 Thread Sam Steingold
that? actually, maybe getpagesize.m4 should do that automatically? thanks Sam.

Re: abort() traceability

2009-06-15 Thread Sam Steingold
Ben Pfaff wrote: Bruno Haible br...@clisp.org writes: What do the others think? Should we possibly extend stdlib.in.h so that abort() becomes a macro that produces a detailed error message, similar to what assert() does? Just changing abort() to assert(0) would improve the diagnostics

gl_LIBSIGSEGV is broken

2009-06-15 Thread Sam Steingold
I just upgraded clisp to libsigsegv.m4 serial 4 and now LIBSIGSEGV is not set right: config.status: before: $ grep -i sigsegv config.status S[LIBSIGSEGV]=-lsigsegv S[LTLIBSIGSEGV]=-lsigsegv D[HAVE_LIBSIGSEGV]= 1 D[HAVE_LIBSIGSEGV]= 1 after: $ grep -i sigsegv config.status

Re: dropping setuid/setgid privileges, round 2

2009-06-12 Thread Sam Steingold
Bruno Haible wrote: * Regarding abort() vs. return -1 - hi Sam! -, they say: But while reporting failure through return values is possible, we advise against it, as it might leave the identity in an inconsistent state. Thus, when an identity change fails in the middle, programmers should

Re: dropping setuid/setgid privileges

2009-06-09 Thread Sam Steingold
On Tue, Jun 9, 2009 at 5:07 AM, Bruno Haiblebr...@clisp.org wrote: Sam Steingold wrote: down with the nannies! let us assume that I threw in the anti-totalitarian-programming diatribe here. :-) I call it collaborative programming: I program something, and users report bugs, until the code

Re: dropping setuid/setgid privileges

2009-06-08 Thread Sam Steingold
code and document that aborting on certain errors is the right behavior. -- Sam Steingold http://sds.podval.org

Re: dropping setuid/setgid privileges

2009-06-08 Thread Sam Steingold
On Mon, Jun 8, 2009 at 8:19 PM, Bruno Haible br...@clisp.org wrote: Sam Steingold wrote: I urge you to avoid abort in favor of returning an error code and document that aborting on certain errors is the right behavior. If I did this, the risk that a bug does not get reported would be too

Re: gnulib update broke clisp

2009-01-16 Thread Sam Steingold
On Thu, Jan 15, 2009 at 8:09 PM, Eric Blake e...@byu.net wrote: AC_REQUIRE([AC_CONFIG_AUX_DIR], [AC_CONFIG_AUX_DIR([$1])]) This did the trick. Thanks! -- Sam Steingold s...@gnu.org

gnulib update broke clisp

2009-01-15 Thread Sam Steingold
... (cached) none needed checking how to run the C preprocessor... (cached) gcc -E configure: error: cannot run /bin/sh /config.sub make: *** [i18n] Error 1 I am lost. Any suggestions? Sam.

Re: gnulib update broke clisp

2009-01-15 Thread Sam Steingold
) AC_INIT(i18n, 1.0, clisp-list) AC_CONFIG_SRCDIR(i18n.lisp) AC_CONFIG_HEADERS(config.h) RSE_BOLD BOLD_MSG([I18N (Common)]) CL_MODULE_COMMON_CHECKS(../../src/build-aux) == configure.in are you saying that AC_CONFIG_HEADERS calls AC_CANONICAL_BUILD?! thanks! -- Sam

Re: gnulib update broke clisp

2009-01-15 Thread Sam Steingold
On Thu, Jan 15, 2009 at 3:49 PM, Paolo Bonzini bonz...@gnu.org wrote: Sam Steingold wrote: are you saying that AC_CONFIG_HEADERS calls AC_CANONICAL_BUILD?! No, that CL_MODULE_COMMON_CHECKS calls something that *requires* AC_CANONICAL_BUILD. Required stuff is always expand before

Re: choice of implementation language

2009-01-07 Thread Sam Steingold
Mike Frysinger wrote: On Wednesday 07 January 2009 09:39:06 Sam Steingold wrote: Bruno Haible wrote: If gnulib-tool was to be rewritten in another programming language than shell + sed, what would be the good choices? a popularity contest is not the way to choose a language. and why aren't

how do I check that an FD is open?

2008-12-14 Thread Sam Steingold
knowlegeable unix forum I know... -- Sam Steingold (http://sds.podval.org/) on Ubuntu 8.10 (intrepid) http://thereligionofpeace.com http://honestreporting.com http://ffii.org http://mideasttruth.com http://palestinefacts.org There's always free cheese in a mouse trap.

gettimeofday does not link with g++

2008-11-27 Thread Sam Steingold
charstrg.o: In function `char_width(chart)': /home/sds/src/clisp/current/build-gxx-g/../src/charstrg.d:324: undefined reference to `uc_width' without the arglist of uc_width. any ideas? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 8.10 (intrepid) http://honestreporting.com http

Re: module request: execname

2008-11-20 Thread Sam Steingold
Bruno, 2 weeks ago I requested a module: Sam Steingold wrote: As mentioned in http://article.gmane.org/gmane.comp.lib.gnulib.bugs/15446, I would like to request a new module execname which would export 2 functions: char *get_executable_name (void); int find_executable (const char

Re: gnulib: cond spinlocks

2008-11-18 Thread Sam Steingold
to _remove_ xthread.d and _replace_ it with some gnulib module (or combination thereof). I think that xthread.d fits the gnulib mandate perfectly, so, if no current module (combination?) provides that functionality, xthread.d should be included in gnulib. Sam.

dependency creep: cond

2008-11-17 Thread Sam Steingold
to threadlib which will not pull anything extra? Thanks Sam.

gnulib: cond spinlocks

2008-11-17 Thread Sam Steingold
Bruno, would it be possible to make gnulib cond allocate on stack? would it be possible to use fast clisp spinlocks in gnulib lock? Thanks. Vladimir Tzankov wrote: On Nov 17, 2008, at 9:28 PM, Sam Steingold wrote: I plan to create the thread2 branch after I switch to gnulib threadlib/lock/cond

Re: code/module request: undo setuid

2008-11-12 Thread Sam Steingold
Bruno Haible wrote: Sam Steingold wrote: Please see the discussion here: https://sourceforge.net/forum/message.php?msg_id=5611456 The discussion is here: http://news.gmane.org/gmane.lisp.clisp.general/cutoff=12548 http://article.gmane.org/gmane.lisp.clisp.general/12533 Please don't

code/module request: undo setuid

2008-11-10 Thread Sam Steingold
probably hunt them down myself, but I would rather have an expert opinion. Also, if the magic goes beyond 1-2 lines, I think it would be a good idea to add it to gnulib. thanks. Sam.

Re: code/module request: undo setuid

2008-11-10 Thread Sam Steingold
* Bruno Haible [EMAIL PROTECTED] [2008-11-11 02:24:10 +0100]: Sam Steingold wrote: Suppose one has an application which is installed setuid root. Suppose also the application has a feature (e.g., spawn an interactive user shell) which should NOT be run as root - but as an unprivileged user

module request: execname

2008-11-06 Thread Sam Steingold
/lib/progreloc.c (apparently lifted with changes from clisp/src/execname.c), so all you need to do is extract the module and avoid the dependency creep. Thanks. Sam.

Re: cannot recreate gllib

2008-10-27 Thread Sam Steingold
Hi Ralf, Ralf Wildenhues wrote: Reproducible with a small example, see below. Workaround: use ./config.status gllib/Makefile depfiles instead of --file=gllib/Makefile. thanks a lot for the workaround, it does solve the problem. Sam.

Re: dependency creep

2008-10-26 Thread Sam Steingold
that you pay more attention to minimization of the amount of the overridden functionality. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 8.04 (hardy) http://israelunderattack.slide.com http://pmw.org.il http://mideasttruth.com http://thereligionofpeace.com http://ffii.org Linux - find out what

Re: cannot recreate gllib

2008-10-26 Thread Sam Steingold
* Simon Josefsson [EMAIL PROTECTED] [2008-10-26 09:43:24 +0100]: Sam Steingold [EMAIL PROTECTED] writes: rm -f stdlib.h-t stdlib.h { echo '/* DO NOT EDIT! GENERATED AUTOMATICALLY! */' \ sed -e 's/@''INCLUDE_NEXT''@/include_next/g' \ -e 's|@''NEXT_STDLIB_H''@|stdlib.h|g

Re: cannot recreate gllib

2008-10-26 Thread Sam Steingold
Hi Ralf, * Ralf Wildenhues [EMAIL PROTECTED] [2008-10-26 09:52:39 +0100]: * Sam Steingold wrote on Sun, Oct 26, 2008 at 04:13:39AM CET: the gnulib code is in the gllib subdirectory of the build directory. it all started with a very ordinary make (in the same build directory

dependency creep

2008-10-25 Thread Sam Steingold
distribute gnu libc with every application? -- Sam Steingold (http://sds.podval.org/) on Ubuntu 8.04 (hardy) http://memri.org http://jihadwatch.org http://iris.org.il http://dhimmi.com http://openvotingconsortium.org http://palestinefacts.org Booze is the answer. I can't remember the question.

cannot recreate gllib

2008-10-25 Thread Sam Steingold
/Makefile config.status: executing depfiles commands sed: can't read 'gllib/Makefile': No such file or directory this is most confusing: gllib/Makefile IS present. I did remake all configure scripts. -- Sam Steingold (http://sds.podval.org/) on Ubuntu 8.04 (hardy) http://palestinefacts.org http

libsigsegv.m4: --with-libsigsegv-prefix is ignored

2008-09-09 Thread Sam Steingold
4 libsigsegv.la* Sam.

Re: gethostname

2008-08-12 Thread Sam Steingold
Simon Josefsson wrote: Sam Steingold [EMAIL PROTECTED] writes: 1. why aren't you testing for HAVE_SYS_UTSNAME_H instead? 2. are there really systems without uname sys/utsname.h, given that these are in posix? http://www.opengroup.org/onlinepubs/009695399/functions/uname.html I think

Re: gethostname

2008-08-12 Thread Sam Steingold
Ben Pfaff wrote: Sam Steingold [EMAIL PROTECTED] writes: 1. is this module ever needed on a unix system? i.e., are there any unix systems still in use that lack gethostname? 2. are there any unix systems still in use that lack uname? Among the platforms represented in Bruno Haible's

Re: gethostname

2008-08-12 Thread Sam Steingold
Simon Josefsson wrote: Sam Steingold [EMAIL PROTECTED] writes: Simon Josefsson wrote: Sam Steingold [EMAIL PROTECTED] writes: 1. why aren't you testing for HAVE_SYS_UTSNAME_H instead? 2. are there really systems without uname sys/utsname.h, given that these are in posix? http

Re: gethostname

2008-08-12 Thread Sam Steingold
Ben Pfaff wrote: Sam Steingold [EMAIL PROTECTED] writes: Ben Pfaff wrote: Sam Steingold [EMAIL PROTECTED] writes: 1. is this module ever needed on a unix system? i.e., are there any unix systems still in use that lack gethostname? 2. are there any unix systems still in use that lack uname

gethostname

2008-08-11 Thread Sam Steingold
gnulib/lib/gethostname.c says: #ifdef HAVE_UNAME # include sys/utsname.h #endif 1. why aren't you testing for HAVE_SYS_UTSNAME_H instead? 2. are there really systems without uname sys/utsname.h, given that these are in posix? http://www.opengroup.org/onlinepubs/009695399/functions/uname.html

Re: gethostname

2008-08-11 Thread Sam Steingold
* Simon Josefsson [EMAIL PROTECTED] [2008-08-11 23:23:24 +0200]: Sam Steingold [EMAIL PROTECTED] writes: gnulib/lib/gethostname.c says: #ifdef HAVE_UNAME # include sys/utsname.h #endif 1. why aren't you testing for HAVE_SYS_UTSNAME_H instead? 2. are there really systems without uname

Re: new module 'libffcall'

2008-07-28 Thread Sam Steingold
[A private ping elicited a response] Hi Bruno http://article.gmane.org/gmane.comp.lib.gnulib.bugs:14103 Sorry I didn't have time to formulate a detailed response. In one sentence, my main objection against this patch is that while clisp needs only avcall + callback from libffcall, other

Re: new module 'libffcall'

2008-07-21 Thread Sam Steingold
Sam Steingold wrote: Bruno Haible wrote: Sam Steingold wrote: OK - I am both proposing a patch AND asking a particular person (Bruno Haible). OK, but please keep bug-gnulib in CC. OK. looks like Ben's advice worked wonders, so I will try that again: I am both proposing a patch AND asking

new module 'libffcall'

2008-07-14 Thread Sam Steingold
Bruno Haible wrote: Sam Steingold wrote: OK - I am both proposing a patch AND asking a particular person (Bruno Haible). OK, but please keep bug-gnulib in CC. OK. looks like Ben's advice worked wonders, so I will try that again: I am both proposing a patch AND asking a particular person

Re: module request: longlong

2008-07-13 Thread Sam Steingold
* Ben Pfaff [EMAIL PROTECTED] [2008-07-12 20:57:11 -0700]: Sam Steingold [EMAIL PROTECTED] writes: Hello? is anyone there? do you only talk to each other? You would probably get better results by proposing a patch or by asking a particular person. OK - I am both proposing a patch

Re: module request: longlong

2008-07-13 Thread Sam Steingold
* Ben Pfaff [EMAIL PROTECTED] [2008-07-13 11:13:38 -0700]: Sam Steingold [EMAIL PROTECTED] writes: * Ben Pfaff [EMAIL PROTECTED] [2008-07-12 20:57:11 -0700]: That is pretty easy, so I went ahead and wrote up a patch. Please try out the following and see if it does what you want: commit

Re: module request: longlong

2008-07-12 Thread Sam Steingold
Hello? is anyone there? do you only talk to each other? * Sam Steingold [EMAIL PROTECTED] [2008-07-03 10:53:43 -0400]: longlong.m4 is available via many modules, but not alone. it would be nice if a longlong module were availbale. offering one single file: longlong.m4 thanks. ps

module request: longlong

2008-07-03 Thread Sam Steingold
longlong.m4 is available via many modules, but not alone. please create a longlong module offering one single file: longlong.m4 thanks. ps. gnulib/gnulib-tool: line 1512: echo: write error: Broken pipe problem is still there

new user: libffcall

2008-07-03 Thread Sam Steingold
please add libffcall https://savannah.gnu.org/projects/libffcall/ to the users file. thanks.

gnulib/gnulib-tool: line 1512: echo: write error: Broken pipe

2008-06-29 Thread Sam Steingold
tests make use of the locale_charset() function directly or indirectly, you may need to define the CHARSETALIASDIR environment variable, so that make check works before make install. In Makefile.am syntax: TESTS_ENVIRONMENT += @LOCALCHARSET_TESTS_ENVIRONMENT@ File list: ... -- Sam Steingold

Re: gnulib/gnulib-tool: line 1512: echo: write error: Broken pipe

2008-06-29 Thread Sam Steingold
athlon i386 GNU/Linux - the shell you are using (most probably: echo $BASH_VERSION). $ echo $BASH_VERSION 3.2.33(1)-release -- Sam Steingold (http://sds.podval.org/) on Fedora release 9 (Sulphur) http://palestinefacts.org http://pmw.org.il http://truepeace.org http://thereligionofpeace.com

Re: libsigsegv questions

2008-06-06 Thread Sam Steingold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruno Haible wrote: | 1) Putting the sigsegv.m4 macro from GNU clisp into gnulib, incorporating | it into the c-stack module. please put it into a separate module, because I do not want to pull the whole c-stack module into clisp when all I

Re: [PATCH] split AC_LIB_LINKFLAGS_BODY for multi-library packages

2008-03-13 Thread Sam Steingold
is neither permitted nor denied by best guess record for domain of [EMAIL PROTECTED]) [EMAIL PROTECTED] X-RZG-CLASS-ID: mo07 X-RZG-AUTH: gMysVb8JT2gB+rFDu0PuvnPihAP8oFdePhw95HsIrI3FAWzVjXQh+Q== From: Bruno Haible [EMAIL PROTECTED] To: Sam Steingold [EMAIL PROTECTED] Subject: Re: [PATCH] split

Re: [PATCH] split AC_LIB_LINKFLAGS_BODY for multi-library packages

2008-03-12 Thread Sam Steingold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruno Haible wrote: | Sam Steingold wrote: | some packages (e.g., GNU libffcall) install multiple libraries, so | AC_LIB_LINKFLAGS_BODY is insufficient for detecting them. | this patch splits AC_LIB_LINKFLAGS_BODY into two parts: for adding

[PATCH] split AC_LIB_LINKFLAGS_BODY for multi-library packages

2008-03-11 Thread Sam Steingold
=== RCS file: /srv/git/gnulib.git/HEAD/ChangeLog,v retrieving revision 1.2186 diff -w -p -u ChangeLog --- ChangeLog revision 1.2186 +++ ChangeLog working copy @@ -1,3 +1,10 @@ +2007-11-29 Sam Steingold [EMAIL PROTECTED] + + * m4/lib

patch for lib-link.m4:AC_LIB_LINKFLAGS

2007-11-29 Thread Sam Steingold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 2007-11-29 Sam Steingold [EMAIL PROTECTED] * m4/lib-link.m4 (AC_LIB_LINKFLAGS_BODY): split into ... (AC_LIB_LINKFLAGS_ADD): adds -with-libname-prefix command line switch (AC_LIB_LINKFLAGS_SEARCH): searches for libname

Re: how to use AC_LIB_LINKFLAGS with a multi-library package?

2007-11-28 Thread Sam Steingold
is split into the checking part and the arg-with part - then the checking part could be used with ffcall.m4 I also suggest that ffcall.m4 is added to gnulib (together with sigsegv.m4 from clisp), just like iconv.m4 is in gnulib. Sam. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment

how to use AC_LIB_LINKFLAGS with a multi-library package?

2007-11-27 Thread Sam Steingold
suggestions? thanks. Sam. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHTJ6nPp1Qsf2qnMcRAuA8AKCDgcH9qj6Tdrt61Pf8CBhFoc22eQCeKLcC pk7k2T5dMeIqH/xuBtaRtWQ= =RX0E -END PGP SIGNATURE-

Re: regex.m4 test too strict?

2007-11-01 Thread Sam Steingold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Paul Eggert wrote: Sam Steingold [EMAIL PROTECTED] writes: # ac_use_included_regex is NOT cached, so we have to duplicate the # logic of src/glm4/regex.m4! case $with_included_regex in yes|no) ac_use_included_regex=$with_included_regex

regex.m4 test too strict?

2007-10-31 Thread Sam Steingold
a broken regex implementation? thanks Sam. -BEGIN PGP SIGNATURE- Version: GnuPG v1.4.6 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFHKJ2nPp1Qsf2qnMcRArkIAJ0Tf9MXQyDf6Oh+iFwhM36UM/kMqQCgo3ps UEBnxHH4J9XaCnLdxV6/FoI= =lqUo -END PGP SIGNATURE-

Re: regex.m4 test too strict?

2007-10-31 Thread Sam Steingold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Sam Steingold wrote: it appears that gnulib regex.m4 declares my regex broken: config.cache:818:gl_cv_func_re_compile_pattern_working=${gl_cv_func_re_compile_pattern_working=no} this is weird given that the system is an fc5 (glibc 2.4

Re: regex.m4 test too strict?

2007-10-31 Thread Sam Steingold
* Paul Eggert [EMAIL PROTECTED] [2007-10-31 16:47:06 -0700]: Sam Steingold [EMAIL PROTECTED] writes: incidentally, why isn't ac_use_included_regex cached? Typically we don't cache things that can be computed cheaply. Can't it be computed cheaply, assuming

Re: module suggestion: realpath

2007-10-27 Thread Sam Steingold
* Bruno Haible [EMAIL PROTECTED] [2007-10-27 00:25:01 +0200]: Sam Steingold wrote: CLISP comes with a replacement realpath implementation for platforms which lacks it (are there still such platforms?). If someone provides a correct implementation of realpath for gnulib, we will accept

users.txt patch

2007-10-23 Thread Sam Steingold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Index: users.txt === RCS file: /sources/gnulib/gnulib/users.txt,v retrieving revision 1.19 diff -u -w -u -b -w -i -B -r1.19 users.txt - --- users.txt 22 Aug 2007 22:24:56 - 1.19

Re: regex cannot be compiled with g++

2007-10-20 Thread Sam Steingold
Paul Eggert wrote: This casting business is a relatively minor point; I'm more worried about the old-style function definitions. I wish I knew why glibc does it that way. http://sources.redhat.com/bugzilla/show_bug.cgi?id=5200 just ask.

Re: regex cannot be compiled with g++

2007-10-19 Thread Sam Steingold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Bruno Haible wrote: Sam Steingold wrote: why not just apply the patch? You can also have your patch automatically applied by gnulib-tool. To achieve this: - create a directory, say, gnulib-local, - store your regcomp.diff in gnulib-local

regex cannot be compiled with g++

2007-10-18 Thread Sam Steingold
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 looks like regex still does not support g++: g++ -DHAVE_CONFIG_H -I. -I../../src/gllib -I.. -MT regex.lo -MD -MP -MF .deps/regex.Tpo -c ../../src/gllib/regex.c -fPIC -DPIC -o .libs/regex.o ../../src/gllib/regcomp.c:260: error: 'reg_syntax_t

Re: regex cannot be compiled with g++

2007-10-18 Thread Sam Steingold
not just apply the patch? I think there is some value in making gllib compilable with g++: better type checking for gllib maintainers and ease of maintenance for gllib users. Sam.

Re: integrating gnulib into GNU clisp

2007-10-16 Thread Sam Steingold
Bruno Haible wrote: If you just need to copy some files (such as config.guess, config.sub - these are not part of any module), copy them. 'depcomp', 'install-sh', 'missing' come from automake --add-missing. yes, I have this in Makefile.devel: GNULIB_HOME=../../gnulib/gnulib

stdint generation

2007-10-15 Thread Sam Steingold
gnulib/gnulib/m4/stdint offers a multi-line sed rule for generating stdint.h from stdint_.h, why do I need to maintain the sed command by hand? why can't this be done by config.status? the same issue with stdbool...

regex warnings on linux

2005-08-18 Thread Sam Steingold
: implicit declaration of function 'isblank' -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.iris.org.il http://www.honestreporting.com http://www.mideasttruth.com/ http://www.jihadwatch.org/ The only substitute for good manners is fast reflexes

Re: Opening a can of worms: a readline gnulib module?

2005-08-11 Thread Sam Steingold
* Simon Josefsson [EMAIL PROTECTED] [2005-07-16 22:30:27 +0200]: * readline.m4: New file. please take a look at http://cvs.sourceforge.net/viewcvs.py/*checkout*/clisp/clisp/src/m4/readline.m4 -- Sam Steingold (http://www.podval.org/~sds) running w2k http://pmw.org.il/ http

Re: Opening a can of worms: a readline gnulib module?

2005-08-11 Thread Sam Steingold
= no; then AC_MSG_ERROR([cannot find ZLIB library]) fi (one can have AC_CHECK_HEADERS and AC_SEARCH_LIBS in any order) -- Sam Steingold (http://www.podval.org/~sds) running w2k http://ffii.org/ http://www.dhimmi.com/ http://pmw.org.il/ http://www.iris.org.il http://www.camera.org Good

Re: regex problems

2005-08-05 Thread Sam Steingold
* Bruno Haible [EMAIL PROTECTED] [2005-08-04 13:22:12 +0200]: Sam Steingold wrote: This patch should work. ... will you check this into the gnulib CVS? I'm waiting for other people's opinion, especially Paul Eggert's one. (The regex module is owned by all.) here are 2 more issues: 1

regexp regressions

2005-08-05 Thread Sam Steingold
: ( ) Differ at position 1: vs CORRECT: () CLISP : () Form: (RE-TEST (a*)+ ) CORRECT: ( ) CLISP : ( ) Differ at position 1: vs CORRECT: () CLISP : () -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.honestreporting.com http

Re: [bug-gnulib] regex problems

2005-08-04 Thread Sam Steingold
* Bruno Haible [EMAIL PROTECTED] [2005-08-04 13:22:12 +0200]: Sam Steingold wrote: Does the definition of AC_CHECK_HEADERS_ONCE also find its way into the aclocal.m4 file? ... no, aclocal.m4 does not have the definition. That's the problem. Fix that, and it will work. well, yes

regex problems

2005-08-03 Thread Sam Steingold
m4_pattern_allow. See the Autoconf documentation. configure:5676: error: possibly undefined macro: AC_CHECK_FUNCS_ONCE thanks. -- Sam Steingold (http://www.podval.org/~sds) running w2k http://www.iris.org.il http://www.camera.org http://www.palestinefacts.org/ http://pmw.org.il/ Bus error -- driver

Re: [bug-gnulib] regex problems

2005-08-03 Thread Sam Steingold
* Bruno Haible [EMAIL PROTECTED] [2005-08-03 22:42:04 +0200]: Sam Steingold wrote: when trying to upgrade to the latest gnulib regexp, I encountered the following problems: 1. g++ cannot compile regexp: ./regex.h:569: error: expected primary-expression before __restrict__ ./regex.h:569

<    1   2   3