Re: [MFC REQUEST] Filename completion in sh(1)

From: jhell <jhell_at_dataix.net>
Date: Mon, 21 Jun 2010 08:55:36 -0400
On 06/21/2010 08:15, Dag-Erling Smørgrav wrote:
> jhell <jhell_at_dataix.net> writes:
>> Because SVN in both our patches for tab completion missed filecomplete.h
>> and filecomplete.c [...] the previous patches from des_at_ &
>> myself will break world builds.
> 
> Speak for yourself.  Both files are present in the patch I posted, and I
> tested it (make toolchain, which builds both libedit and sh) before I
> posted it.
> 
> DES

Sorry but he only mention of filecomplete in your patch is in this
section. That is exactly the same in the patch I had originally
generated using SVN.

I would really like to know how SVN knows how to create files that are
missing from one tree to the next ?

Attached is another copy of your patch. downloaded from the message you
sent it with. No need to get upset, of course the commands above you
stated work but also attached is the build log of how I found these were
missing FYI.

I took the time to review the differences, if you would like to point
out where in the patch that you sent or mine... that the new files get
created please let me know.

Index: lib/libedit/Makefile
===================================================================
--- lib/libedit/Makefile        (revision 209229)
+++ lib/libedit/Makefile        (working copy)
_at__at_ -6,7 +6,8 _at__at_
 SHLIB_MAJOR=   7
 SHLIBDIR?= /lib

-OSRCS= chared.c common.c el.c emacs.c fcns.c help.c hist.c key.c map.c \
+OSRCS= chared.c common.c el.c emacs.c fcns.c filecomplete.c help.c \
+       hist.c key.c map.c \
        parse.c prompt.c read.c refresh.c search.c sig.c term.c tty.c vi.c


Regards,

-- 

 jhell


Received on Mon Jun 21 2010 - 10:55:43 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:04 UTC