Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
cmucl
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package Registry
Model registry
Operate
Environments
Terraform modules
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Carl Shapiro
cmucl
Commits
cdc21869
Commit
cdc21869
authored
20 years ago
by
rtoy
Browse files
Options
Downloads
Patches
Plain Diff
Temporarily disable recvfrom and friends on Darwin.
parent
c126db45
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
code/internet.lisp
+5
-1
5 additions, 1 deletion
code/internet.lisp
code/unix.lisp
+4
-1
4 additions, 1 deletion
code/unix.lisp
with
9 additions
and
2 deletions
code/internet.lisp
+
5
−
1
View file @
cdc21869
...
...
@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/internet.lisp,v 1.4
4
2005/0
1/27
1
5
:2
3:3
3 rtoy Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/internet.lisp,v 1.4
5
2005/0
2/06
1
9
:2
6:1
3 rtoy Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -688,6 +688,8 @@ struct in_addr {
fd
(
unix:get-unix-error-msg
)))))
#-
darwin
(
progn
(
defun
inet-recvfrom
(
fd
buffer
size
&key
(
flags
0
))
"A packaging of the unix recvfrom call. Returns three values:
bytecount, source address as integer, and source port. bytecount
...
...
@@ -711,6 +713,7 @@ can of course be negative, to indicate faults."
flags
(
alien-sap
sockaddr
)
(
alien-size
inet-sockaddr
:bytes
))))
(
defconstant
shut-rd
0
)
(
defconstant
shut-wr
1
)
(
defconstant
shut-rdwr
2
)
...
...
@@ -721,3 +724,4 @@ can of course be negative, to indicate faults."
:format-control
"Error on shutdown of socket: ~A"
:format-arguments
(
list
(
unix:get-unix-error-msg
))
:errno
(
unix:unix-errno
))))
)
This diff is collapsed.
Click to expand it.
code/unix.lisp
+
4
−
1
View file @
cdc21869
...
...
@@ -5,7 +5,7 @@
;;; Carnegie Mellon University, and has been placed in the public domain.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/unix.lisp,v 1.10
0
2005/0
1/27
1
5
:2
3:3
3 rtoy Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/unix.lisp,v 1.10
1
2005/0
2/06
1
9
:2
6:1
3 rtoy Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -2969,6 +2969,8 @@
;; Datagram support
#-
darwin
(
progn
(
def-alien-routine
(
"recvfrom"
unix-recvfrom
)
int
(
fd
int
)
(
buffer
c-string
)
...
...
@@ -2988,6 +2990,7 @@
(
def-alien-routine
(
"shutdown"
unix-shutdown
)
int
(
socket
int
)
(
level
int
))
)
;;;
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment