Commit Graph

87 Commits

Author SHA1 Message Date
peter
7fb4c0675a * fixed compile error
git-svn-id: trunk@6732 -
2007-03-06 07:13:20 +00:00
Tomas Hajny
5e1a7997ee + FileTruncate allows 64-bit parameter
git-svn-id: trunk@6727 -
2007-03-05 23:47:10 +00:00
michael
ea0fc335d1 * Fixed FileExists for >2GB files
git-svn-id: trunk@5929 -
2007-01-12 19:36:24 +00:00
Jonas Maebe
87a4372d7f * enable vfork for solaris
git-svn-id: trunk@5557 -
2006-12-08 10:20:38 +00:00
micha
0043aff24d * fix linux/sysutils 64 bit file handling: make off_t 64 bit
git-svn-id: trunk@5152 -
2006-11-01 16:32:12 +00:00
micha
0c5124c295 * fix compilation of sysutils, partly revert patch from peter which was a modified version of my patch
git-svn-id: trunk@4863 -
2006-10-11 18:19:06 +00:00
peter
d9bcee0cbe * don't allocate unixfinddata if we search only one file, patch from neli
git-svn-id: trunk@4855 -
2006-10-11 07:04:45 +00:00
Almindor
d107c6649c * fixes a findfirst bug (thanks to jesusrmx)
git-svn-id: trunk@4807 -
2006-10-05 20:28:53 +00:00
peter
25fe773e25 * FindFirst/FindNext replaced with optimized versions based on the
code in the dos unit.

git-svn-id: trunk@4772 -
2006-10-02 21:06:50 +00:00
michael
dc0e8428a6 + Fixed rights parameter in TFileStream.Create and FileCreate
git-svn-id: trunk@3862 -
2006-06-13 22:01:49 +00:00
michael
e73bc0b772 + Made AddDisk a function, returning the current number of drives.
git-svn-id: trunk@3816 -
2006-06-06 20:54:21 +00:00
michael
305e4142ff + Fixed FileGetAttr so hidden is correctly detected
git-svn-id: trunk@3790 -
2006-06-04 14:18:55 +00:00
Tomas Hajny
a9b515c0bf * fexpand defines kept in platform specific sysutils.pp
git-svn-id: trunk@3726 -
2006-05-28 21:29:26 +00:00
peter
da85b3db8c * fix linux build
git-svn-id: trunk@3626 -
2006-05-22 06:57:41 +00:00
Jonas Maebe
5e694a801e * use vfork instead of fork for popen and one variant of executeprocess
if USE_VFORK is defined (currently only if both BSD and FPC_USE_LIBC
    are defined). Speeds up the compilation of the compiler under Darwin
    by 20-25% (the larger the project, the bigger the speedup).

git-svn-id: trunk@2317 -
2006-01-21 20:19:19 +00:00
daniel
3758d106fe * remove command about quotes in array version of executeprocess, which doesn't
apply there

git-svn-id: trunk@2080 -
2005-12-30 09:19:23 +00:00
michael
59d3cd95a8 + Patch from Michalis Kamburelis to implement correct config dir, following basedir-spec
git-svn-id: trunk@1719 -
2005-11-10 20:40:11 +00:00
marco
411e2359eb * Fixed 2.0.0 compilation
git-svn-id: trunk@1346 -
2005-10-09 21:29:01 +00:00
marco
f054a6df16 * nanosleep for sleep(), since it is now in the POSIX group.
git-svn-id: trunk@1341 -
2005-10-09 11:41:57 +00:00
florian
ee9862d231 + signal hooking dummies
git-svn-id: trunk@1103 -
2005-09-17 22:21:30 +00:00
florian
b245075bb3 * unix: faSymLink
* unix: TSearchRec.PathOnly

git-svn-id: trunk@1101 -
2005-09-17 20:05:04 +00:00
peter
b0e5f64091 * call uniquestring before calling stringtoppchar
git-svn-id: trunk@709 -
2005-07-20 07:11:55 +00:00
Jonas Maebe
437f35315c * fixed datetime related routines for unix
git-svn-id: trunk@444 -
2005-06-19 14:49:37 +00:00
michael
d2d33c03fb + Added missing FileSetDate call
git-svn-id: trunk@403 -
2005-06-14 11:46:31 +00:00
florian
6992fde8fc * patch from Ales to Katona to change some var parameters to out
parameters

git-svn-id: trunk@292 -
2005-06-09 07:42:40 +00:00
michael
180fd52858 + Reworked GUID creation
git-svn-id: trunk@43 -
2005-05-21 10:03:44 +00:00
fpc
790a4fe2d3 * log and id tags removed
git-svn-id: trunk@42 -
2005-05-21 09:42:41 +00:00
michael
99658cf4d6 + Implementation of CreateGUID
git-svn-id: trunk@27 -
2005-05-19 17:31:25 +00:00
fpc
50778076c3 initial import
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
Jonas Maebe
2426ecafc3 * fixed several warnings and notes about unused variables (mainly) or
uninitialised use of variables/function results (a few)
2005-03-25 22:53:39 +00:00
florian
7fef413b69 + SysLocale 2005-02-26 14:38:14 +00:00
peter
e417e34496 * truncate log 2005-02-14 17:13:06 +00:00
michael
9701081657 + Added mode field to TSearchRec for Kylix compatibility 2004-12-19 18:03:29 +00:00
michael
fbb13b5266 + Added GetEnvironmentVariableCount and GetEnvironmentString calls 2004-12-11 11:32:44 +00:00
marco
8d238cd712 * resolution of now increased to ms 2004-11-14 15:10:44 +00:00
marco
139913d009 * getenv had ansistring as param due to {$H+} now shortstring. 2004-11-06 17:24:07 +00:00
marco
07adf4e83d * timezone stuff back to unix 2004-11-02 13:59:42 +00:00
peter
0c80377ca8 * 1.0.x bootstrap fix 2004-11-01 07:10:56 +00:00
olle
4478f72279 * Fix for FPC_USE_LIBC 2004-10-31 22:25:31 +00:00
marco
780ba784d6 * unix interface cleanup 2004-10-30 20:55:54 +00:00
michael
30a74b36f2 + Fixed sleep: file needs to be closed again 2004-10-12 15:22:23 +00:00
michael
dfe2a0417e + Implementation of GetTempDir and GetTempFileName 2004-10-10 10:28:34 +00:00
michael
a0109e4da7 + Give path, not comline in ExecuteProcess 2004-08-30 11:20:39 +00:00
michael
d8501af1df + Fixed ExecuteProcess. Now returns the exit code or raises an exception on failure 2004-08-30 11:13:20 +00:00
michael
6bf44ccc0f Added getappconfig calls 2004-08-05 07:28:37 +00:00
daniel
a1229ff8fe * Modified bootstrap code so separate prt0.as/prt0_10.as files are no
longer necessary
2004-07-03 21:50:30 +00:00
michael
c89660006d + Fixed Globtosearchrec to use unixtowinage 2004-06-15 07:36:03 +00:00
michael
94ed600e1e + Fixed FindFirst/FindNext so it treats the attributes correctly 2004-05-22 14:25:03 +00:00
peter
8c60c6f93e * ordinal-pointer conversions fixed 2004-04-28 20:48:20 +00:00
peter
c17c80def1 * FileIsReadOnly fixed 2004-04-26 14:50:19 +00:00