Trying to silence compiler warnings of OpenSuse Build Service
This commit is contained in:
parent
3e0c8581fa
commit
17689fd537
@ -800,7 +800,8 @@ void isoburn_disc_write(struct burn_write_opts *opts, struct burn_disc *disc)
|
|||||||
ret= lstat(adr, &stbuf);
|
ret= lstat(adr, &stbuf);
|
||||||
if(ret!=-1)
|
if(ret!=-1)
|
||||||
if(S_ISREG(stbuf.st_mode))
|
if(S_ISREG(stbuf.st_mode))
|
||||||
truncate(adr, nwa * (off_t) 2048);
|
ret= truncate(adr, nwa * (off_t) 2048);
|
||||||
|
/* (result of truncate intentionally ignored) */
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -970,7 +970,7 @@ int Permstack_pop(struct PermiteM **o, struct PermiteM *stopper,
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
if(!(flag&1)) {
|
if(!(flag&1)) {
|
||||||
chown(m->disk_path, m->stbuf.st_uid, m->stbuf.st_gid);
|
ret= chown(m->disk_path, m->stbuf.st_uid, m->stbuf.st_gid);
|
||||||
/* don't complain if it fails */
|
/* don't complain if it fails */
|
||||||
if(!(flag&2)) {
|
if(!(flag&2)) {
|
||||||
utime_buffer.actime= m->stbuf.st_atime;
|
utime_buffer.actime= m->stbuf.st_atime;
|
||||||
|
@ -683,7 +683,8 @@ int Xorriso_genisofs(struct XorrisO *xorriso, char *whom,
|
|||||||
fd= xorriso->dev_fd_1;
|
fd= xorriso->dev_fd_1;
|
||||||
if(fd<0)
|
if(fd<0)
|
||||||
fd= 1;
|
fd= 1;
|
||||||
write(fd, xorriso->result_line, strlen(xorriso->result_line));
|
ret= write(fd, xorriso->result_line, strlen(xorriso->result_line));
|
||||||
|
/* (result of write intentionally ignored) */
|
||||||
fsync(fd);
|
fsync(fd);
|
||||||
Xorriso_option_version(xorriso, 0);
|
Xorriso_option_version(xorriso, 0);
|
||||||
|
|
||||||
|
@ -250,7 +250,8 @@ int Xorriso_option_print_size(struct XorrisO *xorriso, int flag)
|
|||||||
fd= xorriso->dev_fd_1;
|
fd= xorriso->dev_fd_1;
|
||||||
if(fd<0)
|
if(fd<0)
|
||||||
fd= 1;
|
fd= 1;
|
||||||
write(fd, xorriso->result_line, strlen(xorriso->result_line));
|
ret= write(fd, xorriso->result_line, strlen(xorriso->result_line));
|
||||||
|
/* (result of write intentionally ignored) */
|
||||||
fsync(fd);
|
fsync(fd);
|
||||||
} else {
|
} else {
|
||||||
sprintf(xorriso->result_line,"Image size : %ds\n", ret);
|
sprintf(xorriso->result_line,"Image size : %ds\n", ret);
|
||||||
|
@ -323,7 +323,7 @@ int Xorriso_restore_properties(struct XorrisO *xorriso, char *disk_path,
|
|||||||
gid= iso_node_get_gid(node);
|
gid= iso_node_get_gid(node);
|
||||||
if(!(S_ISDIR(stbuf.st_mode) && (flag&2)))
|
if(!(S_ISDIR(stbuf.st_mode) && (flag&2)))
|
||||||
uid= iso_node_get_uid(node);
|
uid= iso_node_get_uid(node);
|
||||||
chown(disk_path, uid, gid); /* don't complain if it fails */
|
ret= chown(disk_path, uid, gid); /* don't complain if it fails */
|
||||||
utime_buffer.actime= iso_node_get_atime(node);
|
utime_buffer.actime= iso_node_get_atime(node);
|
||||||
utime_buffer.modtime= iso_node_get_mtime(node);
|
utime_buffer.modtime= iso_node_get_mtime(node);
|
||||||
ret= utime(disk_path,&utime_buffer);
|
ret= utime(disk_path,&utime_buffer);
|
||||||
|
@ -1 +1 @@
|
|||||||
#define Xorriso_timestamP "2010.06.20.072130"
|
#define Xorriso_timestamP "2010.06.20.141555"
|
||||||
|
Loading…
Reference in New Issue
Block a user