bugGNUstep - Bugs: bug #13305, potentially severe move of source...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #13305: potentially severe move of source directory during "make dist"

Submitted by:  Wolfgang Sourdeau <wolfgang>
Submitted on:  Sun 05 Jun 2005 08:20:44 PM UTC  
 
Category: MakefilesSeverity: 3 - Normal
Item Group: BugStatus: Fixed
Privacy: PublicAssigned to: Adam Fedor <fedor>
Open/Closed: Closed

Fri 10 Jun 2005 04:07:05 PM UTC, comment #1:

I fixed this by making a tar/copy of the directory rather than moving it.

Adam Fedor <fedor>
Project AdministratorIn charge of this item.
Sun 05 Jun 2005 08:20:44 PM UTC, original submission:

In $MAKEFILES/Master/source-distribution.make, the act of "make dist" temporarily renames the source directory. This is wrong by any good practice "manual".
First, because a program could be running inside of that directory and try to access a file which would then be made unavailable. Second, if you interrupt that step, you can be left with your directory not being renamed back.
What is considered good practice is to not interfere with the user's environment at all.

As posted in <20050605182916.GA32281@Contre.COM>, this can lead to serious loss in programming hours due to the programmer considering its environment to be sane...

Wolfgang Sourdeau <wolfgang>

 

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):

 

 

Follow 3 latest changes.

Date Changed By Updated Field Previous Value => Replaced By
Fri 10 Jun 2005 04:07:05 PM UTCfedorStatusNone=>Fixed
  Assigned toNone=>fedor
  Open/ClosedOpen=>Closed

Back to the top


Powered by Savane 3.1-cleanup1