giulio
80b0231616
Fixed DiskFree/DiskSize:
...
Int21/7303 is not related to lfn, since it's supported by win9x even when in DOS mode, while it's not supported by WinNTs.
The behaviour (inspired by djgpp) is then to try different methods:
* if the drive is a cdrom unit, try to ask to MSCDEX (this is required for pure DOS)
* else, try int21/7303 (it will work for non-cdrom drives under win9x when in DOS mode, and in Win9x dos box and FreeDOS)
* else, last choice is old int21/36 (it will work in MSDOS and WinNTs, though in the latter case sizes are wrong for free space or disk size > 2GB, but it's the best we can do)
This solves bug #11477
git-svn-id: trunk@11246 -
2008-06-19 14:59:41 +00:00
Tomas Hajny
68a4c0347a
* patch from Giulio for FindFirst return value with no files and SetFAttr with VolumeID - web bug #11247
...
git-svn-id: trunk@11231 -
2008-06-15 15:14:07 +00:00
giulio
5da751376b
Prevent memory corruption by respecting DOS command line length limit (tests/test/targ1b doesn't crash the machine anymore)
...
git-svn-id: trunk@10958 -
2008-05-12 14:42:24 +00:00
Tomas Hajny
17f3d9fcf7
* fix by Guilio Bernardi for DosExitCode always 0 under Go32v2
...
git-svn-id: trunk@10781 -
2008-04-24 15:17:40 +00:00
peter
f4f3ae84d0
* AllowDirectorySeparators and AllowDriveSeparators typed constants
...
added to allow customization of path and directory parsing in the rtl
* Use the new sets instead of the hardcoded / and \
git-svn-id: trunk@10105 -
2008-01-29 23:04:56 +00:00
Tomas Hajny
573bc3b767
* inline on needed for 2.0.x
...
git-svn-id: trunk@8532 -
2007-09-17 21:19:12 +00:00
Tomas Hajny
f0959c1b1d
* yet another fix for DiskFree/DiskSize
...
git-svn-id: trunk@8516 -
2007-09-16 20:17:27 +00:00
Tomas Hajny
c00021373a
* fix from r7819 extended to more platforms
...
git-svn-id: trunk@7828 -
2007-06-26 21:08:37 +00:00
pierre
11923e9786
+ code to debug LFN FindFirst/findClose
...
git-svn-id: trunk@7344 -
2007-05-15 13:37:19 +00:00
Tomas Hajny
374e759169
* cleanup by Marco Borsari (borsa77)
...
git-svn-id: trunk@6794 -
2007-03-11 20:57:50 +00:00
daniel
139408b512
* Environment corruption fix by Ladislav Lacina
...
git-svn-id: trunk@5562 -
2006-12-10 20:43:46 +00:00
Tomas Hajny
054f7dda20
* remove DosVersion check limiting use of LFN calls for DiskSize/DiskFree to Win9x/ME (ignoring e.g. Win2K and others)
...
git-svn-id: trunk@3942 -
2006-06-25 15:18:16 +00:00
Tomas Hajny
f7f1f9917d
* addition to the previous patch
...
git-svn-id: trunk@3932 -
2006-06-24 23:00:18 +00:00
Tomas Hajny
1ecf556685
* patch for Dos.Exec and others from borsa77 at libero.it
...
git-svn-id: trunk@3930 -
2006-06-24 22:47:39 +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
Tomas Hajny
e1252e7302
* GetMsCount added, platform independent routines moved to single include file
2004-12-05 16:44:43 +00:00
daniel
bc7f8a474d
* Enable threadvars again
2004-02-17 17:37:25 +00:00
Tomas Hajny
7a08fcd395
* LastDosExitCode changed back from threadvar temporarily
2004-02-16 22:16:55 +00:00
Tomas Hajny
601f2e02ce
* overloaded ExecuteProcess added, EnvStr param changed to longint
2004-02-15 21:34:06 +00:00
michael
6571f6a7e5
+ Switched to single interface in dosh.inc
2004-02-09 12:03:16 +00:00
florian
3c481f1688
* fixed fsearch
2004-01-06 00:58:35 +00:00
peter
d97075a245
* stdcall fixes
2003-10-03 21:46:25 +00:00
peter
9f31783a0a
* old logs removed and tabs fixed
2002-09-07 16:01:16 +00:00
carl
edb0740421
* completely merged from fixes branch
2001-11-23 00:18:54 +00:00
peter
22ab77e873
* fix error return in disksize (merged)
2001-10-12 16:04:15 +00:00
Tomas Hajny
d5e9273b9b
* universal FExpand
2001-03-16 20:09:58 +00:00
peter
29bdb0b698
* fixed disksize to return -1 on error
2000-12-16 15:27:15 +00:00
peter
f07f30990e
* diskfree doserror fix (merged)
2000-10-11 15:38:03 +00:00
peter
7229ed1cab
* removed previous fsplit() patch as it's not the correct behaviour for
...
LFNs. The code showing the bug could easily be adapted (merged)
2000-09-06 20:47:34 +00:00
peter
ae5fe3eb68
* fixed previous commit (merged)
2000-09-04 20:17:53 +00:00
peter
4072466464
* fsplit with .. fix from Thomas (merged)
2000-09-04 19:38:12 +00:00
peter
9b1864c586
* getenv case insensitive (merged)
2000-08-04 21:45:39 +00:00
peter
1b04862b8c
* merged fixes
2000-07-30 17:09:55 +00:00
Jonas Maebe
7c914c429f
* merged dossearchrec2searchrec() fix from fixes branch
2000-07-22 12:24:55 +00:00
michael
586c4cea50
+ Conditionals fixed
2000-07-14 10:33:09 +00:00
michael
650fbb86aa
+ removed logs
2000-07-13 11:32:24 +00:00
michael
e7aca136a1
+ Initial import
2000-07-13 06:29:38 +00:00
Jonas Maebe
3cd25fef47
* fixed compiling problem with formal expression passed as var
...
parameter
2000-05-30 04:41:05 +00:00
pierre
299ec9d3dc
+ allow double backslash for network drives
2000-03-22 08:00:42 +00:00
peter
6b66a55cd6
* truncated log
2000-02-09 16:59:28 +00:00
peter
8a7f1814bd
+ getlongname
2000-02-09 13:00:32 +00:00
pierre
1be354d497
* use int64 typecast to avoid overflows in diskfree and disksize
2000-02-02 17:34:49 +00:00
peter
a16485ca15
* hasint64diskspace define changed to int64 so it's default now
2000-01-23 16:31:23 +00:00
marco
3933be768c
* Added diskfree and disksize with AH=71 dos functions (LFN/Fat32)
2000-01-23 12:28:38 +00:00
daniel
ec29a31834
* copyright 2000
2000-01-07 16:41:28 +00:00
daniel
a79b4a404b
* copyright 2000 added
2000-01-07 16:32:21 +00:00
peter
daf8bdf1e1
* fpcmake updated for win32 commandline
1999-12-06 18:26:48 +00:00
pierre
51bc667515
* SwapVectors does not reset DosError anymore
...
+ DosError is set to ax regsiter value if extended doserror function
retruns zero.
+ Support for LFN in EXEC function using
function 7160 to get short filename counterpart
1999-11-09 11:07:50 +00:00