On Fri, Aug 15, 2008 at 06:20:04PM +0200, Aurelien Jarno wrote: > I don't expect ypcat to print a correct string when the encoding of the > NIS server and the locale of the client do not match, but at least it > should not drop the line, and either print the line with broken > characters or print an error message.
Could you please identify where in the current code the lines are dropped? Unless yp_all() passes in an error status the data is going to get passed to fprintf() which I would expect to produce some (potentially mangled) output. -- "You grabbed my hand and we fell into it, like a daydream - or a fever." -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]