Example use of findstring in documentation can be problematic

2013-04-19 Thread David Sankel
In section 7.3 and 8.2 the function 'findstring' is recommended as a means to search a space separated list for a given value. This suggestion is problematic as findstring really searches for substrings. So, for example $(findstring car,bicicle airplain carriage) will return a non-empty value. Inst

Re: [bug #33138] .PARLLELSYNC enhancement with patch

2013-04-19 Thread Eli Zaretskii
> Date: Fri, 19 Apr 2013 11:54:05 +0200 > Cc: bo...@kolpackov.net, bug-make@gnu.org > From: Frank Heckenbach > > > Is there a simple enough Makefile somewhere that could be used to test > > this feature, once implemented? > > We have a test in the test suite (output-sync). Can you use that? I h

Re: [bug #33138] .PARLLELSYNC enhancement with patch

2013-04-19 Thread Frank Heckenbach
Eli Zaretskii wrote: > Initial investigation indicates that tmpfile should do the job just > fine: the file is deleted only when the last descriptor for it is > closed. That includes any duplicated descriptors. Great. > As for fcntl, F_SETLKW, and F_GETFD, they will need to be emulated. > In pa

Re: [bug #33138] .PARLLELSYNC enhancement with patch

2013-04-19 Thread Eli Zaretskii
> Date: Fri, 19 Apr 2013 00:06:52 +0300 > From: Eli Zaretskii > Cc: bo...@kolpackov.net, bug-make@gnu.org > > > > > Indeed, as you suggested earlier, it might be useful to use the main > > > > part of open_tmpfile() (i.e. without the fdopen()), though we'd have > > > > to manually remove the file