summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/mkisofs/rock.c
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/mkisofs/rock.c')
-rw-r--r--gnu/usr.bin/mkisofs/rock.c28
1 files changed, 14 insertions, 14 deletions
diff --git a/gnu/usr.bin/mkisofs/rock.c b/gnu/usr.bin/mkisofs/rock.c
index 171434d..dfa774f 100644
--- a/gnu/usr.bin/mkisofs/rock.c
+++ b/gnu/usr.bin/mkisofs/rock.c
@@ -72,7 +72,7 @@
a CE entry for the continuation record */
#define MAYBE_ADD_CE_ENTRY(BYTES) \
- (BYTES + CE_SIZE + currlen + (ipnt - recstart) > reclimit ? 1 : 0)
+ (BYTES + CE_SIZE + currlen + (ipnt - recstart) > reclimit ? 1 : 0)
/*
* Buffer to build RR attributes
@@ -189,13 +189,13 @@ int deep_opt;
};
/*
- * Add the posix modes
+ * Add the posix modes
*/
if(MAYBE_ADD_CE_ENTRY(PX_SIZE)) add_CE_entry();
Rock[ipnt++] ='P';
Rock[ipnt++] ='X';
Rock[ipnt++] = PX_SIZE;
- Rock[ipnt++] = SU_VERSION;
+ Rock[ipnt++] = SU_VERSION;
flagval |= (1<<0);
set_733((char*)Rock + ipnt, lstatbuf->st_mode);
ipnt += 8;
@@ -215,7 +215,7 @@ int deep_opt;
Rock[ipnt++] ='P';
Rock[ipnt++] ='N';
Rock[ipnt++] = PN_SIZE;
- Rock[ipnt++] = SU_VERSION;
+ Rock[ipnt++] = SU_VERSION;
flagval |= (1<<1);
if(sizeof(dev_t) <= 4) {
set_733((char*)Rock + ipnt, 0);
@@ -254,7 +254,7 @@ int deep_opt;
Rock[ipnt++] ='L';
lenpos = ipnt;
Rock[ipnt++] = SL_SIZE;
- Rock[ipnt++] = SU_VERSION;
+ Rock[ipnt++] = SU_VERSION;
Rock[ipnt++] = 0; /* Flags */
lenval = 5;
while(*cpnt){
@@ -263,7 +263,7 @@ int deep_opt;
nchar--;
*cpnt1 = 0;
};
-
+
/* We treat certain components in a special way. */
if(cpnt[0] == '.' && cpnt[1] == '.' && cpnt[2] == 0){
if(MAYBE_ADD_CE_ENTRY(2)) add_CE_entry();
@@ -329,7 +329,7 @@ int deep_opt;
if(nchar) Rock[lenpos + 2] = SL_CONTINUE; /* We need another SL entry */
} /* while nchar */
} /* Is a symbolic link */
- /*
+ /*
* Add in the Rock Ridge TF time field
*/
if(MAYBE_ADD_CE_ENTRY(TF_SIZE)) add_CE_entry();
@@ -354,7 +354,7 @@ int deep_opt;
iso9660_date((char *) &Rock[ipnt], lstatbuf->st_ctime);
ipnt += 7;
- /*
+ /*
* Add in the Rock Ridge RE time field
*/
if(deep_opt & NEED_RE){
@@ -365,7 +365,7 @@ int deep_opt;
Rock[ipnt++] = SU_VERSION;
flagval |= (1<<6);
};
- /*
+ /*
* Add in the Rock Ridge PL record, if required.
*/
if(deep_opt & NEED_PL){
@@ -379,7 +379,7 @@ int deep_opt;
flagval |= (1<<5);
};
- /*
+ /*
* Add in the Rock Ridge CL field, if required.
*/
if(deep_opt & NEED_CL){
@@ -396,7 +396,7 @@ int deep_opt;
#ifndef VMS
/* If transparent compression was requested, fill in the correct
field for this file */
- if(transparent_compression &&
+ if(transparent_compression &&
S_ISREG(lstatbuf->st_mode) &&
strlen(name) > 3 &&
strcmp(name + strlen(name) - 3,".gZ") == 0){
@@ -429,8 +429,8 @@ int deep_opt;
else {
int blocksize;
blocksize = (header[3] << 8) | header[2];
- file_size = ((unsigned int)header[7] << 24) |
- ((unsigned int)header[6] << 16) |
+ file_size = ((unsigned int)header[7] << 24) |
+ ((unsigned int)header[6] << 16) |
((unsigned int)header[5] << 8) | header[4];
#if 0
fprintf(stderr,"Blocksize = %d %d\n", blocksize, file_size);
@@ -465,7 +465,7 @@ int deep_opt;
};
}
#endif
- /*
+ /*
* Add in the Rock Ridge CE field, if required. We use this for the
* extension record that is stored in the root directory.
*/
OpenPOWER on IntegriCloud