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
588c05ec
Commit
588c05ec
authored
33 years ago
by
wlott
Browse files
Options
Downloads
Patches
Plain Diff
Changed ``mach:'' to ``unix:''.
parent
b8ec264b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
hemlock/rcs.lisp
+11
-11
11 additions, 11 deletions
hemlock/rcs.lisp
with
11 additions
and
11 deletions
hemlock/rcs.lisp
+
11
−
11
View file @
588c05ec
;;; -*- Package: HEMLOCK; Mode: Lisp -*-
;;; -*- Package: HEMLOCK; Mode: Lisp -*-
;;;
;;;
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/hemlock/rcs.lisp,v 1.2
4
199
1/12/20 00:03:13 ram
Exp $
;;; $Header: /Volumes/share2/src/cmucl/cvs2git/cvsroot/src/hemlock/rcs.lisp,v 1.2
5
199
2/02/15 13:12:53 wlott
Exp $
;;;
;;;
;;; Various commands for dealing with RCS under Hemlock.
;;; Various commands for dealing with RCS under Hemlock.
;;;
;;;
...
@@ -86,13 +86,13 @@
...
@@ -86,13 +86,13 @@
(
in-directory
pathname
(
in-directory
pathname
(
let
((
file
(
file-namestring
pathname
)))
(
let
((
file
(
file-namestring
pathname
)))
(
do-command
"rcs"
`
(
"-l"
,
file
))
(
do-command
"rcs"
`
(
"-l"
,
file
))
(
multiple-value-bind
(
won
dev
ino
mode
)
(
mach
:unix-stat
file
)
(
multiple-value-bind
(
won
dev
ino
mode
)
(
unix
:unix-stat
file
)
(
declare
(
ignore
ino
))
(
declare
(
ignore
ino
))
(
cond
(
won
(
cond
(
won
(
mach
:unix-chmod
file
(
logior
mode
mach
:writeown
)))
(
unix
:unix-chmod
file
(
logior
mode
unix
:writeown
)))
(
t
(
t
(
editor-error
"
MACH
:UNIX-STAT lost in RCS-LOCK-FILE: ~A"
(
editor-error
"
UNIX
:UNIX-STAT lost in RCS-LOCK-FILE: ~A"
(
mach
:get-unix-error-msg
dev
)))))))
(
unix
:get-unix-error-msg
dev
)))))))
(
invoke-hook
rcs-lock-file-hook
buffer
pathname
))
(
invoke-hook
rcs-lock-file-hook
buffer
pathname
))
...
@@ -175,18 +175,18 @@
...
@@ -175,18 +175,18 @@
;; the rcs file.
;; the rcs file.
(
multiple-value-bind
(
multiple-value-bind
(
dev
ino
mode
nlink
uid
gid
rdev
size
atime
mtime
)
(
dev
ino
mode
nlink
uid
gid
rdev
size
atime
mtime
)
(
mach
:unix-stat
rcs-filename
)
(
unix
:unix-stat
rcs-filename
)
(
declare
(
ignore
mode
nlink
uid
gid
rdev
size
))
(
declare
(
ignore
mode
nlink
uid
gid
rdev
size
))
(
cond
(
dev
(
cond
(
dev
(
multiple-value-bind
(
multiple-value-bind
(
wonp
errno
)
(
wonp
errno
)
(
mach
:unix-utimes
filename
(
list
atime
0
mtime
0
))
(
unix
:unix-utimes
filename
(
list
atime
0
mtime
0
))
(
unless
wonp
(
unless
wonp
(
editor-error
"
MACH
:UNIX-UTIMES failed: ~A"
(
editor-error
"
UNIX
:UNIX-UTIMES failed: ~A"
(
mach
:get-unix-error-msg
errno
)))))
(
unix
:get-unix-error-msg
errno
)))))
(
t
(
t
(
editor-error
"
MACH
:UNIX-STAT failed: ~A"
(
editor-error
"
UNIX
:UNIX-STAT failed: ~A"
(
mach
:get-unix-error-msg
ino
)))))
(
unix
:get-unix-error-msg
ino
)))))
(
delete-buffer-if-possible
buffer
)))))
(
delete-buffer-if-possible
buffer
)))))
...
...
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