bugGNU arch -- a revision control system - Bugs: bug #7488, hackerlab...

 
 

bug #7488: hackerlab safe_current_working_directory does not pass through vu

Submitter:  lode leroy <lleroy>
Submitted:  Wed 28 Jan 2004 08:58:42 AM UTC
   
 
Category:  other Severity:  3 - Normal
Item Group:  None Status:  None
Privacy:  Public Open/Closed:  Open
Release:  tla 1.x
Fixed Release: 
Merge Request?:  None
Your Archive Name: 
Your Archive Location: 
Assigned to:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Wed 28 Jan 2004 08:58:42 AM UTC, original submission:  

safe_current_working_directory() bypasses the vu_system
I think it should be corrected.

Now it's:
safe_current_working_directory (void) {
   return getcwd()
}

instead it should be
safe_current_working_directory (void) {
   wd = vu_getcwd()
}

and

vu_getcwd() {
   wd = getcwd()
   if (wd is in a registered namespace) {
       wd = (namespace_handler->getcwd)(wd)
   }
   return wd
}

a more fundamental approach would be to make the
vu_ system maintain the current directory...

lode leroy <lleroy>

 

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

Attach Files:
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

CC list is empty

 

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.

 

No changes have been made to this item

Back to the top

Powered by Savane 3.13-f8d8.
Corresponding source code