Jonas Maebe
26b2149ced
* converted the following sysutils routines to unicodestring and
...
rawbytestring: FileExists, DirectoryExists, FileSetDate, FileGetAttr,
FileSetAttr, DeleteFile, RenameFile, FileSearch, ExeSearch,
FileIsReadOnly
git-svn-id: branches/cpstrrtl@25078 -
2013-07-09 19:01:45 +00:00
Jonas Maebe
c604e5af17
* small reorganisation of ansistring/unicodestring routine declarations, so
...
they are the same as in the unicode branch (to more easily apply patches)
git-svn-id: branches/cpstrrtl@25073 -
2013-07-09 19:01:24 +00:00
Jonas Maebe
ff87431565
- removed "PathOnly" field from Unix TSearchRec (deprecated since 2.4.0, not
...
initialised or used on any target))
git-svn-id: branches/cpstrrtl@24968 -
2013-06-24 21:24:09 +00:00
Jonas Maebe
a3c936fe5f
+ rawbytestring/unicodestring overloads for FileCreate and FileOpen.
...
The WinCE implementation converts the rawbytestring arguments to
unicodestring and calls unicode OS APIs, while the others convert
unicodestring arguments to DefaultFileSystemCodePage and call
single byte OS APIs
+ test for the above
git-svn-id: branches/cpstrrtl@22467 -
2012-09-27 07:54:25 +00:00
michael
789a6452c9
* Implemented overloaded variant of fileage function
...
git-svn-id: trunk@21867 -
2012-07-11 10:42:23 +00:00
svenbarth
2f92336b94
Forgot to commit the extension of the TSearchRec with the FindData for NativeNT.
...
git-svn-id: trunk@21439 -
2012-05-31 07:26:57 +00:00
michael
a07b14853a
* Changed ImplicitDir default from False to True
...
git-svn-id: trunk@17735 -
2011-06-13 09:07:17 +00:00
michael
6b42ee69a9
* Changed FileSearch to handle a set of options instead of boolean.
...
Options now include stripquotes
* Changed ExeSearch so dirlist is optional and PATH is used if omitted.
It uses stripQuotes on windows. (bug 19282)
git-svn-id: trunk@17717 -
2011-06-11 11:36:51 +00:00
michael
a201f07420
* Added share mode argument to FileCreate call
...
git-svn-id: trunk@17548 -
2011-05-23 21:11:07 +00:00
sergei
907e7a32d5
* GetFileHandle(), THandleStream: changed type that is used to store file handle from Integer to THandle, so it can be redefined to 64 bits on certain platforms, see http://lists.freepascal.org/lists/fpc-devel/2010-November/023019.html
...
git-svn-id: trunk@16383 -
2010-11-20 12:58:53 +00:00
marco
be98b13554
* fix for 11263, changed fileread and fd_zero to out using $modeswitch.
...
git-svn-id: trunk@14965 -
2010-03-01 22:35:14 +00:00
joost
51b49d324e
* Implemented function ExeSearch
...
git-svn-id: trunk@12947 -
2009-03-22 10:02:24 +00:00
joost
2c7d05d210
* Added ImplicitCurrentDir : Boolean = True parameter to FileSearch
...
git-svn-id: trunk@12946 -
2009-03-22 09:35:48 +00:00
marco
bcfb545837
* deprecation of tsearchrec.pathonly, under ifndef ver2_2 as per 11579
...
git-svn-id: trunk@11402 -
2008-07-18 20:05:32 +00:00
micha
83b7f81f81
+ add no-fpu support to compiler/rtl for powerpc-linux (-Cfnone)
...
git-svn-id: trunk@10422 -
2008-03-02 12:59:02 +00:00
Tomas Hajny
5e1a7997ee
+ FileTruncate allows 64-bit parameter
...
git-svn-id: trunk@6727 -
2007-03-05 23:47:10 +00:00
Jonas Maebe
ccbee142bc
* added THandle() typecast around feInvalidHandle value (-1)
...
for OS'es where THandle is an unsigned type
git-svn-id: trunk@6322 -
2007-02-03 18:09:00 +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
oro06
42bd89095f
*fix fileopen (please OS2,EMX maintainers have a look)
...
git-svn-id: trunk@3858 -
2006-06-13 08:15:35 +00:00
florian
89f8474388
* unified and moved some win32/win64 stuff
...
+ more units on win64 compile
git-svn-id: trunk@3131 -
2006-04-02 20:52:17 +00:00
florian
b245075bb3
* unix: faSymLink
...
* unix: TSearchRec.PathOnly
git-svn-id: trunk@1101 -
2005-09-17 20:05:04 +00:00
yury
24cf46266d
* Added WinCE defines.
...
git-svn-id: trunk@1035 -
2005-09-02 11:57:16 +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
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
fpc
50778076c3
initial import
...
git-svn-id: trunk@1 -
2005-05-16 18:37:41 +00:00
peter
e417e34496
* truncate log
2005-02-14 17:13:06 +00:00
olle
99776e6402
+ a tiny bit of support for macos
2005-01-24 18:25:46 +00:00
michael
9701081657
+ Added mode field to TSearchRec for Kylix compatibility
2004-12-19 18:03:29 +00:00
armin
70688f63c8
* changed defines for netware
2004-10-03 20:27:00 +00:00
armin
33d67e9547
* added target netwlibc
2004-09-05 00:02:40 +00:00
marco
5af746ce28
* fileno -> getfilehandle
2004-05-01 11:56:25 +00:00
marco
b82160ba33
* fileno
2004-05-01 11:04:34 +00:00
peter
8c60c6f93e
* ordinal-pointer conversions fixed
2004-04-28 20:48:20 +00:00
michael
dc953332cd
+ Added fileIsReadOnly
2004-02-08 14:50:51 +00:00
peter
3d27318cb2
* moved classes unit to rtl
2003-10-06 21:01:06 +00:00