Re: macosx linking fails: _freea referenced from: _rpl_realpath

2019-06-25 Thread Sam Steingold
> * Bruno Haible [2019-06-25 19:11:03 +0200]: > >> $ find . -name \*alloc\*.o >> ./lib/allocator.o >> ./src/alloc.o > > Oh, this is surprising. aha! I re-run gnulib-tool and it fixed it. (alas, emacs maintainers pushed the changes before me ;-) thanks and sorry

Re: macosx linking fails: _freea referenced from: _rpl_realpath

2019-06-25 Thread Sam Steingold
> * Bruno Haible [2019-06-25 17:00:58 +0200]: > > Sam Steingold wrote: >> I get this error when linking Emacs: >> >> --8<---cut here---start->8--- >> CCLD temacs >> Undefined symbols for archit

macosx linking fails: _freea referenced from: _rpl_realpath

2019-06-25 Thread Sam Steingold
g/archive/html/bug-gnu-emacs/2019-06/msg01229.html) Since this involves libgnu, I was wondering if someone here might have an insight. Thanks! -- Sam Steingold (http://sds.podval.org/) on darwin Ns 10.3.1671 http://childpsy.net http://calmchildstories.com http://steingoldpsychology.com http://ameri

no-c++.m4: bug fix: egrep: repetition-operator operand invalid

2017-12-05 Thread Sam Steingold
Hi, On Darwin (Mac OS) the gt_NO_CXX test fails because "Is g++" is not a valid repetition-operator operand. The attached patch fixes the problem. >From d5d949b838c7cf4adb0e6e615795003ac7b0f1c3 Mon Sep 17 00:00:00 2001 From: Sam Steingold <s...@gnu.org> Date: Tue, 5 Dec

fnmatch does not compile with c++ (clang)

2016-08-29 Thread Sam Steingold
gllib/fnmatch.c:313:28: error: assigning to 'wchar_t *' from incompatible type 'void *' wpattern = malloc (totsize * sizeof (wchar_t)); ^ ~~~ 16 errors generated. make[3]: *** [fnmatch.o] Error 1 --8<---cut here----

_GL_UNISTD_H _GL_INCLUDING_WINSOCK2_H

2011-08-25 Thread Sam Steingold
_GL_INCLUDING_WINSOCK2_H is undef'ed and so _GL_UNISTD_H is __NOT__ defined thus I get .../modules/rawsock/rawsock.c:691:3: warning: implicit declaration of function `close_used_without_including_unistd_h' why? -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X

Re: _GL_UNISTD_H _GL_INCLUDING_WINSOCK2_H

2011-08-25 Thread Sam Steingold
* Sam Steingold f...@tah.bet [2011-08-25 12:09:34 -0400]: .../modules/rawsock/rawsock.c:691:3: warning: implicit declaration of function `close_used_without_including_unistd_h' the immediate cause appears to be that I include unistd.h after some other headers (specifically, #include alloca.h

Re: canonicalize_file_name should support win32 shortcuts

2011-08-23 Thread Sam Steingold
this code bloat into clisp so far, but if it does provide a clear advantage of handling cygwin symlinks on pure win32 builds, I will reconsider. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://openvotingconsortium.org http://www.PetitionOnline.com

Re: canonicalize_file_name should support win32 shortcuts

2011-08-23 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-08-23 08:03:02 -0600]: On 08/23/2011 07:56 AM, Sam Steingold wrote: Let me reiterate that the size of canonicalize is plain absurd: https://lists.gnu.org/archive/html/bug-gnulib/2011-05/msg00143.html. 150+ files to implement a single function which takes

Re: canonicalize_file_name should support win32 shortcuts

2011-08-23 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-08-23 08:46:00 -0600]: On 08/23/2011 08:41 AM, Sam Steingold wrote: * Eric Blakeroy...@erqung.pbz [2011-08-23 08:03:02 -0600]: On 08/23/2011 07:56 AM, Sam Steingold wrote: Let me reiterate that the size of canonicalize is plain absurd: https

Re: canonicalize_file_name should support win32 shortcuts

2011-08-23 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-08-23 10:35:52 -0600]: On 08/23/2011 10:28 AM, Sam Steingold wrote: Does Hurd have SYMLOOP_MAX? If so, then yes, that would be a reasonable change. If not, then how do you propose implementing canonicalize on Hurd, without imposing a limit not already

Re: canonicalize_file_name should support win32 shortcuts

2011-08-23 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-08-23 11:47:57 -0600]: On 08/23/2011 11:31 AM, Sam Steingold wrote: Maybe we should rename the canonicalize module to instead be canonicalize_filename_mode, since it does _not_ provide canonicalize() (well, canonicalize_filename_mode(file, CAN_EXISTING

Re: canonicalize_file_name should support win32 shortcuts

2011-08-14 Thread Sam Steingold
On Sun, Aug 14, 2011 at 8:51 AM, Bruno Haible br...@clisp.org wrote: Sam, if 'canonicalize' gets this support, would you be willing to use 'canonicalize' instead of 'canonicalize-lgpl' in clisp? yes. -- Sam Steingold http://sds.podval.org

Re: canonicalize_file_name should support win32 shortcuts

2011-08-13 Thread Sam Steingold
-Cygwin applications don't understand Cygwin symlinks either. Emacs understands the cygdrive pathnames and I am sure it will appreciate an opportunity to understand symlinks as well. -- Sam Steingold http://sds.podval.org

rpl_socket on windows

2011-08-12 Thread Sam Steingold
) was compiled with i686-w64-mingw32-gcc. CYGWIN_NT-5.2-WOW64 sds 1.7.9(0.237/5/3) 2011-03-29 10:10 i686 Cygwin -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://camera.org http://jihadwatch.org http://mideasttruth.com http://memri.org http://ffii.org http

REPLACE_TOWLOWER='1'

2011-08-01 Thread Sam Steingold
why is tolower replaced on linux? -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://iris.org.il http://palestinefacts.org http://honestreporting.com http://thereligionofpeace.com http://www.PetitionOnline.com/tap12009/ Why use Windows, when

Re: top_srcdir in Makefile.am Makefile.in

2011-08-01 Thread Sam Steingold
* Bruno Haible oe...@pyvfc.bet [2011-07-30 02:20:08 +0200]: Sam Steingold wrote: clisp directory structure is: clisp - top level; hand-written configure script (ask Bruno) clisp/src - most sources, configure.in, configure, aclocal.m4 clisp/src/gllib, clisp/src/glm4 - imported from gnulib

Re: REPLACE_TOWLOWER='1'

2011-08-01 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-08-01 09:00:07 -0600]: On 08/01/2011 08:56 AM, Sam Steingold wrote: why is tolower replaced on linux? Did you mean towlower rather than tolower? towlower, sorry What does config.log say? configure:29272: checking whether towlower is declared configure

Re: regex.m4: how do I know that the included regex is used?

2011-07-29 Thread Sam Steingold
the reason I cannot do -I$(srcdir)/gllib is clear: it will not catch uninames.h cjk.h. on the other hand, it does not look like streq.h, uninames.h and cjk.h are included in any clisp sources (only in gnulib). so, I guess TRT is to remove the linking and add -I$(srcdir)/gllib to CPPFLAGS.. -- Sam

top_srcdir in Makefile.am Makefile.in

2011-07-29 Thread Sam Steingold
)/build-aux/depcomp echo ' cd $(top_srcdir) $(AUTOMAKE) --gnits gllib/Makefile'; \ how come?! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://www.memritv.org http://honestreporting.com http://ffii.org http://truepeace.org http

Re: top_srcdir in Makefile.am Makefile.in

2011-07-29 Thread Sam Steingold
must be $(am__cd) $(top_srcdir)/src \ how do I effect that? * Sam Steingold f...@tah.bet [2011-07-29 14:16:46 -0400]: clisp directory structure is: clisp - top level; hand-written configure script (ask Bruno) clisp/src - most sources, configure.in, configure, aclocal.m4 clisp/src

Re: regex.m4: how do I know that the included regex is used?

2011-07-28 Thread Sam Steingold
* Paolo Bonzini obam...@tah.bet [2011-07-28 12:15:38 +0200]: On 07/27/2011 05:11 PM, Sam Steingold wrote: When the included regex is used I must prepend -I$(srcdir)/gllib to CPPFLAGS to ensure that the gnulib regex.h is included in the sources. (when this is not the case, I_must_ not do

Re: regex.m4: how do I know that the included regex is used?

2011-07-28 Thread Sam Steingold
for that and redirect the future bug reports (if any) to you. Thanks. :-) -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://dhimmi.com http://pmw.org.il http://ffii.org http://camera.org http://www.PetitionOnline.com/tap12009/ http://thereligionofpeace.com recursion

how do I build libgnu.so?

2011-07-28 Thread Sam Steingold
Hi, Make in gllib creates libgnu.a but not libgnu.so (or libgnu.dll). How do I create the shared library? Thanks! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://mideasttruth.com http://thereligionofpeace.com http://pmw.org.il http://ffii.org http

Re: new module 'stdalign'

2011-07-28 Thread Sam Steingold
Hi Bruno, On Thu, Jul 28, 2011 at 7:47 PM, Bruno Haible br...@clisp.org wrote: For alignof, whether you want to use gnulib's alignof.h depends on what you need - the necessary alignment and the optimal alignment. so, what does clisp need? -- Sam Steingold http://sds.podval.org

regex.m4: how do I know that the included regex is used?

2011-07-27 Thread Sam Steingold
and if it is not, I must not). what if regex IS used but xeger is NOT? I propose that regex.h is replaced with regex.in.h just like fnmatch.in.h (which has no @@ either). This would solve the problem without any action from the users of gnulib. Thanks. -- Sam Steingold (http://sds.podval.org

Re: new module 'stdalign'

2011-07-27 Thread Sam Steingold
?) -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://thereligionofpeace.com http://jihadwatch.org http://dhimmi.com http://honestreporting.com http://camera.org http://iris.org.il Oral sex was invented by mermaids.

Re: canonicalize_file_name should support win32 shortcuts

2011-07-27 Thread Sam Steingold
* Sam Steingold f...@tah.bet [2011-05-17 14:11:54 -0400]: it appears that neither canonicalize nor canonicalize-lgpl support win32 shortcuts (either used directly or as used by cygwin). it would be nice if they did - then we would be able to use canonicalize-lgpl in clisp. now clisp uses

undefined reference when linking a dll

2011-07-27 Thread Sam Steingold
-mingw-g/gllib/../../src/gllib/sendto.c:36: undefined reference to `__imp__sendto@24' so, how do I create a dll which refers to the gnulib functionality? -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://www.PetitionOnline.com/tap12009/ http

Re: HAVE_RELIABLE_FIONREAD ioctl

2011-07-21 Thread Sam Steingold
HAVE_RAW_DECL_IOCTL 1 #define HAVE_SYS_IOCTL_H 1 /* #undef IOCTL_ARGUMENT_T */ #define IOCTL_DOTS /**/ #define IOCTL_REQUEST_T unsigned long #define NEED_SYS_IOCTL_H /**/ #define WINSIZE_NEED_SYS_IOCTL_H /**/ -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031

Re: HAVE_RELIABLE_FIONREAD ioctl

2011-07-21 Thread Sam Steingold
* Bruno Haible oe...@pyvfc.bet [2011-07-22 00:18:04 +0200]: -extern DIR *fdopendir (int); +extern +# ifdef __cplusplus +C +# endif +DIR *fdopendir (int); that's pretty awful. maybe there is a way to use the m4 magic to avoid replacing 1 line with 5? -- Sam Steingold (http

Re: HAVE_LC_MESSAGES

2011-07-19 Thread Sam Steingold
* Sam Steingold f...@tah.bet [2011-07-14 17:57:10 -0400]: * Bruno Haible oe...@pyvfc.bet [2011-07-14 23:18:41 +0200]: Sam Steingold asked: Does clisp need to know whether LC_MESSAGES is supported by the system, or is a fake one defined by libintl or gnulib. ... No, this is not needed

strerror_r replaced on linux?

2011-07-19 Thread Sam Steingold
Hi, ./config.log:REPLACE_STRERROR_R='1' why do I see this on Linux 2.6.18-238.9.1.el5 gcc (GCC) 4.1.2 20080704 glibc-2.5-58.el5_6.3 -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://www.memritv.org http://iris.org.il http://dhimmi.com http

unistd sys/socket

2011-07-14 Thread Sam Steingold
_GL_SYS_SOCKET_H # if !(defined __cplusplus defined GNULIB_NAMESPACE) #undef socket #define socket socket_used_without_including_sys_socket_h so I must include sys/socket before unistd, otherwise socket (and many others) will not work. so, what is the right order? -- Sam Steingold

Re: unistd sys/socket

2011-07-14 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-07-14 07:43:40 -0600]: On 07/14/2011 07:37 AM, Sam Steingold wrote: Hi, in what order do I include sys/socket and unistd? sys_socket.in.h: #if @HAVE_WINSOCK2_H@ !defined _GL_UNISTD_H # if !(defined __cplusplus defined GNULIB_NAMESPACE) # undef close

