Hello

If I try to format some data in a anligned string with  
Genode::snprintf(), the data is stored in the string, but my  
additional format specifier for the field width aren't respected.

My string is:

static const char* lineFormat = "%5d  \"%25s\"  \"%25s\" %10s %5d\r\n"

If I do want to right align the numbers (%-5d) the function crashes my  
program.

The comment on the functoin doesn't specify that format sizes arn't supported.

Best regards
Pirmin Duss



------------------------------------------------------------------------------
BPM Camp - Free Virtual Workshop May 6th at 10am PDT/1PM EDT
Develop your own process in accordance with the BPMN 2 standard
Learn Process modeling best practices with Bonita BPM through live exercises
http://www.bonitasoft.com/be-part-of-it/events/bpm-camp-virtual- event?utm_
source=Sourceforge_BPM_Camp_5_6_15&utm_medium=email&utm_campaign=VA_SF
_______________________________________________
genode-main mailing list
genode-main@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/genode-main

Reply via email to