projects
/
uffi.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Add minor upstream changes; conform new debian standards
[uffi.git]
/
examples
/
file-socket.lisp
diff --git
a/examples/file-socket.lisp
b/examples/file-socket.lisp
index 58ef17c9d04acc527edf6e51bee9943b5a9b32af..7f2fa16b13e97e519c6e9e609db74956bc0d5c28 100644
(file)
--- a/
examples/file-socket.lisp
+++ b/
examples/file-socket.lisp
@@
-9,11
+9,8
@@
;;;;
;;;; $Id$
;;;;
;;;;
;;;; $Id$
;;;;
-;;;; This file, part of UFFI, is Copyright (c) 2002 by Kevin M. Rosenberg
+;;;; This file, part of UFFI, is Copyright (c) 2002
-2005
by Kevin M. Rosenberg
;;;;
;;;;
-;;;; UFFI users are granted the rights to distribute and use this software
-;;;; as governed by the terms of the Lisp Lesser GNU Public License
-;;;; (http://opensource.franz.com/preamble.html), also known as the LLGPL.
;;;; *************************************************************************
(in-package :cl-user)
;;;; *************************************************************************
(in-package :cl-user)
@@
-33,10
+30,10
@@
(serv-addr :void-pointer)
(addr-len :int))
:returning :int)
(serv-addr :void-pointer)
(addr-len :int))
:returning :int)
-
+
(defun connect-to-file-socket (filename)
(let ((socket (c-socket PF_UNIX SOCK_STREAM 0)))
(if (plusp socket)
(defun connect-to-file-socket (filename)
(let ((socket (c-socket PF_UNIX SOCK_STREAM 0)))
(if (plusp socket)
- (let ((stream (c-connect socket filename (length filename))))
- stream)
+
(let ((stream (c-connect socket filename (length filename))))
+
stream)
(error "Unable to create socket"))))
(error "Unable to create socket"))))