2
0
Эх сурвалжийг харах

Only merged the deprecations of this commit. Not the removals.

--- Merging r21321 into '.':
U    rtl/unix/unix.pp

# revisions: 21321
r21321 | marco | 2012-05-18 14:11:06 +0200 (Fri, 18 May 2012) | 4 lines
Changed paths:
   M /trunk/rtl/unix/unix.pp

 * removed some deprecated functions (deprecated since 2.2.0/2007 times)
 * added some new minor deprecations (mostly unused constants that are 
   potentially not crossplatform, and an shortstring version of a function)

git-svn-id: branches/fixes_2_6@22697 -
marco 13 жил өмнө
parent
commit
a87ac1c03a

+ 5 - 5
rtl/unix/unix.pp

@@ -48,12 +48,12 @@ Const
   MAP_FIXED     = baseunix.MAP_FIXED;         { Interpret addr exactly }
   MAP_FIXED     = baseunix.MAP_FIXED;         { Interpret addr exactly }
 
 
 { Flags to `msync'.  There is non msync() call in this unit? }
 { Flags to `msync'.  There is non msync() call in this unit? }
-  MS_ASYNC        = 1;               { Sync memory asynchronously.  }
-  MS_SYNC         = 4;               { Synchronous memory sync.  }
-  MS_INVALIDATE   = 2;               { Invalidate the caches.  }
+  MS_ASYNC        = 1 deprecated;               { Sync memory asynchronously.  }
+  MS_SYNC         = 4 deprecated;               { Synchronous memory sync.  }
+  MS_INVALIDATE   = 2 deprecated;               { Invalidate the caches.  }
 
 
 Type
 Type
-  Tpipe = baseunix.tfildes;     // compability.
+  Tpipe = baseunix.tfildes deprecated;     // compability.
 
 
 {** Time/Date Handling **}
 {** Time/Date Handling **}
 
 
@@ -85,7 +85,7 @@ function FpExecVPE(Const PathName:AnsiString;args,env:ppchar):cint;
 
 
 Function Shell   (const Command:String):cint;     deprecated;
 Function Shell   (const Command:String):cint;     deprecated;
 Function Shell   (const Command:AnsiString):cint; deprecated;
 Function Shell   (const Command:AnsiString):cint; deprecated;
-Function fpSystem(const Command:string):cint;
+Function fpSystem(const Command:string):cint; deprecated; // because of shortstring
 Function fpSystem(const Command:AnsiString):cint;
 Function fpSystem(const Command:AnsiString):cint;
 
 
 Function WaitProcess (Pid:cint):cint; 
 Function WaitProcess (Pid:cint):cint;