mirror of
https://gitlab.com/freepascal.org/fpc/source.git
synced 2025-08-17 20:32:41 +02:00
+ Added maxpathlen constant (maximum length of filename path)
This commit is contained in:
parent
e5431e6db2
commit
2e48181661
@ -45,6 +45,7 @@ const
|
|||||||
PathSeparator = ';';
|
PathSeparator = ';';
|
||||||
FileNameCaseSensitive = false;
|
FileNameCaseSensitive = false;
|
||||||
maxExitCode = 255;
|
maxExitCode = 255;
|
||||||
|
MaxPathLen = 255;
|
||||||
|
|
||||||
sLineBreak: string [1] = LineEnding;
|
sLineBreak: string [1] = LineEnding;
|
||||||
{ used for single computations }
|
{ used for single computations }
|
||||||
@ -773,7 +774,10 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.14 2005-04-03 21:10:59 hajny
|
Revision 1.15 2005-05-12 20:29:04 michael
|
||||||
|
+ Added maxpathlen constant (maximum length of filename path)
|
||||||
|
|
||||||
|
Revision 1.14 2005/04/03 21:10:59 hajny
|
||||||
* EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
|
* EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
|
||||||
|
|
||||||
Revision 1.13 2005/02/14 17:13:21 peter
|
Revision 1.13 2005/02/14 17:13:21 peter
|
||||||
|
@ -43,6 +43,7 @@ const
|
|||||||
PathSeparator = ':';
|
PathSeparator = ':';
|
||||||
{ FileNameCaseSensitive is defined separately below!!! }
|
{ FileNameCaseSensitive is defined separately below!!! }
|
||||||
maxExitCode = 255;
|
maxExitCode = 255;
|
||||||
|
MaxPathLen = 256;
|
||||||
|
|
||||||
const
|
const
|
||||||
FileNameCaseSensitive : boolean = true;
|
FileNameCaseSensitive : boolean = true;
|
||||||
@ -548,7 +549,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.23 2005-04-13 20:10:50 florian
|
Revision 1.24 2005-05-12 20:29:04 michael
|
||||||
|
+ Added maxpathlen constant (maximum length of filename path)
|
||||||
|
|
||||||
|
Revision 1.23 2005/04/13 20:10:50 florian
|
||||||
+ TThreadID
|
+ TThreadID
|
||||||
|
|
||||||
Revision 1.22 2005/04/03 21:10:59 hajny
|
Revision 1.22 2005/04/03 21:10:59 hajny
|
||||||
|
@ -37,6 +37,7 @@ const
|
|||||||
PathSeparator = ';';
|
PathSeparator = ';';
|
||||||
{ FileNameCaseSensitive is defined separately below!!! }
|
{ FileNameCaseSensitive is defined separately below!!! }
|
||||||
maxExitCode = 255;
|
maxExitCode = 255;
|
||||||
|
MaxPathLen = 256;
|
||||||
|
|
||||||
type Tos=(osDOS,osOS2,osDPMI);
|
type Tos=(osDOS,osOS2,osDPMI);
|
||||||
|
|
||||||
@ -591,7 +592,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.35 2005-04-03 21:10:59 hajny
|
Revision 1.36 2005-05-12 20:29:04 michael
|
||||||
|
+ Added maxpathlen constant (maximum length of filename path)
|
||||||
|
|
||||||
|
Revision 1.35 2005/04/03 21:10:59 hajny
|
||||||
* EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
|
* EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
|
||||||
|
|
||||||
Revision 1.34 2005/02/14 17:13:22 peter
|
Revision 1.34 2005/02/14 17:13:22 peter
|
||||||
|
@ -43,7 +43,7 @@ const
|
|||||||
PathSeparator = ';';
|
PathSeparator = ';';
|
||||||
{ FileNameCaseSensitive is defined separately below!!! }
|
{ FileNameCaseSensitive is defined separately below!!! }
|
||||||
maxExitCode = 255;
|
maxExitCode = 255;
|
||||||
|
MaxPathLen = 256;
|
||||||
|
|
||||||
const
|
const
|
||||||
{ Default filehandles }
|
{ Default filehandles }
|
||||||
@ -658,7 +658,10 @@ Begin
|
|||||||
End.
|
End.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.52 2005-05-05 11:40:23 peter
|
Revision 1.53 2005-05-12 20:29:04 michael
|
||||||
|
+ Added maxpathlen constant (maximum length of filename path)
|
||||||
|
|
||||||
|
Revision 1.52 2005/05/05 11:40:23 peter
|
||||||
Call InitSystemThreads
|
Call InitSystemThreads
|
||||||
|
|
||||||
Revision 1.51 2005/05/01 13:00:53 peter
|
Revision 1.51 2005/05/01 13:00:53 peter
|
||||||
|
@ -30,6 +30,7 @@ const
|
|||||||
CtrlZMarksEOF: boolean = false; (* #26 not considered as end of file *)
|
CtrlZMarksEOF: boolean = false; (* #26 not considered as end of file *)
|
||||||
|
|
||||||
maxExitCode = 65535;
|
maxExitCode = 65535;
|
||||||
|
MaxPathLen = 256;
|
||||||
|
|
||||||
const
|
const
|
||||||
{ Default filehandles }
|
{ Default filehandles }
|
||||||
@ -560,7 +561,10 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.32 2005-04-03 21:10:59 hajny
|
Revision 1.33 2005-05-12 20:29:04 michael
|
||||||
|
+ Added maxpathlen constant (maximum length of filename path)
|
||||||
|
|
||||||
|
Revision 1.32 2005/04/03 21:10:59 hajny
|
||||||
* EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
|
* EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
|
||||||
|
|
||||||
Revision 1.31 2005/03/20 19:37:31 olle
|
Revision 1.31 2005/03/20 19:37:31 olle
|
||||||
|
@ -35,6 +35,7 @@ const
|
|||||||
DriveSeparator = ':';
|
DriveSeparator = ':';
|
||||||
PathSeparator = ';';
|
PathSeparator = ';';
|
||||||
maxExitCode = 255;
|
maxExitCode = 255;
|
||||||
|
MaxPathLen = 256;
|
||||||
|
|
||||||
const
|
const
|
||||||
UnusedHandle : LongInt = -1;
|
UnusedHandle : LongInt = -1;
|
||||||
@ -335,7 +336,10 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.34 2005-05-10 21:45:08 hajny
|
Revision 1.35 2005-05-12 20:29:04 michael
|
||||||
|
+ Added maxpathlen constant (maximum length of filename path)
|
||||||
|
|
||||||
|
Revision 1.34 2005/05/10 21:45:08 hajny
|
||||||
* fix for potential SIGSEGV during argv allocation
|
* fix for potential SIGSEGV during argv allocation
|
||||||
|
|
||||||
Revision 1.33 2005/04/03 21:10:59 hajny
|
Revision 1.33 2005/04/03 21:10:59 hajny
|
||||||
|
@ -42,7 +42,7 @@ const
|
|||||||
PathSeparator = ';';
|
PathSeparator = ';';
|
||||||
{ FileNameCaseSensitive is defined separately below!!! }
|
{ FileNameCaseSensitive is defined separately below!!! }
|
||||||
maxExitCode = 255;
|
maxExitCode = 255;
|
||||||
|
MaxPathLen = 256;
|
||||||
|
|
||||||
CONST
|
CONST
|
||||||
{ Default filehandles }
|
{ Default filehandles }
|
||||||
@ -489,7 +489,10 @@ Begin
|
|||||||
End.
|
End.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.37 2005-04-03 21:10:59 hajny
|
Revision 1.38 2005-05-12 20:29:04 michael
|
||||||
|
+ Added maxpathlen constant (maximum length of filename path)
|
||||||
|
|
||||||
|
Revision 1.37 2005/04/03 21:10:59 hajny
|
||||||
* EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
|
* EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
|
||||||
|
|
||||||
Revision 1.36 2005/02/14 17:13:30 peter
|
Revision 1.36 2005/02/14 17:13:30 peter
|
||||||
|
@ -48,7 +48,7 @@ const
|
|||||||
PathSeparator = ';';
|
PathSeparator = ';';
|
||||||
{ FileNameCaseSensitive is defined separately below!!! }
|
{ FileNameCaseSensitive is defined separately below!!! }
|
||||||
maxExitCode = $ffff;
|
maxExitCode = $ffff;
|
||||||
|
MaxPathLen = 256;
|
||||||
|
|
||||||
CONST
|
CONST
|
||||||
{ Default filehandles }
|
{ Default filehandles }
|
||||||
@ -560,7 +560,10 @@ Begin
|
|||||||
End.
|
End.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.15 2005-04-03 21:10:59 hajny
|
Revision 1.16 2005-05-12 20:29:04 michael
|
||||||
|
+ Added maxpathlen constant (maximum length of filename path)
|
||||||
|
|
||||||
|
Revision 1.15 2005/04/03 21:10:59 hajny
|
||||||
* EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
|
* EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
|
||||||
|
|
||||||
Revision 1.14 2005/02/14 17:13:30 peter
|
Revision 1.14 2005/02/14 17:13:30 peter
|
||||||
|
@ -50,6 +50,7 @@ const
|
|||||||
PathSeparator = ';';
|
PathSeparator = ';';
|
||||||
{ FileNameCaseSensitive is defined separately below!!! }
|
{ FileNameCaseSensitive is defined separately below!!! }
|
||||||
MaxExitCode = 65535;
|
MaxExitCode = 65535;
|
||||||
|
MaxPathLen = 256;
|
||||||
|
|
||||||
type Tos=(osDOS,osOS2,osDPMI);
|
type Tos=(osDOS,osOS2,osDPMI);
|
||||||
|
|
||||||
@ -773,7 +774,10 @@ begin
|
|||||||
end.
|
end.
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.85 2005-05-03 22:17:26 hajny
|
Revision 1.86 2005-05-12 20:29:04 michael
|
||||||
|
+ Added maxpathlen constant (maximum length of filename path)
|
||||||
|
|
||||||
|
Revision 1.85 2005/05/03 22:17:26 hajny
|
||||||
* SysAllocMem used for ArgV [Idx] allocation again
|
* SysAllocMem used for ArgV [Idx] allocation again
|
||||||
|
|
||||||
Revision 1.84 2005/05/01 13:01:03 peter
|
Revision 1.84 2005/05/01 13:01:03 peter
|
||||||
|
@ -32,6 +32,7 @@ const
|
|||||||
FileNameCaseSensitive = false;
|
FileNameCaseSensitive = false;
|
||||||
CtrlZMarksEOF: boolean = false; (* #26 not considered as end of file *)
|
CtrlZMarksEOF: boolean = false; (* #26 not considered as end of file *)
|
||||||
maxExitCode = 255; {$ERROR TODO: CONFIRM THIS}
|
maxExitCode = 255; {$ERROR TODO: CONFIRM THIS}
|
||||||
|
MaxPathLen = 256;
|
||||||
|
|
||||||
Type
|
Type
|
||||||
{ type and constant declartions doesn't hurt }
|
{ type and constant declartions doesn't hurt }
|
||||||
@ -110,7 +111,10 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.8 2005-04-03 21:10:59 hajny
|
Revision 1.9 2005-05-12 20:29:04 michael
|
||||||
|
+ Added maxpathlen constant (maximum length of filename path)
|
||||||
|
|
||||||
|
Revision 1.8 2005/04/03 21:10:59 hajny
|
||||||
* EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
|
* EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
|
||||||
|
|
||||||
Revision 1.7 2005/02/14 17:13:31 peter
|
Revision 1.7 2005/02/14 17:13:31 peter
|
||||||
|
@ -33,6 +33,7 @@ const
|
|||||||
PathSeparator = ':';
|
PathSeparator = ':';
|
||||||
{ FileNameCaseSensitive is defined below! }
|
{ FileNameCaseSensitive is defined below! }
|
||||||
maxExitCode = 255;
|
maxExitCode = 255;
|
||||||
|
MaxPathLen = 256;
|
||||||
|
|
||||||
const
|
const
|
||||||
UnusedHandle = -1;
|
UnusedHandle = -1;
|
||||||
@ -56,7 +57,10 @@ var argc:longint;external name 'operatingsystem_parameter_argc';
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.26 2005-04-03 21:10:59 hajny
|
Revision 1.27 2005-05-12 20:29:16 michael
|
||||||
|
+ Added maxpathlen constant (maximum length of filename path)
|
||||||
|
|
||||||
|
Revision 1.26 2005/04/03 21:10:59 hajny
|
||||||
* EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
|
* EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
|
||||||
|
|
||||||
Revision 1.25 2005/02/14 17:13:31 peter
|
Revision 1.25 2005/02/14 17:13:31 peter
|
||||||
|
@ -44,6 +44,7 @@ const
|
|||||||
PathSeparator = ';';
|
PathSeparator = ';';
|
||||||
{ FileNameCaseSensitive is defined separately below!!! }
|
{ FileNameCaseSensitive is defined separately below!!! }
|
||||||
maxExitCode = 255;
|
maxExitCode = 255;
|
||||||
|
MaxPathLen = 256;
|
||||||
|
|
||||||
const
|
const
|
||||||
{ Default filehandles }
|
{ Default filehandles }
|
||||||
@ -1539,7 +1540,10 @@ End.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.23 2005-05-10 21:45:08 hajny
|
Revision 1.24 2005-05-12 20:29:04 michael
|
||||||
|
+ Added maxpathlen constant (maximum length of filename path)
|
||||||
|
|
||||||
|
Revision 1.23 2005/05/10 21:45:08 hajny
|
||||||
* fix for potential SIGSEGV during argv allocation
|
* fix for potential SIGSEGV during argv allocation
|
||||||
|
|
||||||
Revision 1.22 2005/04/13 20:10:50 florian
|
Revision 1.22 2005/04/13 20:10:50 florian
|
||||||
|
@ -39,6 +39,7 @@ const
|
|||||||
PathSeparator = ';';
|
PathSeparator = ';';
|
||||||
{ FileNameCaseSensitive is defined separately below!!! }
|
{ FileNameCaseSensitive is defined separately below!!! }
|
||||||
maxExitCode = 65535;
|
maxExitCode = 65535;
|
||||||
|
MaxPathLen = 260;
|
||||||
|
|
||||||
type
|
type
|
||||||
PEXCEPTION_FRAME = ^TEXCEPTION_FRAME;
|
PEXCEPTION_FRAME = ^TEXCEPTION_FRAME;
|
||||||
@ -1108,7 +1109,10 @@ end.
|
|||||||
|
|
||||||
{
|
{
|
||||||
$Log$
|
$Log$
|
||||||
Revision 1.73 2005-04-03 21:10:59 hajny
|
Revision 1.74 2005-05-12 20:29:04 michael
|
||||||
|
+ Added maxpathlen constant (maximum length of filename path)
|
||||||
|
|
||||||
|
Revision 1.73 2005/04/03 21:10:59 hajny
|
||||||
* EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
|
* EOF_CTRLZ conditional define replaced with CtrlZMarksEOF, #26 handling made more consistent (fix for bug 2453)
|
||||||
|
|
||||||
Revision 1.72 2005/03/21 16:31:33 peter
|
Revision 1.72 2005/03/21 16:31:33 peter
|
||||||
|
Loading…
Reference in New Issue
Block a user