Free Pascal (aka FPK Pascal) is a 32 and 64 bit professional Pascal compiler. It is available for different processors: Intel x86, Amd64/x86_64, PowerPC, PowerPC64, Sparc, ARM. The discontinued 1.0 version also supports the Motorola 680x0. The following operating systems are supported: Linux, FreeBSD, Haiku, Mac OS X/Darwin, DOS, Win32, Win64, WinCE, OS/2, Netware (libc and classic) and MorphOS. Thanks to pierre at freepascal dot org for taking care of the patches and to aja@ for mirroring the bootstrap. tweaks and ok jasper@ sthen@
17 lines
756 B
Plaintext
17 lines
756 B
Plaintext
$OpenBSD: patch-fpcsrc_rtl_openbsd_sysnr_inc,v 1.1.1.1 2013/03/08 11:34:18 pascal Exp $
|
|
|
|
Use correct getdirentries(2) syscall, not the (now deleted) compat one.
|
|
http://svn.freepascal.org/cgi-bin/viewvc.cgi?view=revision&revision=23223
|
|
|
|
--- fpcsrc/rtl/openbsd/sysnr.inc.orig Thu Jul 26 19:33:38 2012
|
|
+++ fpcsrc/rtl/openbsd/sysnr.inc Thu Jul 26 19:35:30 2012
|
|
@@ -256,7 +256,7 @@ Const
|
|
syscall_nr_MAXSYSCALL = 313;
|
|
|
|
{ Aliases }
|
|
- syscall_nr_getdirentries = syscall_nr_ogetdirentries;
|
|
+ syscall_nr_getdirentries = syscall_nr_getdirentriesi49;
|
|
syscall_nr_waitpid = syscall_nr_wait4; // 7, added: ease of notation purposes
|
|
{ syscall_nr_getdents = syscall_nr_getdirentries; }
|
|
{$define USE_GETDIRENTRIES_SYSCALL}
|