bugmake - Bugs: bug #11855, deleting .INTERMEDIATE files, make...

 
 

bug #11855: deleting .INTERMEDIATE files, make pretends to be using "rm" but isn't

Submitted by:  None
Submitted on:  Sat 05 Feb 2005 11:54:42 AM UTC  
 
Severity: 3 - NormalItem Group: Enhancement
Status: NonePrivacy: Public
Assigned to: NoneOpen/Closed: Open
Component Version: 3.80Operating System: POSIX-Based
Fixed Release: NoneTriage Status: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

Sat 05 Feb 2005 11:54:42 AM UTC, original submission:

I came across this when setting the RM variable and watching
make remove an intermediate file, so far so good.
But the make announced that it was doing this like so:

rm some_file.x

So in this case, I thought, setting RM has no effect, and
that instead the system command "rm" was used.

Further inspection reveals a call to unlink(2),
status = unlink (f->name);
in file.c, remove_intermediates (sig), and later,
fputs ("rm ", stdout);

So it does not use the system command "rm".
Now even if there is reason to not use RM in the case of
intermediate files (?), could make announce what it is
actually doing, so to speak, instead of pretending it is
using "rm", perhaps printing "unlinking", or "deleting"
as in the info file, or somesuch?
This could help remove unnecessary confusion.

Is it worthwhile mentioning the "limited reach" of setting
RM, in make.texi?

regards,
Georg -unavailable-

Anonymous

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

Do you think this task is very important?
If so, you can click here to add your encouragement to it.
This task has 0 encouragements so far.

Only logged-in users can vote.

 

Please enter the title of George Orwell's famous dystopian book (it's a date):

 

 

Follows 1 latest change.

Date Changed By Updated Field Previous Value => Replaced By
Sat 21 May 2005 11:31:59 AM UTCpsmithCarbon-Copy-=>Added -unavailable-

Back to the top


Powered by Savane 3.1-cleanup1