mirror of
https://github.com/tuxbox-neutrino/neutrino.git
synced 2025-08-31 01:11:12 +02:00
Some compiler error fixes.
git-svn-id: file:///home/bas/coolstream_public_svn/THIRDPARTY/applications/neutrino-experimental@591 e54a6e83-5905-42d5-8d5c-058d10e6a962
This commit is contained in:
@@ -3982,7 +3982,7 @@ printf("\n");
|
||||
find_new_part(npart, dpart);
|
||||
tt = time(0);
|
||||
printf("\n********* new file %s expected size %lld, start time %s", dpart, newsize, ctime (&tt));
|
||||
dstfd = open (dpart, O_CREAT|O_WRONLY|O_TRUNC| O_LARGEFILE);
|
||||
dstfd = open (dpart, O_CREAT|O_WRONLY|O_TRUNC| O_LARGEFILE, 0644);
|
||||
if(dstfd < 0) {
|
||||
perror(dpart);
|
||||
return 0;
|
||||
@@ -4217,7 +4217,7 @@ printf("\ncopy: processing bookmark %d at %lld len %lld\n", i, books[i].pos, boo
|
||||
}
|
||||
if(!dst_done || !onefile) {
|
||||
find_new_part(npart, dpart);
|
||||
dstfd = open (dpart, O_CREAT|O_WRONLY|O_TRUNC| O_LARGEFILE);
|
||||
dstfd = open (dpart, O_CREAT|O_WRONLY|O_TRUNC| O_LARGEFILE, 0644);
|
||||
printf("copy: new file %s fd %d\n", dpart, dstfd);
|
||||
if(dstfd < 0) {
|
||||
printf("failed to open %s\n", dpart);
|
||||
|
Reference in New Issue
Block a user