Re: HAVE_LC_MESSAGES

2011-07-14 Thread Sam Steingold
* Bruno Haible oe...@pyvfc.bet [2011-07-14 23:18:41 +0200]: Sam Steingold asked: Does clisp need to know whether LC_MESSAGES is supported by the system, or is a fake one defined by libintl or gnulib. ... No, this is not needed: gettext's libintl.h already defines LC_MESSAGES when

HAVE_LC_MESSAGES

2011-07-13 Thread Sam Steingold
(LC_MESSAGES,); #endif ?? thanks! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://iris.org.il http://palestinefacts.org http://dhimmi.com http://thereligionofpeace.com http://ffii.org http://honestreporting.com Flying is not dangerous; crashing is.

Re: HAVE_LC_MESSAGES

2011-07-13 Thread Sam Steingold
Hi, * Bruno Haible oe...@pyvfc.bet [2011-07-13 21:12:49 +0200]: Sam Steingold wrote: What's the point of HAVE_LC_MESSAGES? The point is to tell whether LC_MESSAGES is supported by the system, or is a fake one defined by libintl or gnulib. does clisp need to know the difference

Re: HAVE_LC_MESSAGES

2011-07-13 Thread Sam Steingold
* Bruno Haible oe...@pyvfc.bet [2011-07-13 22:44:49 +0200]: Sam Steingold wrote: does clisp need to know the difference? This #if or #ifdef is outdated. The gettext manual [1] explains why. [1] http://www.gnu.org/software/gettext/manual/html_node/Triggering.html The gettext manual

