Commit Graph

329 Commits

Author SHA1 Message Date
marco
6309672d16 * linklibs fixed for new pthread mechanism on FreeBSD 2004-02-15 16:33:32 +00:00
marco
715bb087b0 * provisorische fix voor Michael's problemen 2004-02-14 21:12:14 +00:00
marco
ac1e951b17 * fpsystem, and some FPC_USE_LIBC fixes. (FreeBSD needs systypes.inc, also when FPC_USE_LIBC, it only contains types like statfs 2004-02-14 18:22:15 +00:00
marco
c2d60c1a8b * Hopefully last large changes to fpexec and friends.
- naming conventions changes from Michael.
	- shell functions get alternative under ifdef.
	- arraystring function moves to unixutil
	- unixutil now regards quotes in stringtoppchar.
	- sysutils/unix get executeprocess(ansi,array of ansi), and
		both executeprocess functions are fixed
 	- Sysutils/win32 get executeprocess(ansi,array of ansi)
2004-02-13 10:50:22 +00:00
marco
456911f7be * currentpath stuff fixed for fsearch 2004-02-12 16:20:58 +00:00
marco
75f4e0fea9 * First version of fpexec change. Still under ifdef or silently overloaded 2004-02-12 15:31:06 +00:00
marco
11f9c20d90 * fixed for 1.0 errno->fpgeterrno 2004-02-09 17:11:17 +00:00
marco
d2e96c4422 * fixes to get it working under FreeBSD, and probably Linux too 2004-02-09 17:01:28 +00:00
michael
6571f6a7e5 + Switched to single interface in dosh.inc 2004-02-09 12:03:16 +00:00
michael
66dd127bd9 + Moved CRT interface to common include file 2004-02-08 16:22:20 +00:00
michael
dc953332cd + Added fileIsReadOnly 2004-02-08 14:50:51 +00:00
michael
71f7e0928b + Implemented getlastoserror 2004-02-08 11:01:17 +00:00
florian
3f4d98624f - killed tsyscallregs 2004-02-06 23:06:16 +00:00
Jonas Maebe
8bda33eb61 + some darwin support, doesn't work yet because of imported variables
problem
2004-02-06 22:35:50 +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
florian
3f868d2e42 * packing of searchrec for arm fixed 2004-01-31 16:15:14 +00:00
Jonas Maebe
5cf2d2fabd * only include systypes.inc if FPC_USE_LIBC is not defined 2004-01-23 08:11:18 +00:00
marco
0db9132414 bsd 2004-01-22 13:46:14 +00:00
marco
104753b859 * openbsd fixes stage one 2004-01-21 21:25:49 +00:00
Tomas Hajny
e0f9297e01 * ExecuteProcess fixes, ProcessID and ThreadID added 2004-01-20 23:05:31 +00:00
marco
13af9e805b * some semi colons added 2004-01-12 23:43:22 +00:00
michael
67d7dcdc91 + Implemented sleep() on Unix. 2004-01-10 17:34:36 +00:00
Jonas Maebe
6ff7c9634a * Darwin does not have a lib_r, libc itself is already reentrant 2004-01-07 17:40:56 +00:00
florian
0c1fbaeae4 * compilation error fixed 2004-01-05 22:42:35 +00:00
florian
822ce0df68 * changed sysutils.exec to ExecuteProcess 2004-01-05 22:37:15 +00:00
Jonas Maebe
96da72219f * declare C-library routines as external in libc so we generate proper
import entries for Darwin
2004-01-04 21:05:01 +00:00
Jonas Maebe
e6c3cc44c9 * declare C-library routines as external in libc for Darwin (so we
generate proper import entries)
2004-01-04 21:04:08 +00:00
Jonas Maebe
05c20a184b * don't use systypes if FPC_USE_LIBC is defined 2004-01-04 20:53:02 +00:00
Jonas Maebe
7ef919ce47 + geterrnolocation for Darwin 2004-01-04 20:36:53 +00:00
Jonas Maebe
592822ba08 * fixed WaitProcess in case of SysEintr 2004-01-04 16:24:05 +00:00
marco
aeaf3e9d2c * Unix exec(ansistring) 2004-01-03 09:09:11 +00:00
marco
19c44b76f2 * fpreadlink(pathstr) moved to unxovl (since not platform specific),
small fixes for "make all OPT='-dFPC_USE_LIBC'
2004-01-01 16:10:23 +00:00
marco
fe766b63b3 * FPC_USE_LIBC fixes 2004-01-01 14:09:14 +00:00
marco
4d915e960d * FPC_USE_LIBC fixes to fpgetenv. No more appending of '=', and making a proper nullterminated string) 2004-01-01 14:07:55 +00:00
marco
bb088c5ada * export statfs(pchar) 2003-12-31 20:24:25 +00:00
marco
42d5e0e005 * linux now compiles with FPC_USE_LIBC 2003-12-30 15:43:20 +00:00
marco
b6f9f170f7 * FPC_USE_LIBC 2003-12-30 12:24:01 +00:00
Jonas Maebe
4ff098fc7a * fixed setftime (sorry Marco :) 2003-12-29 21:15:04 +00:00
daniel
fd86e14b01 * Use of 0 instead of nil fixed 2003-12-16 09:43:04 +00:00
florian
5028fa6d0f * replaced VER1_0 by HASGLOBALPROPERTY 2003-12-11 18:20:50 +00:00
marco
42f329de27 * property support under ifndef ver1_0 2003-12-10 17:13:43 +00:00
marco
abfc1b341b * property support used. 2003-12-10 17:06:19 +00:00
marco
2a761868ce * NetBSD supported added based on Sparc and define name changed to something more sensible 2003-12-10 14:59:49 +00:00
marco
d518762a68 * get/setcerrno added 2003-12-10 11:24:25 +00:00
mazen
002c0fe673 + added explicit ATT mode request for assembler input 2003-12-10 09:36:16 +00:00
peter
b0f94e46a7 * fsearch should only find files 2003-12-08 17:16:30 +00:00
olle
212c4d4894 * files are not pretended to have attr ARCHIVED anymore
+ FindFirst etc now also filters on attr HIDDEN
  * files with attr READONLY and ARCHIVE are always returned by FindFirst etc
