Commit Graph

46 Commits

Author SHA1 Message Date
pierre
7457a0f321 Use new getdirentriesi49 syscall, contributed by Pascal Stumpf
git-svn-id: trunk@23223 -
2012-12-26 14:33:30 +00:00
pierre
23f21254bd + Add USE_SIGACTION_SIGTRAMP
git-svn-id: trunk@21027 -
2012-04-24 23:03:08 +00:00
pierre
e3aabfec79 * OpenBSD uses a special sigprocmask syscall
git-svn-id: trunk@20900 -
2012-04-16 15:43:44 +00:00
pierre
b98529673c Explicitly set fpSigAction return value
git-svn-id: trunk@20774 -
2012-04-09 21:56:02 +00:00
pierre
216113e80d Fix compilation error introduced in my last patch for non-openbsd systems
git-svn-id: trunk@19468 -
2011-10-11 23:07:20 +00:00
pierre
a6280de177 * Fix getdirentries problem for openbsd
git-svn-id: trunk@19418 -
2011-10-08 16:46:38 +00:00
pierre
d1b2e2d439 Fix fpgetcwd for openbsd
git-svn-id: trunk@19410 -
2011-10-07 21:51:03 +00:00
marco
6cc641c7bb * another fix for mmap from Chrisopher Key. 32-bit this time. Mostly in
unused arguments atm, but could be important for other uses of mmap.

git-svn-id: trunk@15871 -
2010-08-22 09:46:17 +00:00
marco
c59973d149 * patch from Christopher Key (via Alonso Cardenas Marquez) to fix mmap
syscall.  Recent versions of FreeBSD check the seventh parameter, and
    that code wasn't correct in FPC.

git-svn-id: trunk@15785 -
2010-08-12 10:56:31 +00:00
marco
778505701c * set/getrlimit now also visible in baseunix when syscalls are used.
on systems that force ugetrlimit, use that transparently. (since 
    ugetrlimit is not posix in theory or practice, we can't export it),
    resolves 13916

git-svn-id: trunk@13903 -
2009-10-17 19:14:09 +00:00
marco
5121f470a2 * moved ugetrlimit to the implementation (as linux specific call it shouldn't be exported)
* syscall implementation for FreeBSD of get/setrlimit

git-svn-id: trunk@13875 -
2009-10-16 18:47:43 +00:00
Jonas Maebe
f6d452c2c0 * remove the RTL's installed signal handlers at the end of the system
unit's initialization code in case we're in a library
  + implemented InquireSignal(), AbandonSignalHandler(), HookSignal() and
    UnhookSignal() in the sysutils unit
  * for Kylix compatibility, these routines support operating on
    SIGINT and SIGQUIT as well, although they are not hooked by default
    by FPC. The run time errors/exception codes for these signals are
    resp. 217 and 233 (same as in Kylix; I changed ENoWideStringSupport
    to 234).
  * changed the BSD syscall version of fpsigaction to use pointer
    rather than "var" arguments (compatible with other targets, and
    required to be able to pass nil arguments inside the system unit)
  -> together fixes mantis #12704

git-svn-id: trunk@13077 -
2009-05-02 09:40:44 +00:00
marco
3f5511661a * lots of little longint() to TSysParam() fixes. Ancient code, brr.
git-svn-id: trunk@11790 -
2008-09-15 20:01:17 +00:00
Almindor
fdcc5f4332 * use TIOCtlRequest instead of hard ifdefs to remove warnings
git-svn-id: trunk@8679 -
2007-09-29 14:22:41 +00:00
marco
793ef9fdf1 * little fixes in prep of x86_64 port.
git-svn-id: trunk@6979 -
2007-03-24 21:32:16 +00:00
marco
6b6cf119ef * fpgetcwd syscall edition returnvalue fix.
git-svn-id: trunk@5258 -
2006-11-05 21:52:58 +00:00
peter
4ace790492 * remove $Log
git-svn-id: trunk@231 -
2005-06-07 09:47:55 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
michael
ffb55c4254 + Removed VER1_0 defines
git-svn-id: trunk@33 -
2005-05-19 21:14:45 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
marco
8884d2e079 * mmap had another, yet unknown 8th parameter which must be 0 and comes after the offset param 2005-04-24 19:11:28 +00:00
marco
3567f25001 * fix from mischi 2005-03-13 14:11:06 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
peter
4534feb917 * include file cleanup part 2 2005-02-13 21:47:56 +00:00
peter
ae8b7b153b * include file cleanup 2005-02-13 20:01:37 +00:00
peter
f5bc749953 * bsd thread updates 2005-02-06 12:16:52 +00:00
marco
42404cd68e * moved some calls from unix to baseunix. Darwin untested. 2004-11-14 12:21:08 +00:00
marco
f498e954a5 * small 1.0.x fix to earlier patch 2004-07-18 11:32:24 +00:00
marco
93c356f300 * generalised the {$ifdef cpu_i386} ..powerpc stuff to FPC_BIG_ENDIAN and
FPC_LITTLE_ENDIAN
2004-07-17 16:02:58 +00:00
Jonas Maebe
4e37beb962 + fpnanosleep for oscdeclh.inc
- removed obsolete darwin remarks from bsd/ossysc.inc
2004-02-06 20:47:00 +00:00
marco
b6f9f170f7 * FPC_USE_LIBC 2003-12-30 12:24:01 +00:00
marco
8fc8644de0 * nil <-> 0 changes 2003-12-16 19:43:53 +00:00
marco
16c7ca4606 * moved sigprocmask to system 2003-10-26 17:01:04 +00:00
olle
527a79b0dc * changed i386 to cpui386 2003-10-17 22:10:30 +00:00
peter
ab5352d3f1 * fpnanosleep exported in baseunix
* fpnanosleep has pointer arguments to be C compliant
2003-09-27 13:45:58 +00:00
peter
87f0147dff * fpISxxx renamed 2003-09-27 13:04:58 +00:00
marco
688866ff4f * FCL now compiles for FreeBSD with new 1.1. Now Linux. 2003-09-20 12:38:29 +00:00
marco
feee65f98f * ostype include moved to top 2003-09-17 16:02:31 +00:00
marco
5ce9550d57 * mmap typing fixes 2003-09-16 12:45:49 +00:00
marco
08eb5ac89f * small fixes. FreeBSD now cycles 2003-09-15 20:08:49 +00:00
marco
7efaf7dee2 * Unix reform stage two. Remove all calls from Unix that exist in Baseunix. 2003-09-14 20:15:01 +00:00
olle
2931590e9b - removed parameter from fpc_iocheck 2003-08-21 22:21:00 +00:00
marco
56ddd7f08f * Some other workaround 2003-05-29 21:45:23 +00:00
marco
dc3b985838 * only moved around the off_t calls, and made an exception (includefile)
for NetBSD/powerpc
2003-05-29 20:52:55 +00:00
Jonas Maebe
0185f7684a - disabled nanosleep for darwin for now
+ getcwd for darwin
2003-05-26 21:29:16 +00:00
marco
832a1bcb96 * FreeBSD compiles now with baseunix mods. 2003-01-05 19:01:28 +00:00