Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 539722 Details for
Bug 606768
app-admin/ulogd-2.0.5_p20161017[doc] - nsgmls:<OSFD>0:190:12:E: end tag for "DESCRIP" omitted, but its declaration does not permit this
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
1000_LinuxDocTools.pm_nsgmls-no-pipe.diff
1000_LinuxDocTools.pm_nsgmls-no-pipe.diff (text/plain), 1.89 KB, created by
Coacher
on 2018-07-16 15:11:24 UTC
(
hide
)
Description:
1000_LinuxDocTools.pm_nsgmls-no-pipe.diff
Filename:
MIME Type:
Creator:
Coacher
Created:
2018-07-16 15:11:24 UTC
Size:
1.89 KB
patch
obsolete
>--- a/perl5lib/LinuxDocTools.pm >+++ b/perl5lib/LinuxDocTools.pm >@@ -499,6 +499,7 @@ > > # Set common base name for temp files and temp file names > my $tmpbase = $global->{tmpbase} = $tmpdir . '/sgmltmp.' . $filename; >+ my $precmdout = "$tmpbase.0.precmdout"; > my $nsgmlsout = "$tmpbase.1"; # Was $tmpbase.1 > my $preaspout = "$tmpbase.2"; # Was $tmpbase.2 > my $aspout = "$tmpbase.3"; # Was $tmpbase.3 >@@ -537,22 +538,27 @@ > || die "$error_header: Could not open $global->{file} for reading. Aborting ...\n"; > } > >- # Pipe to nsgmls. Write exit status to $nsgmls_error_flag if not 0. >- my $nsgmls_error_flag = "$tmpdir/nsgmls.error-flag"; >- my $nsgmls_command = "$precmd | ( $main::progs->{NSGMLS} $global->{NsgmlsOpts} $ENV{SGMLDECL} || echo \$? > $nsgmls_error_flag ) > $nsgmlsout"; >+ # Create a temp file with $precmd output >+ my $precmd_command = "$precmd > $precmdout"; > >- unlink $nsgmls_error_flag; >- open (my $WRITENSGMLS, "$nsgmls_command") >- or die "$error_header: Could not open pipe to $nsgmlsout. Aborting ...\n"; >+ open (my $PRECMDOUT, "$precmd_command") >+ or die "$error_header: Could not open pipe to $precmdout. Aborting ...\n"; > > if ($global->{charset} eq "latin") { >- print $WRITENSGMLS ldt_latin1tosgml($IFILE); >+ print $PRECMDOUT ldt_latin1tosgml($IFILE); > } else { >- copy($IFILE,$WRITENSGMLS); >+ copy($IFILE,$PRECMDOUT); > } > > close $IFILE; >- close $WRITENSGMLS; >+ close $PRECMDOUT; >+ >+ # Process with nsgmls. Write exit status to $nsgmls_error_flag if not 0. >+ my $nsgmls_error_flag = "$tmpdir/nsgmls.error-flag"; >+ my $nsgmls_command = "( $main::progs->{NSGMLS} $global->{NsgmlsOpts} $ENV{SGMLDECL} $precmdout || echo \$? > $nsgmls_error_flag ) > $nsgmlsout"; >+ >+ unlink $nsgmls_error_flag; >+ system($nsgmls_command); > > # If $nsgmls_error_flag exists an error happened. Return status and die. > if ( -e $nsgmls_error_flag ){
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 606768
:
460874
|
460876
|
480596
|
480598
|
480602
|
482990
|
537848
|
537850
| 539722