[commit: unix] master: Add "deprecated in" comments to deprecated pragmas (6e900d0)

Ian Lynagh igloo at earth.li
Tue Feb 19 22:07:41 CET 2013


Repository : ssh://darcs.haskell.org//srv/darcs/packages/unix

On branch  : master

http://hackage.haskell.org/trac/ghc/changeset/6e900d020129afef7b424a6cdef98f703821d4b9

>---------------------------------------------------------------

commit 6e900d020129afef7b424a6cdef98f703821d4b9
Author: Ian Lynagh <ian at well-typed.com>
Date:   Tue Feb 19 15:16:58 2013 +0000

    Add "deprecated in" comments to deprecated pragmas

>---------------------------------------------------------------

 System/Posix/Process/Common.hsc |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/System/Posix/Process/Common.hsc b/System/Posix/Process/Common.hsc
index e11742a..e42978b 100644
--- a/System/Posix/Process/Common.hsc
+++ b/System/Posix/Process/Common.hsc
@@ -390,7 +390,7 @@ foreign import ccall unsafe "exit"
 -- -----------------------------------------------------------------------------
 -- Deprecated or subject to change
 
-{-# DEPRECATED createProcessGroup "This function is scheduled to be replaced by something different in the future, we therefore recommend that you do not use this version and use createProcessGroupFor instead." #-}
+{-# DEPRECATED createProcessGroup "This function is scheduled to be replaced by something different in the future, we therefore recommend that you do not use this version and use createProcessGroupFor instead." #-} -- deprecated in 7.2
 -- | @'createProcessGroup' pid@ calls @setpgid@ to make
 --   process @pid@ a new process group leader.
 --   This function is currently deprecated,
@@ -401,7 +401,7 @@ createProcessGroup pid = do
   throwErrnoIfMinus1_ "createProcessGroup" (c_setpgid pid 0)
   return pid
 
-{-# DEPRECATED setProcessGroupID "This function is scheduled to be replaced by something different in the future, we therefore recommend that you do not use this version and use setProcessGroupIdOf instead." #-}
+{-# DEPRECATED setProcessGroupID "This function is scheduled to be replaced by something different in the future, we therefore recommend that you do not use this version and use setProcessGroupIdOf instead." #-} -- deprecated in 7.2
 -- | @'setProcessGroupID' pid pgid@ calls @setpgid@ to set the
 --   'ProcessGroupID' for process @pid@ to @pgid at .
 --   This function is currently deprecated,





More information about the ghc-commits mailing list