Bug 19950

Summary: gencat can't parse octal numbers
Product: Base System Reporter: klim <klim>
Component: binAssignee: freebsd-bugs (Nobody) <bugs>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: 3.0-STABLE   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
file.diff none

Description klim 2000-07-15 17:50:00 UTC
	Parsing NLS messages gencat skips octal characters (\xxx).
	Because it doesn't increase output string pointer after
	converting octal number to character.

How-To-Repeat: 
	# cat test.msg
	$
	$	"\123\164\162\151\156\147\040\062" == "String 2"
	$
	$set 1
	@quote "
	1 "String 1"
	2 "\123\164\162\151\156\147\040\062"
	3 "String 3"
	# gencat test.cat test.msg
	# strings -o test.cat
	      0 *nazgul*
	    110 "String 1"
	    126 "String 3"
Comment 1 Andrey A. Chernov freebsd_committer freebsd_triage 2000-07-15 18:21:13 UTC
State Changed
From-To: open->closed

Commited