(1 / 1)
Date: September 24, 1985 18:03
From: KIM::RUNNER
To: @SYS$MAIL:ENGINEER,RUNNER
Just a polite warning to anyone using any C programs: (i.e. I just got chomped upon by this bug): When using formatted input via VAX C, if you request a hex (i.e. %x) conversion, any solitary zero will be dropped from the input string. For example, if you type '0,4000' as an input address range, the '0' will be ignored, and the program will only see a single input item of '4000'. So far, at least two pps utilities (pbfmm and sys1gr) have this bug. A quick fix is to never allow zeros to be alone -- type 2 or more in a row and the C input routine will notice the number correctly. I.E. type the previous address range as '00,4000' and it should be read ok. G R
Sep 24, 1985