Re: [packages/ntp] - fix compile error

2015-08-03 Thread Adam Osuchowski
Jakub Bogusz wrote: > puts adds newline, so puts(str) is equivalent of printf("%s\n", str), > but printf(str). > > You can replace printf(str) with fputs(str, stdout). > (fputs doesn't add newline) Everybody will be satisfied with fputs() or there is antoher proposal?

Re: [packages/ntp] - fix compile error

2015-08-03 Thread Jakub Bogusz
On Mon, Aug 03, 2015 at 03:08:17PM +0200, Adam Osuchowski wrote: > Elan Ruusamäe wrote: > > such stdlib changes can be actually written with puts: > > > > puts(Unity.XFAILMessage); > > or sometimes: > > fputs(Unity.XFAILMessage, stderr); > > As you wish... puts adds newline, so puts(str) is equiv

Re: [packages/ntp] - fix compile error

2015-08-03 Thread Adam Osuchowski
Elan Ruusamäe wrote: > such stdlib changes can be actually written with puts: > > puts(Unity.XFAILMessage); > or sometimes: > fputs(Unity.XFAILMessage, stderr); As you wish... ___ pld-devel-en mailing list pld-devel-en@lists.pld-linux.org http://lists.pl