projects
/
unix-history
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
tags
|
clone url
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix to do writes in memory properly
[unix-history]
/
usr
/
src
/
old
/
adb
/
adb.vax
/
access.c
diff --git
a/usr/src/old/adb/adb.vax/access.c
b/usr/src/old/adb/adb.vax/access.c
index
3d64f4e
..
c271915
100644
(file)
--- a/
usr/src/old/adb/adb.vax/access.c
+++ b/
usr/src/old/adb/adb.vax/access.c
@@
-8,7
+8,7
@@
*/
#include "defs.h"
*/
#include "defs.h"
-static char sccsid[] = "@(#)access.c 4.4
%G%
";
+static char sccsid[] = "@(#)access.c 4.4
5/15/81
";
MAP txtmap;
MAP txtmap;
@@
-79,7
+79,7
@@
access(mode, addr, space, value)
if (addr < 0)
return (0);
}
if (addr < 0)
return (0);
}
- if (physrw(file, addr,
&w
, rd) < 0)
+ if (physrw(file, addr,
rd ? &w : &value
, rd) < 0)
rwerr(space);
return (w);
}
rwerr(space);
return (w);
}