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
Container 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
This is an archived project. Repository and other project resources are read-only.
Show more breadcrumbs
Jon Boone
cmucl
Commits
c6f1ba3c
Commit
c6f1ba3c
authored
22 years ago
by
emarsden
Browse files
Options
Downloads
Patches
Plain Diff
- Fix (declare (type directory foo)) declarations to %directory
parent
366188f2
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/unix-glibc2.lisp
+4
-5
4 additions, 5 deletions
code/unix-glibc2.lisp
code/unix.lisp
+4
-4
4 additions, 4 deletions
code/unix.lisp
with
8 additions
and
9 deletions
code/unix-glibc2.lisp
+
4
−
5
View file @
c6f1ba3c
...
...
@@ -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-glibc2.lisp,v 1.2
5
2003/04/13 1
2:31:52 gerd
Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/unix-glibc2.lisp,v 1.2
6
2003/04/13 1
6:48:10 emarsden
Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -359,7 +359,7 @@
(
def-alien-type
gid-t
unsigned-int
)
(
def-alien-type
ino-t
u-int32-t
)
(
def-alien-type
ino64-t
u-int64-t
)
(
def-alien-type
mode-t
u
nsigned-in
t
)
(
def-alien-type
mode-t
u
-int32-
t
)
(
def-alien-type
nlink-t
unsigned-int
)
(
def-alien-type
off-t
int64-t
)
(
def-alien-type
blkcnt-t
u-int64-t
)
...
...
@@ -434,7 +434,7 @@
(
values
nil
enotdir
)))))
(
defun
read-dir
(
dir
)
(
declare
(
type
directory
dir
))
(
declare
(
type
%
directory
dir
))
(
let
((
daddr
(
alien-funcall
(
extern-alien
"readdir64"
(
function
system-area-pointer
system-area-pointer
))
...
...
@@ -447,7 +447,7 @@
(
slot
dirent
'd-ino
))))))
(
defun
close-dir
(
dir
)
(
declare
(
type
directory
dir
))
(
declare
(
type
%
directory
dir
))
(
alien-funcall
(
extern-alien
"closedir"
(
function
void
system-area-pointer
))
(
directory-dir-struct
dir
))
...
...
@@ -2788,7 +2788,6 @@ in at a time in poll.")
(
void-syscall
(
"fchmod"
int
int
)
fd
mode
))
#+
nil
(
defun
unix-umask
(
mask
)
"Set the file creation mask of the current process to MASK,
and return the old creation mask."
...
...
This diff is collapsed.
Click to expand it.
code/unix.lisp
+
4
−
4
View file @
c6f1ba3c
...
...
@@ -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.8
2
2003/04/13 1
2:31:52 gerd
Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/unix.lisp,v 1.8
3
2003/04/13 1
6:48:10 emarsden
Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -2213,7 +2213,7 @@
#-
bsd
(
defun
read-dir
(
dir
)
(
declare
(
type
directory
dir
))
(
declare
(
type
%
directory
dir
))
(
let
((
daddr
(
alien-funcall
(
extern-alien
"readdir"
(
function
system-area-pointer
system-area-pointer
))
...
...
@@ -2237,7 +2237,7 @@
(
slot
direct
'd-ino
))))))
#+
bsd
(
defun
read-dir
(
dir
)
(
declare
(
type
directory
dir
))
(
declare
(
type
%
directory
dir
))
(
let
((
daddr
(
alien-funcall
(
extern-alien
"readdir"
(
function
system-area-pointer
system-area-pointer
))
...
...
@@ -2259,7 +2259,7 @@
(
defun
close-dir
(
dir
)
(
declare
(
type
directory
dir
))
(
declare
(
type
%
directory
dir
))
(
alien-funcall
(
extern-alien
"closedir"
(
function
void
system-area-pointer
))
(
directory-dir-struct
dir
))
...
...
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