pierre
a6280de177
* Fix getdirentries problem for openbsd
...
git-svn-id: trunk@19418 -
2011-10-08 16:46:38 +00:00
pierre
03b4681c1b
* Rectify position of BirthTime fields in Stat record for openbsd
...
git-svn-id: trunk@19416 -
2011-10-08 13:01:05 +00:00
pierre
d1b2e2d439
Fix fpgetcwd for openbsd
...
git-svn-id: trunk@19410 -
2011-10-07 21:51:03 +00:00
pierre
902ba04ecd
* Fix stat type for openbsd
...
git-svn-id: trunk@19409 -
2011-10-07 21:28:08 +00:00
pierre
7f69e6426d
* Try to update i386/openbsd port
...
git-svn-id: trunk@19350 -
2011-10-03 23:22:28 +00:00
pierre
b9009d8c02
* Fix PIC code for BSD x86_64 syscall and x86_64 freebsd startup assembler files
...
git-svn-id: trunk@19181 -
2011-09-22 21:16:42 +00:00
marco
07fabab526
* fpgetsid, Mantis #20329
...
git-svn-id: trunk@19178 -
2011-09-22 13:21:38 +00:00
Jonas Maebe
6920c7a0c1
* fixed stat/fstat-related types for iphonesim platform
...
(mantis #20249 )
git-svn-id: trunk@19078 -
2011-09-17 09:31:32 +00:00
pierre
889caf5911
* fix type of fourth parameter of msgrcv function
...
git-svn-id: trunk@16409 -
2010-11-23 23:44:34 +00:00
pierre
56a35214ad
* Avoid warning at compilation
...
git-svn-id: trunk@15894 -
2010-08-24 14:57:01 +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
daniel
1009a84e25
+ Add modify_ldt to linux unit
...
+ Add sched_yield to linux unit
- Remove clone for m68k from linux unit (unimplemented assembler section)
+ Add fpsigtimedwait to baseunix unit
git-svn-id: trunk@15602 -
2010-07-18 21:53:26 +00:00
marco
5fac78e334
* start exchanging untyped "Pointer" handle types to pointer to empty records.
...
see discussion mantis 16607
git-svn-id: trunk@15404 -
2010-06-10 20:22:22 +00:00
Jonas Maebe
255a9e7d22
* dirent structure available on 10.6 and iPhoneOS
...
* added some missing private fields to "dir" type for all Darwin platforms
git-svn-id: trunk@14334 -
2009-12-05 11:29:59 +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
c40d6cca8b
+ Darwin-specific fcntl constants
...
git-svn-id: trunk@13186 -
2009-05-23 10:10:56 +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
Jonas Maebe
d6f3ecc9fc
* fixed definition of ino_t (64 instead of 32 bit) and of stat record
...
(slightly different order of fields) for darwin/arm
git-svn-id: trunk@13069 -
2009-05-01 11:18:18 +00:00
Jonas Maebe
1f6ec36064
* save/restore errno inside reenable_signal, because it can be called
...
from inside signal handlers
git-svn-id: trunk@12997 -
2009-04-04 09:59:41 +00:00
Jonas Maebe
590f4d2efc
- deleted (old 1.0.x compatibility file)
...
git-svn-id: trunk@12928 -
2009-03-19 22:38:05 +00:00
Jonas Maebe
a8eb1cc30b
- removed FPC_DARWIN_JMP_MAIN and FPC_DARWIN_PASCALMAIN defines and ifdefs
...
git-svn-id: trunk@12897 -
2009-03-15 12:21:59 +00:00
Jonas Maebe
d4d7b695c7
- removed all "islibrary:=false;" assignments from system unit
...
initialisation code, because that's a typed constant already initialised
to that value and it interferes with a generic solution to set islibrary
to true for libraries
git-svn-id: trunk@12376 -
2008-12-17 17:48:04 +00:00
Jonas Maebe
d9c5cd76cd
* some more darwin/arm stuff I forgot to commit earlier:
...
o softfloat support for bsd/system.pp (enabled when compiling for ARM)
o include darwin/arm sigaction structs in darwin/signal.inc when
compiling for ARM (can't commit the file itself that contains
those structs due to licensing issues though)
git-svn-id: trunk@12327 -
2008-12-10 21:10:59 +00:00
micha
4594758ae5
+ add poll support for unix
...
git-svn-id: trunk@12128 -
2008-11-16 17:05:47 +00:00
marco
699a0ba70f
* another part of Almindor's fix.
...
git-svn-id: trunk@12007 -
2008-11-01 11:53:21 +00:00
Almindor
dbe3cfba21
* remove unused oldfpccall from amd64 BSD syscall code
...
git-svn-id: trunk@12003 -
2008-10-31 18:19:44 +00:00
Almindor
1ed71f011c
* proper fix for the kqueue struct. Use PtrUInt and PtrInt respectively...
...
git-svn-id: trunk@11994 -
2008-10-29 19:17:53 +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
florian
7ab3b2e3f6
* jb -> jnb
...
git-svn-id: trunk@11771 -
2008-09-13 18:17:13 +00:00
florian
9c6e831c7a
* fixed several syscall stuff for x86_64-freebsd
...
git-svn-id: trunk@11766 -
2008-09-13 15:21:17 +00:00
Jonas Maebe
11ede88bec
* fixed compilation
...
git-svn-id: trunk@11741 -
2008-09-10 20:54:00 +00:00
Jonas Maebe
7aee2f3d71
* moved fplstat(ansistring,pstat) overload to bunxovl(h).inc, so all
...
platforms have (fixes compilation for FPC_USE_LIBC platforms after
r11681)
git-svn-id: trunk@11693 -
2008-09-02 10:14:45 +00:00
marco
381ab23ad5
* remove need for freebsd5 directive. merge to fixes after rc1
...
git-svn-id: trunk@11142 -
2008-05-31 16:09:18 +00:00
Jonas Maebe
57087da620
* return an empty string for paramstr(value>paramcount) (already correct
...
for other targets, mantis #11169 )
git-svn-id: trunk@10704 -
2008-04-18 16:56:44 +00:00
marco
36b557b142
* quick test successful -> commit
...
git-svn-id: trunk@10626 -
2008-04-11 15:00:26 +00:00
peter
5acb3649df
* revert r9557, the performance impact is to big for an academic corner
...
case optimziation
git-svn-id: trunk@9603 -
2007-12-31 13:36:16 +00:00
yury
0dcad4d822
* Implemented late thread manager initialization. Thread manager code is not included to executable if thread stuff are not used. WinCE executable size is reduced by 4KB, Win32 executable size is reduced by 3KB. No testsuite regressions.
...
git-svn-id: trunk@9557 -
2007-12-28 14:40:28 +00:00
Jonas Maebe
69c97f3ac6
+ call SysResetFPU and SysInitFPU like for other platforms
...
git-svn-id: trunk@9458 -
2007-12-15 15:15:28 +00:00
Jonas Maebe
b20652821d
+ call fpc_cpucodeinit, so sse_support gets initialised for *bsd/darwin
...
+ support for catching sigill on FreeBSD in case not running on
an SSE2-capable cpu (untested) -- Darwin only runs on SSE2-capable
cpus
git-svn-id: trunk@9419 -
2007-12-08 22:56:58 +00:00
Jonas Maebe
f60c72b773
* fixed ioctl for non-linux: the third parameter is "..." there rather
...
than a pointer. The interface still accepts a plain pointer for
backwards compatibility.
git-svn-id: trunk@9176 -
2007-11-10 18:22:37 +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
Almindor
d2e4f53a13
* hopefuly fix the fp* problems for stat and others
...
git-svn-id: trunk@8405 -
2007-09-08 13:51:39 +00:00
Almindor
5baca0cfd3
* fix IPC for FPC_USE_LIBS
...
* fix shmget to use size_t as per manpage
* directly use external, don't depend on ipccdecl.inc (may be removed if confirmed)
git-svn-id: trunk@7973 -
2007-07-07 09:13:23 +00:00
marco
2214c11330
* removed restoration ofa compability that never existed
...
git-svn-id: trunk@7267 -
2007-05-04 22:06:12 +00:00
marco
fd6f6cf7e9
* fix for 8801. mmap constants inconsistancy. Old constants are aliased for compat. non portable moved to OS specific units (merge)
...
git-svn-id: trunk@7265 -
2007-05-04 21:23:02 +00:00
marco
96ac89f6d5
* 64-bit FreeBSD port files
...
git-svn-id: trunk@7082 -
2007-04-09 09:09:01 +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
daniel
d030103742
+ Restore "stat" data structure in backward compatible state
...
git-svn-id: trunk@6963 -
2007-03-23 22:23:24 +00:00