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
f58c8ae4
Commit
f58c8ae4
authored
31 years ago
by
hallgren
Browse files
Options
Downloads
Patches
Plain Diff
Changed o_creat, o_trunc, and o_excl under hpux since they're different.
parent
bb8f6c3c
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
code/unix.lisp
+11
-5
11 additions, 5 deletions
code/unix.lisp
with
11 additions
and
5 deletions
code/unix.lisp
+
11
−
5
View file @
f58c8ae4
...
...
@@ -7,7 +7,7 @@
;;; Scott Fahlman or slisp-group@cs.cmu.edu.
;;;
(
ext:file-comment
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/unix.lisp,v 1.2
4
1993/0
2/26 08:26:23 ram
Exp $"
)
"$Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/code/unix.lisp,v 1.2
5
1993/0
7/03 00:41:54 hallgren
Exp $"
)
;;;
;;; **********************************************************************
;;;
...
...
@@ -681,10 +681,16 @@
(
defconstant
o_wronly
1
"Write-only flag."
)
(
defconstant
o_rdwr
2
"Read-write flag."
)
(
defconstant
o_append
#o10
"Append flag."
)
(
defconstant
o_creat
#o1000
"Create if nonexistant flag."
)
(
defconstant
o_trunc
#o2000
"Truncate flag."
)
(
defconstant
o_excl
#o4000
"Error if already exists."
)
#+
hpux
(
progn
(
defconstant
o_creat
#o400
"Create if nonexistant flag."
)
(
defconstant
o_trunc
#o1000
"Truncate flag."
)
(
defconstant
o_excl
#o2000
"Error if already exists."
))
#-
hpux
(
progn
(
defconstant
o_creat
#o1000
"Create if nonexistant flag."
)
(
defconstant
o_trunc
#o2000
"Truncate flag."
)
(
defconstant
o_excl
#o4000
"Error if already exists."
))
(
defun
unix-open
(
path
flags
mode
)
"Unix-open opens the file whose pathname is specified by path
...
...
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