View Issue Details

IDProjectCategoryView StatusLast Update
0032314FPCRTLpublic2017-08-24 11:28
ReportereugenekryukovAssigned ToMichael Van Canneyt 
PrioritynormalSeverityminorReproducibilityalways
Status resolvedResolutionfixed 
Platformnon WindowsOSOS Version
Product Version3.1.1Product Build 
Target Version3.2.0Fixed in Version3.1.1 
Summary0032314: SafeLoalLibrary does nothing on non-Windows platform
DescriptionSafeLoadLibrary in SysUtils does nothing on non-Windows platform. It should call LoadLibrary at least, but it just return 0.

{$if defined(windows) or defined(win32)}
      Result:=LoadLibraryA(PChar(Filename));
{$else}
      Result:=0;
{$endif}

It is unusable in cross-platform application, if it doesn't make sense in non-Windows app, but it should just call LoadLibrary.
TagsNo tags attached.
Fixed in Revision37050
FPCOldBugId
FPCTarget
Attached Files

Activities

Michael Van Canneyt

2017-08-24 10:46

administrator   ~0102342

Fixed, thanks for reporting!

Issue History

Date Modified Username Field Change
2017-08-22 09:00 eugenekryukov New Issue
2017-08-24 10:46 Michael Van Canneyt Assigned To => Michael Van Canneyt
2017-08-24 10:46 Michael Van Canneyt Status new => assigned
2017-08-24 10:46 Michael Van Canneyt Fixed in Revision => 37049
2017-08-24 10:46 Michael Van Canneyt Note Added: 0102342
2017-08-24 10:46 Michael Van Canneyt Status assigned => resolved
2017-08-24 10:46 Michael Van Canneyt Fixed in Version => 3.1.1
2017-08-24 10:46 Michael Van Canneyt Resolution open => fixed
2017-08-24 10:46 Michael Van Canneyt Target Version => 3.2.0
2017-08-24 11:28 Michael Van Canneyt Fixed in Revision 37049 => 37050