|
From: Jan-Benedict G. <jb...@us...> - 2004-09-20 21:15:56
|
Update of /cvsroot/linux-vax/kernel-2.5/fs/ods2 In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6108 Modified Files: dir.c file.c ods2.h tparse.c Log Message: - Remove trailing blanks. Index: tparse.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/fs/ods2/tparse.c,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- tparse.c 20 Sep 2004 06:05:29 -0000 1.3 +++ tparse.c 20 Sep 2004 21:15:47 -0000 1.4 @@ -22,7 +22,7 @@ { int idx; int found; - + while (1) { char *str = argblk->str; @@ -71,7 +71,7 @@ if (((void **)tpa[idx].type)[0] == (void *)244) { struct tparse *tmptpa = ((struct tparse **)tpa[idx].type)[1]; struct argblk tmpargblk; - + tmpargblk.options = argblk->options; tmpargblk.arg = argblk->arg; tmpargblk.str = str; Index: file.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/fs/ods2/file.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- file.c 20 Sep 2004 20:27:17 -0000 1.6 +++ file.c 20 Sep 2004 21:15:47 -0000 1.7 @@ -52,7 +52,7 @@ IMPLICIT: - None. + None. */ @@ -296,12 +296,12 @@ For a non-RMS machine that doesn't know anything about records these three formats are the same. For RMS the different between these formats is the following: - + STREAM: Records are delimited by FF, VT, LF, or CRLF. STREAMLF: Records are delimited by LF. STREAMCR: Records are delimited by CR. - - Note that we can not use generic read routines even if we treat the data as just a + + Note that we can not use generic read routines even if we treat the data as just a stream of bytes because the way we need to translate from VBN to LBN. INPUT: @@ -628,7 +628,7 @@ } } - + loff_t ods2_llseek(struct file *filp, loff_t loff, int seek) { Index: ods2.h =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/fs/ods2/ods2.h,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- ods2.h 20 Sep 2004 21:13:38 -0000 1.6 +++ ods2.h 20 Sep 2004 21:15:47 -0000 1.7 @@ -391,7 +391,7 @@ * This is the index for one or more ODS2VAR structures. By doing index as * much as possible it is easy to calculate what structure to use by just * doing some shifts and bit masking. - * Note that this structure and its sub structures are protected by a + * Note that this structure and its sub structures are protected by a * semaphore because more than one process at the same time can use the inode * structure to read the file contents. * The number of bytes for this structure is 128 * 4 + 12 (or 16) => 528. Index: dir.c =================================================================== RCS file: /cvsroot/linux-vax/kernel-2.5/fs/ods2/dir.c,v retrieving revision 1.6 retrieving revision 1.7 diff -u -d -r1.6 -r1.7 --- dir.c 20 Sep 2004 20:27:16 -0000 1.6 +++ dir.c 20 Sep 2004 21:15:47 -0000 1.7 @@ -118,7 +118,7 @@ * will be detected later on when the user try to walk down into * the false directory. */ - if (filldir(dirent, dirnamev, strlen(dirnamev), filp->f_pos, ino, + if (filldir(dirent, dirnamev, strlen(dirnamev), filp->f_pos, ino, (strstr(dirnamev, (ods2p->flags.v_lowercase ? ".dir." : ".DIR")) == NULL ? DT_REG : DT_DIR))) { /* We come here when filldir is unable to handle more entries. |