Donate Share

The tcshrc project

Tracker: Bugs

5 buggy make command completion - ID: 710092
Last Update: Comment added ( simos )

If I have a special formatted line in my Makefile,
tcshrc completion fails to work after the make command,
thus tcsh fails. For e.g.:

tcsh> ls Makefile
Makefile

tcsh> cat Makefile
dummy:
sed -e "*\:"
test:
@echo "this rule works"

tcsh> make <--press <TAB> here>
make `cat -s GNUmakefile Makefile makefile |& sed -n -e
"/No such file/d" -e "/^[^ #].*:/s/:.*//p"`: No
match.

I found out that this is a bug with the
.tcshrc.complete file at the 915. line number. I attach
the buggy Makefile.

Brgds,
MQ <miklos.quartus@nokia.com>


Miklos Quartus ( qmiklos ) - 2003-03-26 15:14

5

Closed

Wont Fix

Simos Xenitellis

None

None

Public


Comments ( 3 )




Date: 2009-01-20 12:13
Sender: simosProject Admin

The 'make' completion rule was written for older (perhaps non-gnu) make
programs, and it chokes now.
I have disabled it from tcshrc.complete.

Since Makefiles are quite complicated, I'll leave it like this for now.

The latest tcshrc is available from
http://github.com/simos/tcshrc/tree/master


Date: 2003-04-01 20:16
Sender: simosProject Admin

Logged In: YES
user_id=13118

I disabled the 'make' completion in the new version of tcshrc.

It produces another problem as well (documented in the
tcshrc docs). When running 'make install', in some cases the
command fails. The user has to think hard to identify the
problem as she just writes 'make install' and presses enter.
The completion mechanism of tcsh tries to check the command
and fails without informing the user.


Date: 2003-04-01 20:11
Sender: simosProject Admin

Logged In: YES
user_id=13118

Indeed it's a problem.
The 'tcsh' list has been notified of the buggy 'make' complete.
'tcsh.complete' is maintained in the core 'tcsh' package.
We (tcshrc) just add the latest version in the distribution
of tcshrc.


Log in to comment.

Attached File ( 1 )

Filename Description Download
Makefile.buggy Download

Changes ( 8 )

Field Old Value Date By
resolution_id None 2009-01-20 12:13 simos
status_id Open 2003-04-01 20:16 simos
close_date 2003-04-01 20:11 2003-04-01 20:16 simos
status_id Pending 2003-04-01 20:16 simos
close_date - 2003-04-01 20:11 simos
status_id Open 2003-04-01 20:11 simos
File Added 46032: Makefile.buggy 2003-03-27 08:01 qmiklos
assigned_to nobody 2003-03-27 08:01 qmiklos