errno -- errno name ?

2011-06-06 Thread Sam Steingold
strerror, of course; this is merely an _addition_. Thanks. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://jihadwatch.org http://dhimmi.com http://palestinefacts.org http://www.PetitionOnline.com/tap12009/ http://thereligionofpeace.com What

Re: errno -- errno name ?

2011-06-06 Thread Sam Steingold
of errno. Question to Sam: Are you willing to contribute such a module to gnulib (and maintain it)? Absolutely not. The whole point of my request is that I will be maintaining _less_ code, not more. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http

apology

2011-05-26 Thread Sam Steingold
right, to interact with an ssh client, perl needs to do be able to do number theoretical computer algebra system. Can you believe it?! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://iris.org.il http://camera.org http://ffii.org http

Re: need for computer algebra

2011-05-26 Thread Sam Steingold
that the packages reimplements an ssh client rather than being an interface to an existing external one, in which case pari would obviously be not necessary. incidentally, I was not able to get it working on either Cygwin of CentOS, using either pre-supplied package managers or cpan. -- Sam Steingold

new files imported without new modules added

2011-05-24 Thread Sam Steingold
Hi, I updated gnulib and found that it now wants to add these files to CLISP: src/gllib/glthread/lock.c src/gllib/glthread/lock.h src/gllib/glthread/threadlib.c src/gllib/strerror-impl.h src/gllib/strerror_r.c src/glm4/strerror_r.m4 I did not import any new modules. what has happened? -- Sam