2003-12-03 20:17:03 +00:00
michael
955d743f21 + Removed dummy variable from SetCthreadManager 2003-11-29 17:34:14 +00:00
michael
e85e5fa94f + Compiles on BSD too now 2003-11-27 20:24:53 +00:00
michael
515f170dd0 + Make works with 1.0.10 too 2003-11-27 20:16:59 +00:00
michael
de16dcff56 + Some fixes to have everything compile again 2003-11-26 20:34:19 +00:00
michael
4b2084fb50 + New threadmanager implementation 2003-11-26 20:10:59 +00:00
marco
694319b843 * somebody added fields to socketsh.inc that were already under ifdef bsd 2003-11-25 15:13:28 +00:00
michael
466a05bbf3 + Bugfix for bug #2741 2003-11-24 22:27:25 +00:00
marco
c97a5d06eb * Linux part of termio unit 2003-11-19 17:35:36 +00:00
marco
0f6af75554 * new termio units 2003-11-19 17:13:00 +00:00
marco
0610caa107 * termio unit 2003-11-19 17:11:39 +00:00
marco
e0c4a566cd * some simple restructures 2003-11-19 10:54:32 +00:00
marco
dc50826f6a * Last patch was ok, problem was somewhere else. Moved *BSD part of pthreads to freebsd/pthreads.inc 2003-11-18 22:36:12 +00:00
marco
d6081ef24c * Last patch was ok, problem was somewhere else. Moved *BSD part of pthreads to freebsd/pthreads.inc 2003-11-18 22:35:09 +00:00
marco
09bf7e5016 * no longer necessary 2003-11-18 10:43:28 +00:00
marco
7bfead6dab * Clone moved to linux, + few small unit unix changes 2003-11-17 11:28:08 +00:00
marco
0c999e0c9b * threads for FreeBSD. Not working tho 2003-11-17 10:05:51 +00:00
marco
20bd2d0e06 * pthreads based ttread from Johannes Berg 2003-11-17 08:27:49 +00:00
marco
6318180e60 * few things renamed 2003-11-16 14:09:25 +00:00
marco
ce9c3bf19c * weeehoo linuxerror is no more :-) 2003-11-14 17:30:14 +00:00
marco
4b8e3387a7 * stream functions converted to work without linuxerror 2003-11-14 16:44:48 +00:00
marco
11715d3922 * small fi 2003-11-13 18:44:06 +00:00
marco
170190dc43 * more linuxeror fixes 2003-11-12 22:19:45 +00:00
marco
3e9a92b2b1 * replaced by linuxold in one file 2003-11-12 12:34:48 +00:00
marco
8f76f86ce5 * new oldlinux unit. 1_0 defines killed in some former FCL parts. 2003-11-10 16:54:28 +00:00
marco
b15ba0a5ae * Peter's Cardinal<->Longint fixes patch 2003-11-03 09:42:27 +00:00
marco
73a0939a2b * more fixes 2003-11-02 16:30:12 +00:00
marco
cdbe222922 bsd support 2003-11-02 15:41:53 +00:00
marco
4ab4f046e1 * Show stopping bug. Had to comment out lines around 279 to get 1.9
to build
2003-11-01 17:10:21 +00:00
mazen
e828773c4e + assembler mode forced to ATT style for x86 cpu 2003-10-31 08:55:11 +00:00
marco
049d2cbd1a * fixes for old syscall() convention removing 2003-10-30 16:42:58 +00:00
marco
aebc04656f * fixes for signal handling. 2003-10-27 17:12:45 +00:00
marco
3015bde393 * moved sigprocmask to system for BSD. (needed for reenablesig) 2003-10-26 17:01:35 +00:00
marco
63f6eeb35a * partial fix for bug #2212. 2003-10-26 15:32:25 +00:00
Tomas Hajny
57538cb669 * THandle in sysutils common using System.THandle 2003-10-25 23:42:35 +00:00
marco
dfff760c9a * small after merge fixes 2003-10-25 22:48:52 +00:00
marco
138d6ba052 * 1.0.x fixes merged 2003-10-24 18:09:56 +00:00
marco
add1df1b27 * merged some fixes from 1.0.x 2003-10-24 17:51:39 +00:00
marco
5538700c8a * fd's now walk from 0..maxset again. IDE/unit kbd works again. 2003-10-23 12:06:14 +00:00
olle
527a79b0dc * changed i386 to cpui386 2003-10-17 22:10:30 +00:00
olle
8a1b525ff7 * Changed m68k to cpum68k 2003-10-17 20:49:02 +00:00
olle
a956097415 * Changed mapping of Sys_ETXTBSY to 5
* Changed m68k to cpum68k, i386 to cpui386
2003-10-17 20:45:58 +00:00
peter
d0eac29ab9 * THandle is platform dependent 2003-10-16 15:43:13 +00:00
Tomas Hajny
64b073a5cd * sbrk error handling corrected 2003-10-13 21:24:04 +00:00
marco
6ec9da620b * more small fixes 2003-10-13 11:37:57 +00:00
marco
3d6bb07cd2 * ioctl fixes. IDE now starts, but 2003-10-12 19:40:43 +00:00
marco
bf428eebf5 * small bug fixed in opendir that core dumped the IDE. Now the IDE SIGFPE's in FV. 2003-10-12 14:37:10 +00:00
marco
cdf26af82b * fix from Vincent to casetables 2003-10-07 08:28:49 +00:00
peter
39add9f5ff * GetCurrentThreadHandle renamed to GetCurrentThreadId 2003-10-01 21:00:09 +00:00
peter
6f6630bd46 * GetCurrentThreadId implemented 2003-10-01 20:53:08 +00:00
peter
bc1f8c842c * fixed for stricter compiler 2003-09-29 14:36:06 +00:00
peter
309742257d * fpnanosleep exported 2003-09-27 13:49:41 +00:00
peter
456025ad0a * fpISxxx macros renamed to C compliant fpS_ISxxx 2003-09-27 12:51:33 +00:00
peter
3d8d9c96f8 * sbrk returns pointer 2003-09-27 11:52:35 +00:00