Closed
Bug 1741
Opened 26 years ago
Closed 26 years ago
NGLayout unable to open read-only local files
Categories
(Core :: Networking: File, defect, P2)
Tracking
()
VERIFIED
FIXED
People
(Reporter: jst, Assigned: raman)
Details
When you try to open a read-only file (file://C:/...) nothing happends. This
patch fixes the problem (atleast for me).
diff -cr --exclude .obj nglayout-orig/mozilla/network/module/nsNetStubs.cpp
vmproj/mozilla/network/module/nsNetStubs.cpp
*** nglayout-orig/mozilla/network/module/nsNetStubs.cpp Mon Nov 23 16:49:45 1998
--- vmproj/mozilla/network/module/nsNetStubs.cpp Wed Dec 02 23:41:54 1998
***************
*** 1102,1108 ****
trans->xpFp= xpFp;
! if (!PL_strcasecmp(perm,XP_FILE_READ)) {
mode = nsRead;
} else if (!PL_strcasecmp(perm,XP_FILE_WRITE)) {
mode = nsOverWrite;
--- 1102,1108 ----
trans->xpFp= xpFp;
! if (!PL_strcasecmp(perm,XP_FILE_READ) ||
!PL_strcasecmp(perm,XP_FILE_READ_BIN)) {
mode = nsRead;
} else if (!PL_strcasecmp(perm,XP_FILE_WRITE)) {
mode = nsOverWrite;
Status: ASSIGNED → RESOLVED
Closed: 26 years ago
Resolution: --- → FIXED
qa contact set to cpratt@netscape.com for verify
Using the Feb-01-99 build under US English NT 4 SP 4, NGLayout was able to open
read-only local files. Verified fixed.
Changing all Networking Library/Browser bugs to Networking-Core component for
Browser.
Occasionally, Bugzilla will burp and cause Verified bugs to reopen when I do
this in a bulk change. If this happens, I will fix. ;-)
Bulk move of all Networking-Core (to be deleted component) bugs to new
Networking component.
You need to log in
before you can comment on or make changes to this bug.
Description
•