Re: new files imported without new modules added

2011-05-24 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-05-24 10:18:05 -0600]: On 05/24/2011 10:12 AM, Sam Steingold wrote: I updated gnulib and found that it now wants to add these files to CLISP: src/gllib/glthread/lock.c src/gllib/glthread/lock.h src/gllib/glthread/threadlib.c src/gllib/strerror-impl.h

Re: new files imported without new modules added

2011-05-24 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-05-24 10:21:16 -0600]: On 05/24/2011 10:18 AM, Eric Blake wrote: On 05/24/2011 10:12 AM, Sam Steingold wrote: I updated gnulib and found that it now wants to add these files to CLISP: src/gllib/glthread/lock.c src/gllib/glthread/lock.h src/gllib

Re: new files imported without new modules added

2011-05-24 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-05-24 10:32:16 -0600]: I do _not_ want strerror_r. Why not? because I copy away the strerror return value right away. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://mideasttruth.com http

request: pointer to the docs in the module file

2011-05-24 Thread Sam Steingold
(without Gnulib) is to define a macro like this: - what does this mean? I need to use this macro if I am not using Gnulib? I need to define the macro even if I am using Gnulib? Thanks. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http

Re: sed hangs on solaris

2011-05-24 Thread Sam Steingold
* Paul Eggert rtt...@pf.hpyn.rqh [2011-05-03 13:52:21 -0700]: On 05/03/11 13:26, Sam Steingold wrote: note that some pipelines appear to succeed before the hanging: Yes. If it is a kernel bug, quite possibly it's timing-dependent, and I wouldn't be surprised if it's not that common. isn't

