Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobias Decking
GHC
Commits
817f5162
Commit
817f5162
authored
Feb 05, 1999
by
sof
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[project @ 1999-02-05 14:34:02 by sof]
'errors' caught by -fwarn-type-defaults
parent
99f24744
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
8 additions
and
5 deletions
+8
-5
ghc/lib/concurrent/Merge.lhs
ghc/lib/concurrent/Merge.lhs
+1
-0
ghc/lib/misc/SocketPrim.lhs
ghc/lib/misc/SocketPrim.lhs
+3
-3
ghc/lib/std/CPUTime.lhs
ghc/lib/std/CPUTime.lhs
+1
-1
ghc/lib/std/cbits/timezone.h
ghc/lib/std/cbits/timezone.h
+3
-1
No files found.
ghc/lib/concurrent/Merge.lhs
View file @
817f5162
...
...
@@ -18,6 +18,7 @@ import Semaphore
import PrelConc
import PrelIOBase
max_buff_size :: Int
max_buff_size = 1
mergeIO :: [a] -> [a] -> IO [a]
...
...
ghc/lib/misc/SocketPrim.lhs
View file @
817f5162
...
...
@@ -368,7 +368,7 @@ accept sock@(MkSocket s family stype protocol status) = do
show currentStatus))
else do
(ptr, sz) <- allocSockAddr family
int_star <- stToIO (newIntArray (
0
,1))
int_star <- stToIO (newIntArray (
(0::Int)
,1))
stToIO (writeIntArray int_star 0 sz)
new_sock <- _ccall_ acceptSocket s ptr int_star
case (new_sock::Int) of
...
...
@@ -511,7 +511,7 @@ getPeerName :: Socket -> IO SockAddr
getPeerName (MkSocket s family _ _ _) = do
(ptr, a_sz) <- allocSockAddr family
int_star <- stToIO (newIntArray (
0
,1))
int_star <- stToIO (newIntArray (
(0::Int)
,1))
stToIO (writeIntArray int_star 0 a_sz)
status <- _ccall_ getPeerName s ptr int_star
case (status::Int) of
...
...
@@ -524,7 +524,7 @@ getSocketName :: Socket -> IO SockAddr
getSocketName (MkSocket s family _ _ _) = do
(ptr, a_sz) <- allocSockAddr family
int_star <- stToIO (newIntArray (
0
,1))
int_star <- stToIO (newIntArray (
(0::Int)
,1))
stToIO (writeIntArray int_star 0 a_sz)
rc <- _ccall_ getSockName s ptr int_star
case (rc::Int) of
...
...
ghc/lib/std/CPUTime.lhs
View file @
817f5162
...
...
@@ -72,7 +72,7 @@ getCPUTime = do
getCPUTime :: IO Integer
getCPUTime =
stToIO (newIntArray (
0,3))
>>= \ marr ->
stToIO (newIntArray (
(0::Int),3))
>>= \ marr ->
stToIO (unsafeFreezeByteArray marr) >>= \ barr@(ByteArray _ frozen#) ->
_ccall_ getCPUTime barr >>= \ ptr ->
if (ptr::Addr) /= ``NULL'' then
...
...
ghc/lib/std/cbits/timezone.h
View file @
817f5162
/*
* (c) The GRASP/AQUA Project, Glasgow University, 1994-1998
*
* $Id: timezone.h,v 1.
3 1998/12/02 13:28:01 simonm
Exp $
* $Id: timezone.h,v 1.
4 1999/02/05 14:34:05 sof
Exp $
*
* Time-zone support header
*/
...
...
@@ -57,7 +57,9 @@ extern char *tzname[2];
# endif
/* ! HAVE_TZNAME */
/* Get the offset in secs from UTC, if (struct tm) doesn't supply it. */
#ifndef cygwin32_TARGET_OS
extern
TYPE_TIMEZONE
timezone
;
#endif
# if HAVE_ALTZONE
extern
time_t
altzone
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment