[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Re: Another call for translation updates for d-i manual?



Hello Nozomu,

nabetaro@caldron.jp hat am 24. Oktober 2012 um 02:51 geschrieben:
> gawk's getline sets error message strings to ERRNO when file cannot be read.
> But in scripts/merge_xml.awk, it expected that ERRNO was integer.
>
> So, I fixed below:
>
> Index: scripts/merge_xml.awk
> ===================================================================
> --- scripts/merge_xml.awk (revision 67669)
> +++ scripts/merge_xml.awk (revision 67670)
> @@ -81,7 +81,7 @@
>
> # Test whether file exists
> getline <PARSEFILE
> - if (ERRNO != 0) {
> + if (length(ERRNO) != 0) {
> print "** Error: file '" PARSEFILE "' does not exist!" >>LOG
> return
> }
>
> Unfortunatly, the changes may be wrong.
> I will try to fix the problem by the more safe method.
>
> Please tell me your gawk's version.

I'm using stable, so that should be gawk 1:3.1.7.dfsg-5 (cannot check rightnow, I am at work).
If it does not work that way, maybe I could upgrade on squeeze-backports version (1:4.0.1+dfsg-2~bpo60+1)?
 
 
Holger

Reply to: