View Issue Details

IDProjectCategoryView StatusLast Update
0000071Lazaruspublic2002-09-30 15:23
ReporterBug Import Assigned ToMattias Gaertner  
Status closedResolutionfixed 
Summary0000071: Wrong order of parameters in rtl/access() (FreeBSD, fpc-1.0.7)
DescriptionThere is a small error in for
FreeBSD (fpc-1.0.7):

   Function Access(Path:Pathstr ;mode:longint):boolean;

The call to do_syscall(), I think, has the parameters
path and mode reversed:

   Access:=do_syscall (

Instead, It should be:

   Access:=do_syscall (

This bug prevented lazarus from working (executing
the compiler, enabling read/write in unit editor, ...)

I have seen similar behaviour on
fpc-1.0.6/Solaris, although I don't know if it's the
same or similar bug.

By the way, thank you for the impressive work
(fpc + lazarus).

Additional InformationImported information
Name: Juan Segovia
Mail: jsegovia (at)
TagsNo tags attached.
Fixed in Revision
WidgetsetGTK, Win32/Win64
Attached Files


Bug Import

2002-09-30 15:23

reporter   ~0000054

Fixed by FPC Team

Issue History

Date Modified Username Field Change
2002-09-25 00:00 Bug Import New Issue
2002-09-25 00:00 Bug Import Widgetset => GTK, Win32
2002-09-30 15:23 Bug Import Status new => assigned
2002-09-30 15:23 Bug Import Assigned To => Mattias Gaertner
2002-09-30 15:23 Bug Import Note Added: 0000054
2002-09-30 15:23 Bug Import Status new => closed
2002-09-30 15:23 Bug Import Resolution open => fixed