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 Date: Tue, 5 Dec 2017 11:02:33 -0500 Su

fnmatch does not compile with c++ (clang)

2016-08-29 Thread Sam Steingold
initialization bool is_range = false; ^ ../../src/gllib/fnmatch.c:313:28: error: assigning to 'wchar_t *' from incompatible type 'void *' wpattern = malloc (totsize * sizeof (wchar_t)); ^ ~~~~

Re: _GL_UNISTD_H & _GL_INCLUDING_WINSOCK2_H

2011-08-25 Thread Sam Steingold
> * Sam Steingold [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, #

_GL_UNISTD_H & _GL_INCLUDING_WINSOCK2_H

2011-08-25 Thread Sam Steingold
with i686-pc-mingw32-gcc _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 re

Re: canonicalize_file_name should support win32 shortcuts

2011-08-23 Thread Sam Steingold
> * Eric Blake [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, canonic

Re: canonicalize_file_name should support win32 shortcuts

2011-08-23 Thread Sam Steingold
> * Eric Blake [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,

Re: canonicalize_file_name should support win32 shortcuts

2011-08-23 Thread Sam Steingold
> * Eric Blake [2011-08-23 08:46:00 -0600]: > > On 08/23/2011 08:41 AM, Sam Steingold wrote: >>> * Eric Blake [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 p

Re: canonicalize_file_name should support win32 shortcuts

2011-08-23 Thread Sam Steingold
> * Eric Blake [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

Re: canonicalize_file_name should support win32 shortcuts

2011-08-23 Thread Sam Steingold
ize-lgpl'. I have been reluctant to pull 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://openvot

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 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
another step forward. > Other non-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
mbolp(obj)) for some reason gdb seems not to be working properly. clisp (and gnulib) 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.o

Re: REPLACE_TOWLOWER='1'

2011-08-01 Thread Sam Steingold
> * Eric Blake [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

Re: top_srcdir in Makefile.am & Makefile.in

2011-08-01 Thread Sam Steingold
> * Bruno Haible [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, clis

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 there are

Re: top_srcdir in Makefile.am & Makefile.in

2011-07-29 Thread Sam Steingold
$(AUTOMAKE) --gnits gllib/Makefile the penultimate line must be $(am__cd) $(top_srcdir)/src && \ how do I effect that? > * Sam Steingold [2011-07-29 14:16:46 -0400]: > > clisp directory structure is: > clisp - top level; hand-written configure script (ask Bruno) >

top_srcdir in Makefile.am & Makefile.in

2011-07-29 Thread Sam Steingold
LL) $(top_srcdir)/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://

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

2011-07-29 Thread Sam Steingold
(only in gnulib). so, I guess TRT is to remove the linking and add -I$(srcdir)/gllib to CPPFLAGS.. -- Sam Steingold (http://sds.podval.org/) on CentOS release 5.6 (Final) X 11.0.60900031 http://iris.org.il http://honestreporting.com http://openvotingconsortium.org http://mideasttruth.com http://www.PetitionOnline.com/tap12009/ http://ffii.org A man paints with his brains and not with his hands.

Re: new module 'stdalign'

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

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: regex.m4: how do I know that the included regex is used?

2011-07-28 Thread Sam Steingold
ur word 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://thereligion

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

2011-07-28 Thread Sam Steingold
> * Paolo Bonzini [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

undefined reference when linking a dll

2011-07-27 Thread Sam Steingold
this is because asciz_to_string is declared with __declspec(dllexport) where it is defined. there seems to be no way to add such a declaration to the rpl_setsockopt et al. if, instead, I add libgnu.a to the command line, I get libgnu.a(sendto.o): In function `rpl_sendto': /cygdrive/

Re: canonicalize_file_name should support win32 shortcuts

2011-07-27 Thread Sam Steingold
> * Sam Steingold [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. >

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.

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

2011-07-27 Thread Sam Steingold
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/) on

Re: HAVE_RELIABLE_FIONREAD & ioctl

2011-07-21 Thread Sam Steingold
> * Bruno Haible [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? -

Re: HAVE_RELIABLE_FIONREAD & ioctl

2011-07-21 Thread Sam Steingold
int, . ..)' conflicts with /usr/include/sys/ioctl.h:42: error: previous declaration 'int ioctl(int, long unsigned int, ...)' here configure:36267: $? = 1 configure:36267: g++ -c -I/home/sds/src/top/include conftest.c >&5 conftest.c:471: error: declaration of C function 'i

HAVE_RELIABLE_FIONREAD & ioctl

2011-07-20 Thread Sam Steingold
ys/ioctl.h:361: error: declaration of C function 'int ioctl(int, int, ...)' conflicts with /usr/include/sys/ioctl.h:42: error: previous declaration 'int ioctl(int, long unsigned int, ...)' here make: *** [spvw.o] Error 1 (after I removed the ioctl declaration from unix.h) wh

close depends on fclose?!

2011-07-20 Thread Sam Steingold
/stdio.in.h ? src/glm4/fclose.m4 ? src/glm4/fflush.m4 ? src/glm4/fpurge.m4 ? src/glm4/freading.m4 ? src/glm4/fseek.m4 ? src/glm4/fseeko.m4 ? src/glm4/ftell.m4 ? src/glm4/ftello.m4 ? src/glm4/stdio_h.m4 Could you please make close independent on stdio? Thanks! -- Sam Steingold (http://sds.podval.org

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://dhimm

Re: HAVE_LC_MESSAGES

2011-07-19 Thread Sam Steingold
> * Sam Steingold [2011-07-14 17:57:10 -0400]: > >> * Bruno Haible [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 gn

Re: HAVE_LC_MESSAGES

2011-07-14 Thread Sam Steingold
> * Bruno Haible [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

Re: unistd & sys/socket

2011-07-14 Thread Sam Steingold
> * Eric Blake [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 __cpl

unistd & sys/socket

2011-07-14 Thread Sam Steingold
WINSOCK2_H@ # if !defined _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 t

Re: HAVE_LC_MESSAGES

2011-07-13 Thread Sam Steingold
> * Bruno Haible [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

Re: HAVE_LC_MESSAGES

2011-07-13 Thread Sam Steingold
Hi, > * Bruno Haible [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

HAVE_LC_MESSAGES

2011-07-13 Thread Sam Steingold
GES setlocale(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 i

Re: errno --> errno name ?

2011-06-06 Thread Sam Steingold
command which would convert a file: - ENOENT ENOTDIR ... - into "errno_cases.h" note that the windows version would have to operate on the values of GetLastError() instead of errno. > Question to Sam: Are you willing to contribute such a module to gnulib > (and main

errno --> errno name ?

2011-06-06 Thread Sam Steingold
I am not proposing replacing 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://thereligion

Re: need for computer algebra

2011-05-26 Thread Sam Steingold
raphy. yes, it turned out 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 manager

apology

2011-05-26 Thread Sam Steingold
perl-Math-Pari. That's 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

getloadavg is broken

2011-05-24 Thread Sam Steingold
oes such a check, so it is not clear 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.

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

2011-05-24 Thread Sam Steingold
s 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://honestreporting.

Re: new files imported without new modules added

2011-05-24 Thread Sam Steingold
EINPROGRESS: 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 h

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

2011-05-24 Thread Sam Steingold
> * Eric Blake [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-fun

Re: sed hangs on solaris

2011-05-24 Thread Sam Steingold
> * Paul Eggert [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&

request: pointer to the docs in the module file

2011-05-24 Thread Sam Steingold
. The fix (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.609

Re: new files imported without new modules added

2011-05-24 Thread Sam Steingold
> * Eric Blake [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://ther

Re: new files imported without new modules added

2011-05-24 Thread Sam Steingold
> * Eric Blake [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/lo

Re: new files imported without new modules added

2011-05-24 Thread Sam Steingold
> * Eric Blake [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/glthrea

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

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

GNULIB_PORTCHECK

2011-05-18 Thread Sam Steingold
aintainers 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 beca

include without check

2011-05-18 Thread Sam Steingold
sys_uio.in.h includes 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 http

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

Re: alloca-opt

2011-05-17 Thread Sam Steingold
#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: 'Phil

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

2011-05-16 Thread Sam Steingold
> * Eric Blake [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 &

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
EX = ^ChangeLog$$ > > to cfg.mk. Modify that regex as needed to permanently 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

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

2011-05-16 Thread Sam Steingold
perl -lne '$(gl_extract_significant_defines_)' $$f; \ done; \ @@ -1049,7 +1049,7 @@ writable-files: test "$$fail" && exit 1 || : ;\ fi -v_etc_file = $(gnulib_dir)/lib/

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

2011-05-16 Thread Sam Steingold
c/build-aux/? why doesn't vc-list-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 conf

Re: gnulib compilation error

2011-05-16 Thread Sam Steingold
s >not start with "#include "? 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 empowerment.

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

2011-05-16 Thread Sam Steingold
> * Eric Blake [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 >> #include >> >> instead of >> >> #ifdef HA

Re: gnulib compilation error

2011-05-16 Thread Sam Steingold
> * Eric Blake [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 ab

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 #include instead of #ifdef HAVE_SYS_TIME_H #include #endif #ifdef HAVE_UNISTD_H #include #endif ?? the same question for all the other headers... thanks! -- Sam Steingold (http://sds.podval.org/) on Ce

gnulib compilation error

2011-05-16 Thread Sam Steingold
ook setenv unsetenv errno arpa_inet netinet_in inet_ntop inet_pton lstat 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.o

Re: dependency creep: canonicalize_file_name

2011-05-04 Thread Sam Steingold
> * Eric Blake [2011-05-04 10:03:36 -0600]: > On 05/04/2011 09:51 AM, Sam Steingold wrote: >> And yet again it is time for me to bitch about dependency creep. >> >> discovered that it offered canonicalize_file_name instead. > > Try canonicalize-lgpl instead; much l

bug-gnulib@gnu.org

2011-05-04 Thread Sam Steingold
ULES: "dlopen" -> "ld.so.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 i

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

Re: what happened to HAVE_STDBOOL_H

2011-05-03 Thread Sam Steingold
> * Eric Blake [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 has a `sun_len' field */ >> #u

what happened to HAVE_STDBOOL_H

2011-05-03 Thread Sam Steingold
*/ -#undef HAVE_STDDEF_H - /* Define to 1 if you have the 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 http://honestrep

Re: sed hangs on solaris

2011-05-03 Thread Sam Steingold
> * Paul Eggert [2011-05-03 13:13:03 -0700]: > > On 05/03/11 13:00, Sam Steingold wrote: >>> > So, we have (sed X | sed Y | sed Z), and sed X is sleeping waiting >>> > for its write to finish, while sed Y is sleeping waiting for its >>> > read to finis

sed hangs on solaris

2011-05-03 Thread Sam Steingold
27;'@|1|g' \ -e 's|@''HAVE_UNLINKAT''@|1|g' \ -e 's|@''HAVE_USLEEP''@|1|g' \ -e 's|@''HAVE_DECL_ENVIRON''@|0|g' \ -e 's|@''HAVE_

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

2011-03-24 Thread Sam Steingold
> * Sam Steingold [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: e

error: expected ')' before 'int'

2011-03-24 Thread Sam Steingold
lt;http://sds.podval.org/data/gnulib.zip>; please tell me which file you want me 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: redefinition of `struct random_data'

2010-10-11 Thread Sam Steingold
ed). 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

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

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 -I/.../current/

Re: gl_* check do nothing?

2010-09-29 Thread Sam Steingold
On Wed, Sep 29, 2010 at 2:17 PM, Eric Blake 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

Re: getdate fails to build

2010-09-29 Thread Sam Steingold
On Wed, Sep 29, 2010 at 1:44 PM, Paul Eggert 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://sds.podval.org>

Re: gl_* check do nothing?

2010-09-29 Thread Sam Steingold
On Wed, Sep 29, 2010 at 1:32 PM, Eric Blake 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

Re: gl_* check do nothing?

2010-09-29 Thread Sam Steingold
On Wed, Sep 29, 2010 at 11:50 AM, Eric Blake 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 >>

Re: getdate fails to build

2010-09-29 Thread Sam Steingold
YACC in a > more 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
> 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>

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 getdate

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]) gl_FUNC_ST

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.

what does regex depend on sys_wait?

2010-09-27 Thread Sam Steingold
why am I seeing this? Module list with included dependencies (indented): arg-nonnull btowc c++defs gettext-h malloc-gnu malloc-posix regex ssize_t stddef stdlib sys_wait unistd warn-on-use wcrtomb why are ? modules/regexp/gllib/sys_wait.in.h

Re: what is $ac_t ?

2010-09-17 Thread Sam Steingold
t was done in iconv.m4 > <http://git.savannah.gnu.org/gitweb/?p=gnulib.git;a=commitdiff;h=c9656c46525e79547e2ffe10130e0e8e013e169c> how about you move clisp/src/m4/proto.m4 to gnulib since you are already inlining it in iconv.m4? please consider this an official module request, CC:bug-gnulib@gnu.org -- Sam Steingold <http://sds.podval.org>

Re: module gethostname

2010-09-16 Thread Sam Steingold
>> curiously, this happens only when I link the base linking set; the boot >> linking >> set is created just fine > > Hmm? clisp's socket.d also needs linking with -lws2_32 on mingw, no? that's the conundrum... -- Sam Steingold <http://sds.podval.org>

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 , are using gethostname(), and have not asked for the gnulib module 'gethostname'. - If you want to use a POSIX complian

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 d

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 __hppa_

Re: module request: sockets.m4

2010-09-01 Thread Sam Steingold
so please do create a module and guarantee the stability. :-) -- Sam Steingold <http://sds.podval.org>

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: feature request: detect CPU instruction set

2010-08-31 Thread Sam Steingold
Hi Bruno, On 8/31/10, Bruno Haible 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>

  1   2   3   >