From e1149d93791eb634bb4f909bc3005bcc4b8b20d0 Mon Sep 17 00:00:00 2001 From: Thomas Schmitt Date: Thu, 5 Sep 2013 08:18:00 +0000 Subject: [PATCH] Reacted on warnings of PLD Linux build log --- xorriso/text_io.c | 4 +++- xorriso/xorriso.1 | 2 +- xorriso/xorriso.texi | 18 +++++++++--------- xorriso/xorriso_timestamp.h | 2 +- 4 files changed, 14 insertions(+), 12 deletions(-) diff --git a/xorriso/text_io.c b/xorriso/text_io.c index ebd8bc09..6f3e9ae8 100644 --- a/xorriso/text_io.c +++ b/xorriso/text_io.c @@ -727,7 +727,9 @@ bit15= with bit1 to bit3: close depicted log file fflush(pktlog_fp); } if(flag & 8) { - truncate(text, (off_t) 0); + ret= truncate(text, (off_t) 0); + if(ret == -1 && errno != ENOENT) + {ret= 0; goto ex;} xorriso->stderr_fp= fopen(text, "a"); if(xorriso->stderr_fp == NULL) {ret= 0; goto ex;} diff --git a/xorriso/xorriso.1 b/xorriso/xorriso.1 index 6308061a..2636b8de 100644 --- a/xorriso/xorriso.1 +++ b/xorriso/xorriso.1 @@ -9,7 +9,7 @@ .\" First parameter, NAME, should be all caps .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection .\" other parameters are allowed: see man(7), man(1) -.TH XORRISO 1 "Version 1.3.3, Aug 07, 2013" +.TH XORRISO 1 "Version 1.3.3, Sep 03, 2013" .\" Please adjust this date whenever revising the manpage. .\" .\" Some roff macros, for reference: diff --git a/xorriso/xorriso.texi b/xorriso/xorriso.texi index a68f9e3a..e8b953fa 100644 --- a/xorriso/xorriso.texi +++ b/xorriso/xorriso.texi @@ -50,7 +50,7 @@ @c man .\" First parameter, NAME, should be all caps @c man .\" Second parameter, SECTION, should be 1-8, maybe w/ subsection @c man .\" other parameters are allowed: see man(7), man(1) -@c man .TH XORRISO 1 "Version 1.3.3, Aug 07, 2013" +@c man .TH XORRISO 1 "Version 1.3.3, Sep 03, 2013" @c man .\" Please adjust this date whenever revising the manpage. @c man .\" @c man .\" Some roff macros, for reference: @@ -272,7 +272,7 @@ intended manipulations of a particular ISO image should be done in a single session. But in principle it is possible to store intermediate states and to continue with image manipulations. @c man .SS -@node Media, Methods, Model, top +@node Media, Methods, Model, Top @chapter Media types and states @c man .B Media types and states: There are two families of media in the MMC standard: @@ -339,7 +339,7 @@ Read-only drives may or may not show session histories of multi-session media. Often only the first and the last session are visible. Sometimes not even that. Command -rom_toc_scan might or might not help in such cases. @c man .SS -@node Methods, Drives, Media, top +@node Methods, Drives, Media, Top @chapter Creating, Growing, Modifying, Blind Growing: @c man .B Creating, Growing, Modifying, Blind Growing: @* @@ -401,7 +401,7 @@ and the burn program is desired. -C $msc1,$msc2 is equivalent to: @* -load sbsector $msc1 -grow_blindly $msc2 @c man .SS -@node Drives, Extras, Methods, top +@node Drives, Extras, Methods, Top @chapter Libburn drives @c man .B Libburn drives: @c man .br @@ -500,7 +500,7 @@ One may prepend "mmc:" to a path to surely disallow any automatic "stdio:". By command -drive_class one may ban certain paths or allow access without prefix "stdio:" to other paths. @c man .SS -@node Extras, Processing, Drives, top +@node Extras, Processing, Drives, Top @chapter Rock Ridge, POSIX, X/Open, El Torito, ACL, xattr @c man .B Rock Ridge, POSIX, X/Open, El Torito, ACL, xattr: @c man .br @@ -612,7 +612,7 @@ or to print them. Recording and restoring of xattr from and to local files works currently only on GNU/Linux and FreeBSD, where they are known as extattr. @c man .SS -@node Processing, Dialog, Extras, top +@node Processing, Dialog, Extras, Top @chapter Command processing @c man .B Command processing: @c man .br @@ -701,7 +701,7 @@ The program ends either by command -end, or by the end of program arguments if dialog mode has not been enabled at that point, or by a problem event which triggers the threshold of command -abort_on. @c man .SS -@node Dialog, Commands, Processing, top +@node Dialog, Commands, Processing, Top @chapter Dialog, Readline, Result pager @c man .B Dialog, Readline, Result pager: @c man .br @@ -747,7 +747,7 @@ Some actions apply paging to their info output, too. @* The request to abort may or may not be obeyed by the current action. All actions try to abort as soon as possible. -@node Commands, Examples, Dialog, top +@node Commands, Examples, Dialog, Top @chapter Commands @c man .br @c man .SH OPTIONS @@ -6429,7 +6429,7 @@ Compliments towards Joerg Schilling whose cdrtools served me for ten years. @chapter Alphabetic Command List @printindex ky -@node ConceptIdx,, CommandIdx, top +@node ConceptIdx,, CommandIdx, Top @chapter Alphabetic List of Concepts and Objects @printindex cp diff --git a/xorriso/xorriso_timestamp.h b/xorriso/xorriso_timestamp.h index a87d55dd..ba040391 100644 --- a/xorriso/xorriso_timestamp.h +++ b/xorriso/xorriso_timestamp.h @@ -1 +1 @@ -#define Xorriso_timestamP "2013.09.05.080255" +#define Xorriso_timestamP "2013.09.05.081703"