Re: request: pointer to the docs in the module file

2011-05-24 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-05-24 11:37:40 -0600]: On 05/24/2011 11:26 AM, Sam Steingold wrote: How do I find out where a module is documented? E.g., when I discovered the getloadavg module, I had to do find gnulib/ -name getload\* to find gnulib/doc/glibc-functions/getloadavg.texi

Re: new files imported without new modules added

2011-05-24 Thread Sam Steingold
: return Operation now in progress; case EALREADY: return Operation already in progress; ... } } -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://honestreporting.com http://iris.org.il http://jihadwatch.org http://pmw.org.il http://camera.org http

Re: strerror vs. threads [was: new files imported without new modules added]

2011-05-24 Thread Sam Steingold
goes for system-supplied strerror - is it ever used?) thanks! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://www.memritv.org http://mideasttruth.com http://palestinefacts.org http://iris.org.il http://openvotingconsortium.org http

getloadavg is broken

2011-05-24 Thread Sam Steingold
why getloadavg should. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://camera.org http://www.PetitionOnline.com/tap12009/ http://memri.org http://palestinefacts.org http://truepeace.org Trespassers will be shot. Survivors will be SHOT AGAIN! diff

include sys/types.h without check

2011-05-18 Thread Sam Steingold
sys_uio.in.h includes sys/types.h without #ifdef HAVE_SYS_TYPES_H. can this file be assumed to be present on all platforms including mingw? -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://palestinefacts.org http://mideasttruth.com http://pmw.org.il

GNULIB_PORTCHECK

2011-05-18 Thread Sam Steingold
check for portability. I am confused (as usual, alas...) -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://www.memritv.org http://pmw.org.il http://mideasttruth.com http://www.PetitionOnline.com/tap12009/ http://openvotingconsortium.org Just because you're

socketless platforms?

2011-05-18 Thread Sam Steingold
is there such a thing as a platform without socket support? if yes, how do I detect that after I call gl_SOCKETLIB? -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://www.memritv.org http://openvotingconsortium.org http://pmw.org.il http

Re: alloca-opt

2011-05-17 Thread Sam Steingold
malloc.h #define alloca _alloca #endif -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://truepeace.org http://ffii.org http://www.PetitionOnline.com/tap12009/ http://palestinefacts.org http://jihadwatch.org http://thereligionofpeace.com Feynman

canonicalize_file_name should support win32 shortcuts

2011-05-17 Thread Sam Steingold
/raw-file/363f5b952505/src/w32shell.c which works like a charm for us. it would be wonderful if we could shift the burden of maintaining it to you. thanks! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://mideasttruth.com http://honestreporting.com

gnulib compilation error

2011-05-16 Thread Sam Steingold
stat canonicalize-lgpl nocrash libsigsegv gnu-make gettimeofday getpagesize sys_time sys_wait mktime strftime strptime strverscmp uname strerror fnmatch-gnu regex -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://mideasttruth.com http

do I need ifdef HAVE_UNISTD_H if I import unistd?

2011-05-16 Thread Sam Steingold
DIUC that if I include the sys_time unistd modules, I can write #include unistd.h #include sys/time.h instead of #ifdef HAVE_SYS_TIME_H #include sys/time.h #endif #ifdef HAVE_UNISTD_H #include unistd.h #endif ?? the same question for all the other headers... thanks! -- Sam Steingold

Re: gnulib compilation error

2011-05-16 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-05-16 13:55:31 -0600]: On 05/16/2011 01:51 PM, Sam Steingold wrote: I am getting this error: On which platform? CentOS release 5.6 (Final) Linux 2.6.18-164.el5 #1 SMP Thu Sep 3 03:28:30 EDT 2009 x86_64 x86_64 x86_64 GNU/Linux sorry about not including

Re: do I need ifdef HAVE_UNISTD_H if I import unistd?

2011-05-16 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-05-16 13:56:46 -0600]: On 05/16/2011 01:53 PM, Sam Steingold wrote: DIUC that if I include the sys_time unistd modules, I can write #include unistd.h #include sys/time.h instead of #ifdef HAVE_SYS_TIME_H #include sys/time.h #endif #ifdef

Re: gnulib compilation error

2011-05-16 Thread Sam Steingold
config.h? yes, thanks, fixed. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://mideasttruth.com http://www.memritv.org http://thereligionofpeace.com http://openvotingconsortium.org http://truepeace.org http://honestreporting.com Lisp: Serious

Re: do I need ifdef HAVE_UNISTD_H if I import unistd?

