Re: [PATCH] largefile: add dependencies to this module

2011-07-27 Thread Paul Eggert
On 07/25/11 18:25, Bruno Haible wrote: > New module Used by > > creat fcntl-safer > fgetpos - > fsetpos - > fstat acl, chdir-safer, chown, copy-file, > fchd

Re: [PATCH] largefile: add dependencies to this module

2011-07-27 Thread Paul Eggert
On 07/25/11 17:51, Bruno Haible wrote: > For me, that sounds perfectly in line with the gnulib approach: We create > a new module when we notice and fix the first portability problem with > the particular function. It's not always that simple, unfortunately. Sometimes it's better to think of a m

relocatable-prog : relocatable symbol not found

2011-07-27 Thread Sylvain Beucler
Hi, I updated gnulib and I now have an error when compiling my freedink project: gcc -g -O2 -Wall -std=c99 -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT `"../autotools/reloc-ldflags" "x86_64-unknown-linux-gnu" "" /usr/local/bin` -o freedink bgm.o dinkini.o dinkc.o dinkc_bindings.o dink

Re: Plea for clarification on bz #12724

2011-07-27 Thread Eric Blake
[adding bug-gnulib] On 07/27/2011 09:31 AM, Csaba Henk wrote: Hi, Bugzilla entry #12724 proposes a (by now committed) change to fclose(3) behavior based on the following citation from POSIX.1-2008: "If the file is not already at EOF, and the file is one capable of seeking, the file offset of t

[PATCH] tests: test-update-copyright.sh: remove unnecessary "rm" commands

2011-07-27 Thread Jim Meyering
I noticed what look like unnecessary rm -f commands in this test. I saw nothing in update-copyright that looked like it could create the files they would remove, so... >From fb733077fcd97a36e1ffdb292387943df8e1b9b4 Mon Sep 17 00:00:00 2001 From: Jim Meyering Date: Mon, 25 Jul 2011 18:29:59 +0200

undefined reference when linking a dll

2011-07-27 Thread Sam Steingold
Hi, I get this error on windows: i686-w64-mingw32-gcc -shared rawsock.o -Lbase lisp.def -Wl,--export-all-symbols -W -Wswitch -Wcomment -Wpointer-arith -Wimplicit -Wreturn-type -Wmissing-declarations -Wno-sign-compare -Wno-format-nonliteral -falign-functions=4 -D_WIN32 -g -O0 -DDEBUG_OS_ERROR -D

Re: bug#9076: coreutils-8.12 uses SA_RESETHAND and SA_RESTART unconditionally

2011-07-27 Thread Jim Meyering
Pádraig Brady wrote: > On 16/07/11 01:51, Paul Eggert wrote: >> On 07/15/11 03:28, Pádraig Brady wrote: >>> What I was getting was that it's probably better to leave >>> the following to the app too: >>> >>> #ifndef SA_RESETHAND >>> # define SA_RESETHAND 0 >>> /* Now the app writer knows they need

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. > > now clisp uses file w

Re: new module 'stdalign'

2011-07-27 Thread Sam Steingold
Hi Bruno, 1. There is already alignof module - is this a replacement? 2. alignof.h uses offsetof macro - where is it defined? 3. clisp/src/lispbibl.d defines offsetof, offsetofa, alignof - which gnulib modules should they be imported from? (or should I just leave them defined in clisp?) -- S

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

2011-07-27 Thread Sam Steingold
Hi, 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 that!) This raises 2 questions: 1. how do I know elsewhere in the configuration process that the included re

Re: bug #17457: "grep -r foo . > somefile" goes into an infinite loop

2011-07-27 Thread Jim Meyering
Paolo Bonzini wrote: > On 07/26/2011 10:26 PM, Jim Meyering wrote: >> > > I don't know about typical mingw file system usage. >> > > Do mingw users use NTFS often? >> > >> > Yes, all of them. MinGW is just the name of the free compiler >> > toolchain for Windows. Unlike cygwin, it uses the MS

Re: bug #17457: "grep -r foo . > somefile" goes into an infinite loop

2011-07-27 Thread Paolo Bonzini
On 07/26/2011 10:26 PM, Jim Meyering wrote: > > I don't know about typical mingw file system usage. > > Do mingw users use NTFS often? > > Yes, all of them. MinGW is just the name of the free compiler > toolchain for Windows. Unlike cygwin, it uses the MS C library, so > anything MS docume

Re: [PATCH] warnings: add comments about previous patch

2011-07-27 Thread Jim Meyering
Stefano Lattarini wrote: > Hi Eric, and thanks for the quick patch. > ... > If you haven't already pushed this, I'd like to suggest to credit Jim too > here: it was him who've had the idea of marking the comments as "FIXME", > and to suggest the removal of the hacks once a more modern autoconf can