[ nedit-Bugs-1645661 ] Repeated File Open fails
SourceForge.net
noreply at sourceforge.net
Mon Jan 29 12:54:25 CET 2007
Bugs item #1645661, was opened at 2007-01-27 10:05
Message generated for change (Comment added) made by ajhood
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1645661&group_id=11005
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Program
Group: development
Status: Open
Resolution: None
Priority: 9
Private: No
Submitted By: Thorsten Haude (yooden)
Assigned to: Thorsten Haude (yooden)
Summary: Repeated File Open fails
Initial Comment:
The device/inode identifier introduced in SF#1027788 are not initialized properly in CloseWindow() and thus erroneously reports any file opened and closed as still opened. This only shows if nedit.honorSymlinks is set to false.
To repeat:
(unset NEDIT_HOME && source/nedit -xrm "nedit.honorSymlinks: False")
- open any file
- close it
- open it again
(Thanks to Bert Wesarg for pointing this out.)
----------------------------------------------------------------------
Comment By: Andrew Hood (ajhood)
Date: 2007-01-29 22:54
Message:
Logged In: YES
user_id=36856
Originator: NO
Are you sure this is the only place the device & inode need initialising?
window->lastModTime is set to 0 three times in source/window.c and four
times in source/file.c as part of WindowInfo initialisations/cleanups.
There is a comment in one place that we possibly should do:
memset(window, 0, sizeof(WindowInfo));
----------------------------------------------------------------------
Comment By: Thorsten Haude (yooden)
Date: 2007-01-29 08:59
Message:
Logged In: YES
user_id=119143
Originator: YES
File Added: deviceInode.2007-01-28.2.diff
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=111005&aid=1645661&group_id=11005
More information about the Develop
mailing list