2011-05-16 Thread Sam Steingold
-files accept a list of directories? (it would be 'src modules' for me) why is $(srcdir)/lib/ hard-coded? I use gllib instead of lib. when I managed to get it running, I got warnings about HAVE_ALLOCA_H in ChangeLog, aclocal.m4, and configure. thanks for the pointer though... -- Sam Steingold

Re: do I need ifdef HAVE_UNISTD_H if I import unistd?

2011-05-16 Thread Sam Steingold
-- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://pmw.org.il http://www.memritv.org http://honestreporting.com http://mideasttruth.com http://www.PetitionOnline.com/tap12009/ char*a=char*a=%c%s%c;main(){printf(a,34,a,34);};main(){printf(a,34,a,34);}

Re: do I need ifdef HAVE_UNISTD_H if I import unistd?

2011-05-16 Thread Sam Steingold
skip other files from the maint.mk syntax checks. from the way VC_LIST_ALWAYS_EXCLUDE_REGEX is used, this appears to be TRT: VC_LIST_ALWAYS_EXCLUDE_REGEX = ChangeLog|configure|config.in.h|aclocal.m4 however, it has no effect. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6

environ

2011-05-16 Thread Sam Steingold
does importing the environ module mean that I can remove this: #if !HAVE_DECL_ENVIRON extern_C char** environ; #endif from my sources and assume that environ is properly declared in unistd? also, how can I come up with the answer to this question myself without bothering you? thanks! -- Sam

Re: do I need ifdef HAVE_UNISTD_H if I import unistd?

2011-05-16 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-05-16 15:57:43 -0600]: On 05/16/2011 03:56 PM, Sam Steingold wrote: from the way VC_LIST_ALWAYS_EXCLUDE_REGEX is used, this appears to be TRT: VC_LIST_ALWAYS_EXCLUDE_REGEX = ChangeLog|configure|config.in.h|aclocal.m4 | outside () is different than

dependency creep: canonicalize_file_name

2011-05-04 Thread Sam Steingold
/src/pathname.d almost takes about 160 lines of C code). People, this is ridiculous. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://pmw.org.il http://ffii.org http://iris.org.il http://memri.org http://www.PetitionOnline.com/tap12009/ http

solaris 11 (i386), PIC, dlopen c

2011-05-04 Thread Sam Steingold
.1: lisp.run: fatal: relocation error: file /.../dynmod/lib-wildcard.so: symbol rpl_mbsrtowcs: referenced symbol not found I am passing CFLAGS et al to the gnulib compilation, so -fPIC -DPIC should have been used. Bruno, do you have any insight on the matter? -- Sam Steingold (http

sed hangs on solaris

2011-05-03 Thread Sam Steingold
unistd.h-t unistd.h make[1]: *** [unistd.h] Interrupt when I split the pipe of 3 seds into 3 separate invocations with intermediate files, it works just fine (but hangs in the next sed chain) adding SHELL = /bin/bash to the Makefile did nto change anything. whan do I do now? -- Sam Steingold

what happened to HAVE_STDBOOL_H

2011-05-03 Thread Sam Steingold
file. */ -#undef HAVE_STDDEF_H - /* Define to 1 if you have the stdint.h header file. */ #undef HAVE_STDINT_H what happenned? are we assuming that all platforms now have these files? -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://pmw.org.il

Re: what happened to HAVE_STDBOOL_H

2011-05-03 Thread Sam Steingold
* Eric Blake roy...@erqung.pbz [2011-05-03 16:03:16 -0600]: On 05/03/2011 03:52 PM, Sam Steingold wrote: when I regenerate config.h with the current gnulib, I get: @@ -871,12 +979,6 @@ /* `struct sockaddr_un' from sys/un.h has a `sun_len' field */ #undef HAVE_SOCKADDR_UN_LEN

error: expected ')' before 'int'

2011-03-24 Thread Sam Steingold
to add there. thanks! -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.5 (Final) X http://truepeace.org http://ffii.org http://palestinefacts.org http://thereligionofpeace.com http://dhimmi.com My inferiority complex is the only thing I can be proud of.

Re: error: expected ')' before 'int'

2011-03-24 Thread Sam Steingold
* Sam Steingold f...@tah.bet [2011-03-24 10:45:47 -0400]: I am trying to update gnulib in clisp and clisp no longer compiles: In file included from ../../src/gllib/close-hook.c:23: ./stdlib.h:611: error: expected ')' before 'int' ./stdlib.h:729: error: expected ')' before 'int' In file

error: redefinition of `struct random_data'

2010-10-11 Thread Sam Steingold
All of a sudden (after the 27-Sep-10 sync with gnulib) I am getting this error when compiling gllib in the regexp clisp module on mingw and cygwin: gcc -mno-cygwin -DHAVE_CONFIG_H -I. -I/.../current/modules/regexp/gllib -I.. -I/.../top/include -I/.../current/build-mingw-g-7/gllib

module request: gmalloc

2010-10-11 Thread Sam Steingold
some platforms have malloc implementations with extra features like randomizations, and some applications cannot handle those features. thus emacs (and clisp) come with gmalloc.c by Mike Haertel. It would be nice if it were offered by gnulib, so that I won't have to have my own special login to

Re: error: redefinition of `struct random_data'

2010-10-11 Thread Sam Steingold
). does this as recommended mean that you are now more amenable to accepting my patch? http://clisp.cvs.sourceforge.net/viewvc/clisp/clisp/gnulib-tool.patch?view=log I think the problem you encountered is not specific to clisp, therefore I'm applying approach a). thanks. -- Sam Steingold http

