Bug 28233 - backup to different directory with 2 instances of gnotepad+ 1.3.1
Summary: backup to different directory with 2 instances of gnotepad+ 1.3.1
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Red Hat Linux
Classification: Retired
Component: gnotepad+
Version: 7.0
Hardware: i386
OS: Linux
medium
medium
Target Milestone: ---
Assignee: Tim Powers
QA Contact:
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2001-02-18 20:32 UTC by Karl schmidt
Modified: 2008-05-01 15:37 UTC (History)
0 users

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2001-02-19 20:08:57 UTC
Embargoed:


Attachments (Terms of Use)

Description Karl schmidt 2001-02-18 20:32:13 UTC
From Bugzilla Helper:
User-Agent: Mozilla/4.76 [en] (X11; U; Linux 2.2.16-22 i686)


if you set it to backup to other directory - and have two instances of
gnotpade running it returns error - cannot create backup

Reproducible: Sometimes
Steps to Reproduce:
1.set to backup to other directory
2.open two instances of different files in diff directories
3.try to save
	

Actual Results:  returns error

Expected Results:  should have created backup files in directory

Comment 1 David Mason 2001-02-19 16:15:43 UTC
now in powertools - reassigning

Comment 2 Tim Powers 2001-02-19 19:19:32 UTC
What is the error you are getting when you encounter this problem? I need the
error message you get when starting it from an xterm.

I do get error messages if I try to create the backup files on a device which is
different from where the file being edited is located, but that's to be expected
with the way this application was designed. Here is the error I get (even with
single files being edited):

file_backup: rename() error: Invalid cross-device link

Is this what you are seeing in the xterm?

Tim

Comment 3 Tim Powers 2001-02-19 20:08:49 UTC
The option for which directory to create backups should not even exist. The
problem with that option is that it assumes wrongly that all files that you want
to edit will be be on the same device. It should create backups in the same
location as the file you are editing. I am removing this configuration option
from the preferences window so that others won't run into this either.

This is fixed in gnotepad+-1.3.3-3
Tim


Note You need to log in before you can comment on or make changes to this bug.