On Oct 20, 2009, at 7:46 PM, Venkat Iyer wrote:
> while( db_step(&q)==SQLITE_ROW ){
> const char *zUuid = db_column_text(&q, 0);
> const char *zDate = db_column_text(&q, 1);
> const char *zCom = db_column_text(&q, 2);
> const char *zUser = db_column_text(&q, 3);
> printf("Ver %.10s by %.10s on %.10s: %s\n", zUuid, zUser, zDate,
> zCom );
> }
Consider using the comment_print() function located in comformat.c in
order to wrap the lines of output to no more than 79 characters per
line.
D. Richard Hipp
[email protected]
_______________________________________________
fossil-users mailing list
[email protected]
http://lists.fossil-scm.org:8080/cgi-bin/mailman/listinfo/fossil-users