gl_* check do nothing?

2010-09-29 Thread Sam Steingold
this part of my configure.in: == AC_FUNC_CHOWN gl_FUNC_MKTIME gl_FUNC_GNU_STRFTIME gl_FUNC_STRPTIME gl_TIME_MODULE_INDICATOR([strptime]) gl_GETDATE gl_FUNC_STRVERSCMP gl_STRING_MODULE_INDICATOR([strverscmp]) gl_FUNC_UNAME gl_SYS_UTSNAME_MODULE_INDICATOR([uname])

getdate fails to build

2010-09-29 Thread Sam Steingold
/bin/bash /home/sds/src/clisp/current/build-g//build-aux/ylwrap /home/sds/src/clisp/current/modules/syscalls/gllib/getdate.y \ y.tab.c getdate.c \ y.tab.h getdate.h \ y.output

Re: gl_* check do nothing?

2010-09-29 Thread Sam Steingold
getdate: never supplied by the system. HUH???!!! $ nm /lib/libc.so.6 | grep getdate 00085620 t __getdate_r 00085b70 T getdate 00157334 B getdate_err 00085620 W getdate_r -- Sam Steingold http://sds.podval.org

Re: getdate fails to build

2010-09-29 Thread Sam Steingold
relaxed way, and use bison.m4 instead. this is another gnulib bug: it should have detected bad YACC at configure time and failed then. the bottom line is: gnulib has no business requiring YACC on linux gnulib has no business replacing glibc functions on linux -- Sam Steingold http://sds.podval.org

Re: gl_* check do nothing?

2010-09-29 Thread Sam Steingold
On Wed, Sep 29, 2010 at 11:50 AM, Eric Blake ebl...@redhat.com wrote: On 09/29/2010 09:34 AM, Sam Steingold wrote: this part of my configure.in: You haven't switched to configure.ac yet? http://www.cygwin.com/acronyms/#PTC :-) AC_FUNC_CHOWN gl_FUNC_MKTIME gl_FUNC_GNU_STRFTIME

Re: gl_* check do nothing?

2010-09-29 Thread Sam Steingold
On Wed, Sep 29, 2010 at 1:32 PM, Eric Blake ebl...@redhat.com wrote: On 09/29/2010 11:25 AM, Eric Blake wrote: On 09/29/2010 10:50 AM, Sam Steingold wrote: getdate: never supplied by the system. Gnulib and glibc getdate are not synced. There are extensions and bug fixes in gnulib's getdate

Re: getdate fails to build

2010-09-29 Thread Sam Steingold
On Wed, Sep 29, 2010 at 1:44 PM, Paul Eggert egg...@cs.ucla.edu wrote: Renaming the module to get_date would avoid confusion like Sam's in the future.  Presumably getdate.h would be renamed to get_date.h as well. yes, please do! thanks for your explanations! -- Sam Steingold http

Re: gl_* check do nothing?

2010-09-29 Thread Sam Steingold
On Wed, Sep 29, 2010 at 2:17 PM, Eric Blake ebl...@redhat.com wrote: On 09/29/2010 12:10 PM, Sam Steingold wrote: Had I realised this earlier, I would not have pulled the getdate module from gnulib. now I have to revert my changes... Which application are you trying to use this in? GNU

why does getdate include xalloc-die.c?

2010-09-28 Thread Sam Steingold
does this mean that on memory allocation failure in getdate clisp will exit? this is no good.

