View Issue Details

IDProjectCategoryView StatusLast Update
0031237FPCDocumentationpublic2017-01-25 23:08
ReporterLars(L505)Assigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityhave not tried
Status resolvedResolutionfixed 
Product VersionProduct Build 
Target Version3.2.0Fixed in Version3.1.1 
Summary0031237: File sharing/locking for TFileStream and other classes
DescriptionShould the documentation mention that FileStreams can use file locking...

http://www.freepascal.org/docs-html/rtl/classes/tfilestream.create.html

It says the only file modes are
  fmCreate
  fmOpenRead
  fmOpenWrite
  fmOpenReadWrite

But does not mention these could potentially be used with OR logic:
  fmShareCompat
  fmShareExclusive
  fmShareDenyWrite
  fmShareDenyRead
  fmShareDenyNone

Also, file locking/sharing on TStringList and other classes (anything that opens a file in the background) might need to be mentioned if it is possible? Have not checked those docs yet.

TagsNo tags attached.
Fixed in Revision1380
FPCOldBugId
FPCTarget
Attached Files

Activities

Michael Van Canneyt

2017-01-25 23:08

administrator   ~0097711

Fixed, thanks for reporting!

Issue History

Date Modified Username Field Change
2017-01-16 11:01 Lars(L505) New Issue
2017-01-16 11:01 Lars(L505) Status new => assigned
2017-01-16 11:01 Lars(L505) Assigned To => Michael Van Canneyt
2017-01-25 23:08 Michael Van Canneyt Fixed in Revision => 1380
2017-01-25 23:08 Michael Van Canneyt Note Added: 0097711
2017-01-25 23:08 Michael Van Canneyt Status assigned => resolved
2017-01-25 23:08 Michael Van Canneyt Fixed in Version => 3.1.1
2017-01-25 23:08 Michael Van Canneyt Resolution open => fixed
2017-01-25 23:08 Michael Van Canneyt Target Version => 3.2.0