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
This commit was generated by cvs2svn to track changes on a CVS vendor
[unix-history]
/
sys
/
isofs
/
isofs_util.c
diff --git
a/sys/isofs/isofs_util.c
b/sys/isofs/isofs_util.c
index
0014cf5
..
1b2199a
100644
(file)
--- a/
sys/isofs/isofs_util.c
+++ b/
sys/isofs/isofs_util.c
@@
-1,7
+1,10
@@
/*
/*
- * $Id: isofs_util.c,v 1.3 1993/
07/19 13:40:08 cgd
Exp $
+ * $Id: isofs_util.c,v 1.3 1993/
11/25 01:32:28 wollman
Exp $
*/
*/
+#include "param.h"
+#include "systm.h"
+
int
isonum_711 (p)
char *p;
int
isonum_711 (p)
char *p;
@@
-11,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));
}
@@
-88,6
+91,7
@@
unsigned char *p;
/*
* translate and compare a filename
*/
/*
* translate and compare a filename
*/
+int
isofncmp(char *fn, int fnlen, char *isofn, int isolen) {
int fnidx;
isofncmp(char *fn, int fnlen, char *isofn, int isolen) {
int fnidx;