Re: module gethostname

2010-09-16 Thread Sam Steingold
Bruno Haible wrote: I am now getting undefined reference to `_gethostname_used_without_requesting_gnulib_module_gethostname' This indicates that you have included gnulib unistd.h, are using gethostname(), and have not asked for the gnulib module 'gethostname'. - If you want to use a POSIX

module gethostname

2010-09-15 Thread Sam Steingold
The only problem which gethostname module fixes is: On mingw, this function has a prototype that differs from that specified by POSIX, and it is defined only in the ws2_32 library. why does it have such extensive dependencies? (sockets! errno!) I have to reiterate my complaint that the gnulib

Re: feature request: detect CPU instruction set

2010-09-03 Thread Sam Steingold
Bruno Haible wrote: AH_TOP([/* CPU and C ABI indicator */ #ifndef __i386__ #undef __i386__ #endif #ifndef __x86_64__ #undef __x86_64__ #endif #ifndef __alpha__ #undef __alpha__ #endif #ifndef __arm__ #undef __arm__ #endif #ifndef __armel__ #undef __armel__ #endif #ifndef __hppa__ #undef

module request: sockets.m4

2010-09-01 Thread Sam Steingold
Hi, I want to include sockets.m4 and nothing else (I need LIBSOCKET to replace clisp/src/m4/socket.m4). Is it possible to add a module which would only include that one file? thanks Sam.

Re: module request: sockets.m4

2010-09-01 Thread Sam Steingold
the stability. :-) -- Sam Steingold http://sds.podval.org

Re: feature request: detect CPU instruction set

2010-08-31 Thread Sam Steingold
Bruno Haible wrote: Compared to the code that you proposed: - I changed the name, of course. - I chose to use AC_CACHE_CHECK once for the result of the entire macro, not for each AC_EGREP_CPP inside it. - I dropped Convex CPUs; these are dead for more than 10 years. - I added an

Re: feature request: detect CPU instruction set

2010-08-31 Thread Sam Steingold
Hi Bruno, On 8/31/10, Bruno Haible br...@clisp.org wrote: It apparently depends for whom the code should be readable. since you will be maintaining the code, it is your choice. So, except for code style, you are fine with that proposed module? yes. -- Sam Steingold http://sds.podval.org

Re: feature request: detect CPU instruction set

2010-08-30 Thread Sam Steingold
? Please refer to http://www.gnu.org/prep/maintain/maintain.html#Copyright-Papers I think I have already contributed and thus you should already have all the papers. PS. I do not see the new module under git. -- Sam Steingold http://sds.podval.org

Re: feature request: detect CPU instruction set

2010-07-28 Thread Sam Steingold
so, what's the verdict? Sam Steingold wrote: The already existing AC_CANONICAL_HOST is insufficient in that it does not detect the actual cpu instruction set to which the C compiler compiles. E.g., it is quite common that uname -m prints sparc64 while gcc compile 32-bit binaries by default

feature request: detect CPU instruction set

2010-07-21 Thread Sam Steingold
The already existing AC_CANONICAL_HOST is insufficient in that it does not detect the actual cpu instruction set to which the C compiler compiles. E.g., it is quite common that uname -m prints sparc64 while gcc compile 32-bit binaries by default. It would be nice if gnulib offered a module

Re: feature request: detect CPU instruction set

2010-07-21 Thread Sam Steingold
Hello Ralf, On 7/21/10, Ralf Wildenhues ralf.wildenh...@gmx.de wrote: * Sam Steingold wrote on Wed, Jul 21, 2010 at 05:08:02PM CEST: The already existing AC_CANONICAL_HOST is insufficient in that it does not detect the actual cpu instruction set to which the C compiler compiles

module request: comparing version numbers

2010-06-17 Thread Sam Steingold
Hi, some gnulib modules (e.g., gnulib/m4/libunistring-base.m4) have facilities for comparing version numbers, e.g., 1.5.22 with 2.2.8. it would be nice if there were a module (say, version-compare) which would export such a facility. e.g., @VERSION_COMPARE@ would expand to version_compare() {

Re: module request: comparing version numbers

2010-06-17 Thread Sam Steingold
On 6/17/10, Eric Blake ebl...@redhat.com wrote: On 06/17/2010 11:33 AM, Sam Steingold wrote: some gnulib modules (e.g., gnulib/m4/libunistring-base.m4) have facilities for comparing version numbers, e.g., 1.5.22 with 2.2.8. it would be nice if there were a module (say, version-compare

  1   2   3   >