Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							1e6ee7f3c7 
							
						 
					 
					
						
						
							
							* fix remaining search handle leaks in Dos.FSearch - fix for bug  #30896  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@34910 - 
						
					 
					
						2016-11-17 22:05:17 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							b7de70422f 
							
						 
					 
					
						
						
							
							* fix for bug  #24504  (extended version of patch by Bart Broersma)  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@34849 - 
						
					 
					
						2016-11-08 22:16:49 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							c1afb4b63b 
							
						 
					 
					
						
						
							
							* avoid FindFirst failing due to Attribute parameter bigger than $FF  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@33894 - 
						
					 
					
						2016-06-03 21:16:35 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							2eba9bc63e 
							
						 
					 
					
						
						
							
							* fix SetFAttr (doWriteThrough not accepted in DosSetPathInfo for ilStandard) and improve compatibility with TP/BP for returned DosError in case of errors  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@29666 - 
						
					 
					
						2015-02-10 16:55:20 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							7292e64e04 
							
						 
					 
					
						
						
							
							* corrected test for empty filename in FileRec  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@29538 - 
						
					 
					
						2015-01-24 00:23:42 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							08ce351a06 
							
						 
					 
					
						
						
							
							* don't use the OS/2 API function DosSearchPath for searching through the list of directories in FSearch because it always returns full path even for relative directory specifications (as opposed to what is expected in TP/BP)  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@29532 - 
						
					 
					
						2015-01-23 01:25:08 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							2e5054186c 
							
						 
					 
					
						
						
							
							* include current directory in the list of searched directories in FSearch as expected in TP/BP  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@29531 - 
						
					 
					
						2015-01-23 01:19:22 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							5176a069cf 
							
						 
					 
					
						
						
							
							* align DosError returned for empty filename in GetFAttr and SetFAttr to TP/BP  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@29530 - 
						
					 
					
						2015-01-23 00:48:16 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							37acf48426 
							
						 
					 
					
						
						
							
							* align DosError returned for invalid (unused) handle in GetFTime and SetFTime to TP/BP  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@29529 - 
						
					 
					
						2015-01-23 00:26:02 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							dcffcd22e7 
							
						 
					 
					
						
						
							
							* fix a bug in Exec if calling a program without arguments  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@29526 - 
						
					 
					
						2015-01-22 23:11:42 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							f330d2e981 
							
						 
					 
					
						
						
							
							* fix for random memory corruption introduced in r28975  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@29017 - 
						
					 
					
						2014-11-08 00:01:13 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							30820cd0e5 
							
						 
					 
					
						
						
							
							* fixed missed setting of return code  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@29002 - 
						
					 
					
						2014-11-06 16:51:15 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							5d0bd53433 
							
						 
					 
					
						
						
							
							* remove fixed limit for overall size of arguments for Dos.Exec and SysUtils.ExecuteProcess  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@28975 - 
						
					 
					
						2014-11-03 17:00:55 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							8cd2b615ce 
							
						 
					 
					
						
						
							
							* added (limited) GetLastOSError by emulation of Win32 and *nix behaviour in the RTL  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@28947 - 
						
					 
					
						2014-10-30 14:44:03 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Jonas Maebe 
							
						 
					 
					
						
						
						
						
							
						
						
							df6a2dce00 
							
						 
					 
					
						
						
							
							+ unicodestring support for assign/erase/rename  
						
						 
						
						... 
						
						
						
						+ codepage support for textrec/filerec and the above routines
  * textrec/filerec now store the filename by default using widechar. It is
    possible to switch back to ansichars using the FPC_ANSI_TEXTFILEREC define.
    In that case, from now on the filename will always be stored in
    DefaultFileSystemEncoding
  * fixed potential buffer overflows and non-null-terminated file names in
    textrec/filerec
  + dodirseparators(pwidechar), changed the dodirseparators(pchar/pwidechar)
    parameters into var-parameters and gave those routines an extra parameter
    that indicates whether the p(wide)char can be changed in place if
    necessary or whether a copy must be made first (avoids us having to make
    all strings always unique everywhere, because they might be changed on
    some platforms via a pchar)
  * do_open/do_erase/do_rename got extra boolean parameters indicating whether
    the passed pchars point to data that can be freely changed (to pass on to
    dodirseparators() if applicable)
  * objects.pp: force assign(pchar) to be called, because
    assign(array[0..255]) cannot choose between pchar and rawbytestring
    versions (and removing the pchar version means that assign(pchar) will
    be mapped to assign(shortstring) in {$h-})
  * fixed up some routines in other units that depend on the format of
    the textrec/filerec.name field
