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

 
 

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

Submitter:  None
Submitted:  Sat 05 Feb 2005 11:54:42 AM UTC
   
 
Severity:  3 - Normal Priority:  5 - Normal
Item Group:  Enhancement Status:  None
Privacy:  Public Assigned to:  None
Open/Closed:  Open Component Version:  3.80
Operating System:  POSIX-Based Fixed Release:  None
Triage Status:  None
* Mandatory Fields

Post a Comment

Add a New Comment Rich Markup
   

Discussion

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    -email is unavailable-

Anonymous

 

Attached Files

This item currently has no attached files.

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

Attach Files:
   
   
Comment:
   

 

Dependencies

This item does not depend on any other items.

No items depend on this one.

 

Mail Notification Carbon-Copy List

 

Votes

There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

Only logged-in users can vote.

 

History

Follows 1 latest change.

Date Changed by Updated Field Previous Value => Replaced by
2005-05-21 psmith Carbon-Copy- Added -email is unavailable-

Back to the top

Powered by Savane 3.16.
Corresponding source code