On 13.02.2011 09:33, Daniel Shahaf wrote: >> + strncpy(orig_lc_all, setlocale(LC_ALL, NULL), sizeof orig_lc_all); > sizeof() with parens please.
Why? They're not necessary unless the sizeof operator (not function!) is applied to a type name. There's no ambiguity here at all. -- Brane