git-svn-id: branches/cpstrrtl@25137 - 
						
					 
					
						2013-07-19 16:30:51 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							af03a73af2 
							
						 
					 
					
						
						
							
							* fix DosExitCode for sessions of other types, consider ExecFlags for other session types  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@19398 - 
						
					 
					
						2011-10-06 23:57:59 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							67612af07d 
							
						 
					 
					
						
						
							
							* fixes for Exec - execution of different application types, fixed memory leak and avoided queue name collisions  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@19324 - 
						
					 
					
						2011-10-02 01:43:18 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							bbd4886809 
							
						 
					 
					
						
						
							
							* fix for wrong pointer increment (causing crash/heap corruptions)  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@2337 - 
						
					 
					
						2006-01-25 21:26:38 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							f9e28f363d 
							
						 
					 
					
						
						
							
							* workaround for OS/2 bug - check for 64kB border crossing in parameters for DosExecPgm  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@1861 - 
						
					 
					
						2005-12-01 22:07:32 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								michael 
							
						 
					 
					
						
						
						
						
							
						
						
							859bb30daa 
							
						 
					 
					
						
						
							
							+ Removed HASTHREADVAR SUPPORT_THREADVAR defines  
						
						 
						
						... 
						
						
						
						git-svn-id: trunk@295 - 
						
					 
					
						2005-06-09 17:40:29 +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 
							
						 
					 
					
						
						
						
						
							
						
						
							1215d90528 
							
						 
					 
					
						
						
							
							* FSearch must skip invalid paths  
						
						 
						
						
						
					 
					
						2004-12-27 22:25:43 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							46aad77754 
							
						 
					 
					
						
						
							
							* allow running any type of session from Exec  
						
						 
						
						
						
					 
					
						2004-12-06 21:50:04 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							1d4e9b37fc 
							
						 
					 
					
						
						
							
							* GetMsCount added, platform independent routines moved to single include file  
						
						 
						
						
						
					 
					
						2004-12-05 19:16:54 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							9f51eee552 
							
						 
					 
					
						
						
							
							* final part of longint2cardinal fixes for doscalls  
						
						 
						
						
						
					 
					
						2004-05-23 21:47:34 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							db94578ce6 
							
						 
					 
					
						
						
							
							* Exec cleanup  
						
						 
						
						
						
					 
					
						2004-03-21 20:22:20 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							09fd537acf 
							
						 
					 
					
						
						
							
							* lots of fixes (regcall, THandle, string operations in sysutils, longint2cardinal according to OS/2 docs, dosh.inc, ...)  
						
						 
						
						
						
					 
					
						2004-02-22 15:01:49 +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  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								yuri 
							
						 
					 
					
						
						
						
						
							
						
						
							b1a8443699 
							
						 
					 
					
						
						
							
							* fixes for dosh.inc  
						
						 
						
						... 
						
						
						
						* Executeprocess iverloaded function
* updated todo 
						
					 
					
						2004-02-15 08:02:44 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								michael 
							
						 
					 
					
						
						
						
						
							
						
						
							6571f6a7e5 
							
						 
					 
					
						
						
							
							+ Switched to single interface in dosh.inc  
						
						 
						
						
						
					 
					
						2004-02-09 12:03:16 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								yuri 
							
						 
					 
					
						
						
						
						
							
						
						
							2cbdc6b02c 
							
						 
					 
					
						
						
							
							* exec fix  
						
						 
						
						... 
						
						
						
						* unused units removed 
						
					 
					
						2003-11-05 09:13:59 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							39ae691859 
							
						 
					 
					
						
						
							
							SetFTime fix  
						
						 
						
						
						
					 
					
						2003-11-02 09:45:32 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							1eccb7a88a 
							
						 
					 
					
						
						
							
							* GetFTime correction for case of no previous write access  
						
						 
						
						
						
					 
					
						2003-11-01 18:35:12 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							90062097c9 
							
						 
					 
					
						
						
							
							* Exec fix  
						
						 
						
						
						
					 
					
						2003-10-25 23:55:22 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							7adcc315bc 
							
						 
					 
					
						
						
							
							* file handling related fixes  
						
						 
						
						
						
					 
					
						2003-10-25 22:45:37 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							1bcce4c618 
							
						 
					 
					
						
						
							
							* result buffers must be allocated  
						
						 
						
						
						
					 
					
						2003-10-05 22:06:43 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							d97075a245 
							
						 
					 
					
						
						
							
							* stdcall fixes  
						
						 
						
						
						
					 
					
						2003-10-03 21:46:25 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								yuri 
							
						 
					 
					
						
						
						
						
							
						
						
							7fa443b61f 
							
						 
					 
					
						
						
							
							* Prepared for native target (emx code replaced)  
						
						 
						
						
						
					 
					
						2003-09-24 08:59:16 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							c96795ebda 
							
						 
					 
					
						
						
							
							* correction for previous mistyping  
						
						 
						
						
						
					 
					
						2003-02-20 17:37:00 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							703367dd40 
							
						 
					 
					
						
						
							
							* fixes for OS/2 v2.1 incompatibility  
						
						 
						
						
						
					 
					
						2003-02-20 17:09:49 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							a92d2c1f76 
							
						 
					 
					
						
						
							
							+ GetEnvPChar added  
						
						 
						
						
						
					 
					
						2003-01-04 15:43:50 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							1f88f17a7f 
							
						 
					 
					
						
						
							
							* mistyping fixed  
						
						 
						
						
						
					 
					
						2002-12-07 19:46:56 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							ab27397399 
							
						 
					 
					
						
						
							
							* GetEnv correction, better PM support, ...  
						
						 
						
						
						
					 
					
						2002-12-07 19:17:13 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							466b5d9d58 
							
						 
					 
					
						
						
							
							* another bunch of type corrections  
						
						 
						
						
						
					 
					
						2002-11-18 19:51:00 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								peter 
							
						 
					 
					
						
						
						
						
							
						
						
							9f31783a0a 
							
						 
					 
					
						
						
							
							* old logs removed and tabs fixed  
						
						 
						
						
						
					 
					
						2002-09-07 16:01:16 +00:00  
					
					
						 
						
							
							
							 
						
					 
				 
			
				
					
						
							
							
								 
								Tomas Hajny 
							
						 
					 
					
						
						
						
						
							
						
						
							0a29a5632f 
							
						 
					 
					
						
						
							
							* FindFirst fix (invalid attribute bits masked out)  
						
						 
						
						
						
					 
					
						2002-07-11 16:00:05 +00:00