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
ISOFS fixed from Bruce Evans:
[unix-history]
/
sys
/
isofs
/
isofs_util.c
diff --git
a/sys/isofs/isofs_util.c
b/sys/isofs/isofs_util.c
index
3730325
..
1b2199a
100644
(file)
--- a/
sys/isofs/isofs_util.c
+++ b/
sys/isofs/isofs_util.c
@@
-1,5
+1,5
@@
/*
/*
- * $Id: isofs_util.c,v 1.
2 1993/07/20 03:27:33 jkh
Exp $
+ * $Id: isofs_util.c,v 1.
3 1993/11/25 01:32:28 wollman
Exp $
*/
#include "param.h"
*/
#include "param.h"
@@
-14,19
+14,19
@@
char *p;
int
isonum_712 (p)
int
isonum_712 (p)
-char *p;
+
char *p;
{
int val;
val = *p;
if (val & 0x80)
{
int val;
val = *p;
if (val & 0x80)
- val |=
0xffffff00
;
+ val |=
~0xff
;
return (val);
}
int
isonum_721 (p)
return (val);
}
int
isonum_721 (p)
-char *p;
+
char *p;
{
return ((p[0] & 0xff) | ((p[1] & 0xff) << 8));
}
{
return ((p[0] & 0xff) | ((p[1] & 0xff) << 8));
}