summaryrefslogtreecommitdiff
path: root/lib/table.c
Commit message (Collapse)AuthorAgeFilesLines
* Move lib/dynamic-string.h to include/openvswitch directoryBen Warren2016-03-191-1/+1
| | | | | Signed-off-by: Ben Warren <ben@skyportsystems.com> Signed-off-by: Ben Pfaff <blp@ovn.org>
* vlog: Report timestamps in millisecond resolution in log messages.Paul Ingram2013-09-131-1/+1
| | | | | | | To make debugging easier. Signed-off-by: Ben Pfaff <blp@nicira.com> Signed-off-by: Paul Ingram <pingram@nicira.com>
* Always check return value of strftime().Ben Pfaff2013-05-081-11/+7
| | | | | | | | | | | | strftime() returns 0 and leaves the contents of the output buffer unspecified if the output buffer is not big enough. Thus, one should check strftime()'s return value. Until now, OVS has had a few invocations of strftime() that did not check the return value. This commit fixes those. I believe that the buffers were always large enough in each case, but it's better to be safe. Reported-by: Andy Zhou <azhou@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* Use gmtime_r() and localtime_r() instead of non-thread-safe versions.Ben Pfaff2013-05-021-2/+3
| | | | Signed-off-by: Ben Pfaff <blp@nicira.com>
* Replace most uses of assert by ovs_assert.Ben Pfaff2013-01-161-5/+3
| | | | | | | | This is a straight search-and-replace, except that I also removed #include <assert.h> from each file where there were no assert calls left. Signed-off-by: Ben Pfaff <blp@nicira.com> Acked-by: Ethan Jackson <ethan@nicira.com>
* Use UTC consistently instead of local timezone.Ben Pfaff2012-07-021-1/+1
| | | | | Signed-off-by: Arun Sharma <arun.sharma@calsoftinc.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* Global replace of Nicira Networks.Raju Subramanian2012-05-021-1/+1
| | | | | | | | Replaced all instances of Nicira Networks(, Inc) to Nicira, Inc. Feature #10593 Signed-off-by: Raju Subramanian <rsubramanian@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* ovsdb-client: Add optional timestamps to "monitor" command output.Ben Pfaff2012-02-021-1/+42
| | | | | | Suggestion #9347. Suggested-by: Alan Shieh <ashieh@nicira.com> Signed-off-by: Ben Pfaff <blp@nicira.com>
* table: Avoid segmentation fault when printing an empty cell in JSON format.Ben Pfaff2012-01-301-1/+3
| | | | Signed-off-by: Ben Pfaff <blp@nicira.com>
* table: Free "error" in cell_to_text().Justin Pettit2011-02-231-0/+2
| | | | Coverity #10722
* table: Add new "bare" output formatting options.Ben Pfaff2011-02-081-4/+42
| | | | | | | --format=list corresponds to the output format that "ovs-vsctl list" has always used. --bare is easier for scripts to parse.
* ovsdb-client: Break table formatting into new library.Ben Pfaff2011-02-081-0/+518
This makes the table formatting functions available to other programs. ovs-vsctl will start using it soon on the "list" and "find" commands.