[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO FileStream.cs, 1.16
From: |
Rhys Weatherley <address@hidden> |
Subject: |
[Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO FileStream.cs, 1.16, 1.17 |
Date: |
Tue, 19 Aug 2003 01:51:17 -0400 |
Update of /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO
In directory subversions:/tmp/cvs-serv9684/runtime/System/IO
Modified Files:
FileStream.cs
Log Message:
Remove the platform security manager classes because they don't
do anything and they will be superceded by the CAS mechanisms.
Index: FileStream.cs
===================================================================
RCS file: /cvsroot/dotgnu-pnet/pnetlib/runtime/System/IO/FileStream.cs,v
retrieving revision 1.16
retrieving revision 1.17
diff -C2 -r1.16 -r1.17
*** FileStream.cs 19 Aug 2003 05:06:31 -0000 1.16
--- FileStream.cs 19 Aug 2003 05:51:15 -0000 1.17
***************
*** 116,125 ****
("share", _("IO_FileShare"));
}
-
if(!Platform.Security.SecurityManager.CanOpenFile
- (path, mode, access, share))
- {
- throw new SecurityException
- (_("IO_PathnameSecurity"));
- }
// Attempt to open the file.
--- 116,119 ----
***************
*** 196,203 ****
throw new ArgumentOutOfRangeException
("access", _("IO_FileAccess"));
- }
-
if(!Platform.Security.SecurityManager.CanUseFileHandle(handle))
- {
- throw new
SecurityException(_("IO_HandleSecurity"));
}
if(!FileMethods.CheckHandleAccess(handle,
access))
--- 190,193 ----
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Dotgnu-pnet-commits] CVS: pnetlib/runtime/System/IO FileStream.cs, 1.16, 1.17,
Rhys Weatherley <address@hidden> <=
- Prev by Date:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.1270,1.1271
- Next by Date:
[Dotgnu-pnet-commits] CVS: pnet/engine engine.h, 1.83, 1.84 int_proto.h, 1.76, 1.77 int_table.c, 1.79, 1.80 lib_security.c, 1.2, 1.3 thread.c, 1.22, 1.23
- Previous by thread:
[Dotgnu-pnet-commits] CVS: pnetlib ChangeLog,1.1270,1.1271
- Next by thread:
[Dotgnu-pnet-commits] CVS: pnet/engine engine.h, 1.83, 1.84 int_proto.h, 1.76, 1.77 int_table.c, 1.79, 1.80 lib_security.c, 1.2, 1.3 thread.c, 1.22, 1.23
- Index(es):