Skip to content

Commit a98aecd

Browse files
committed
Bump version to 1.6.19 not 1.7
1 parent b5c792f commit a98aecd

File tree

4 files changed

+13
-13
lines changed

4 files changed

+13
-13
lines changed

System/Process/CommunicationHandle.hsc

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ import Control.DeepSeq (NFData, rnf)
9898
-- 'readCreateProcessWithExitCodeCommunicationHandle' provides a high-level API
9999
-- to this functionality. See there for example code.
100100
--
101-
-- @since 1.7.0.0
101+
-- @since 1.6.19.0
102102
newtype CommunicationHandle =
103103
CommunicationHandle
104104
##if defined(mingw32_HOST_OS)
@@ -115,7 +115,7 @@ type HANDLE = Ptr ()
115115
## endif
116116
#endif
117117

118-
-- @since 1.7.0.0
118+
-- @since 1.6.19.0
119119
instance Show CommunicationHandle where
120120
showsPrec p (CommunicationHandle h) =
121121
showsPrec p
@@ -124,7 +124,7 @@ instance Show CommunicationHandle where
124124
##endif
125125
h
126126

127-
-- @since 1.7.0.0
127+
-- @since 1.6.19.0
128128
instance Read CommunicationHandle where
129129
readsPrec p str =
130130
fmap
@@ -138,14 +138,14 @@ instance Read CommunicationHandle where
138138
-- | Turn the 'CommunicationHandle' into a 'Handle' that can be read from
139139
-- in the current process.
140140
--
141-
-- @since 1.7.0.0
141+
-- @since 1.6.19.0
142142
openCommunicationHandleRead :: CommunicationHandle -> IO Handle
143143
openCommunicationHandleRead = useCommunicationHandle True
144144

145145
-- | Turn the 'CommunicationHandle' into a 'Handle' that can be writte to
146146
-- in the current process.
147147
--
148-
-- @since 1.7.0.0
148+
-- @since 1.6.19.0
149149
openCommunicationHandleWrite :: CommunicationHandle -> IO Handle
150150
openCommunicationHandleWrite = useCommunicationHandle False
151151

@@ -212,7 +212,7 @@ foreign import ccall "reOpenFileOverlapped"
212212
-- Use this to close the 'CommunicationHandle' in the parent process after
213213
-- the 'CommunicationHandle' has been inherited by the child process.
214214
--
215-
-- @since 1.7.0.0
215+
-- @since 1.6.19.0
216216
closeCommunicationHandle :: CommunicationHandle -> IO ()
217217
closeCommunicationHandle (CommunicationHandle ch) =
218218
hClose =<< getGhcHandle ch
@@ -259,7 +259,7 @@ getGhcHandle fd = fdToHandle fd
259259
--
260260
-- See 'CommunicationHandle'.
261261
--
262-
-- @since 1.7.0.0
262+
-- @since 1.6.19.0
263263
createWeReadTheyWritePipe :: IO (Handle, CommunicationHandle)
264264
createWeReadTheyWritePipe = createCommunicationPipe id
265265

@@ -268,7 +268,7 @@ createWeReadTheyWritePipe = createCommunicationPipe id
268268
--
269269
-- See 'CommunicationHandle'.
270270
--
271-
-- @since 1.7.0.0
271+
-- @since 1.6.19.0
272272
createTheyReadWeWritePipe :: IO (CommunicationHandle, Handle)
273273
createTheyReadWeWritePipe = sw <$> createCommunicationPipe sw
274274
where
@@ -356,7 +356,7 @@ foreign import ccall "mkNamedPipe" c_mkNamedPipe ::
356356
-- > hPut hWrite $ someFn input
357357
-- > hClose hWrite
358358
--
359-
-- @since 1.7.0.0
359+
-- @since 1.6.19.0
360360
readCreateProcessWithExitCodeCommunicationHandle
361361
:: NFData a
362362
=> ((CommunicationHandle, CommunicationHandle) -> CreateProcess)

System/Process/Internals.hs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -257,7 +257,7 @@ interruptProcessGroupOf = interruptProcessGroupOfInternal
257257
-- that is holding the Handle lock, because when we clean up the process we
258258
-- try to close that handle, which could otherwise deadlock.
259259
--
260-
-- @since 1.7.0.0
260+
-- @since 1.6.19.0
261261
withForkWait :: IO () -> (IO () -> IO a) -> IO a
262262
withForkWait async body = do
263263
waitVar <- newEmptyMVar :: IO (MVar (Either SomeException ()))
@@ -268,7 +268,7 @@ withForkWait async body = do
268268

269269
-- | Handle any SIGPIPE errors in the given computation.
270270
--
271-
-- @since 1.7.0.0
271+
-- @since 1.6.19.0
272272
ignoreSigPipe :: IO () -> IO ()
273273
ignoreSigPipe = C.handle $ \e -> case e of
274274
IOError { ioe_type = ResourceVanished

changelog.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog for [`process` package](http://hackage.haskell.org/package/process)
22

3-
## 1.7.0.0 *April 2024*
3+
## 1.6.19.0 *April 2024*
44

55
* Introduce `System.Process.CommunicationHandle`, allowing for platform-independent
66
inter-process communication using `Handle`s.

process.cabal

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
cabal-version: 2.4
22
name: process
3-
version: 1.7.0.0
3+
version: 1.6.19.0
44
-- NOTE: Don't forget to update ./changelog.md
55
license: BSD-3-Clause
66
license-file: LICENSE

0 commit comments

Comments
 (0)