Joe Perches
d295e8e97a
treewide: Remove trailing whitespace
...
Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Simon Horman <horms@verge.net.au>
Signed-off-by: Jesse Gross <jesse@nicira.com>
2010-08-30 13:23:08 -07:00
Ben Pfaff
e2c1a82010
util: Make ovs_fatal() understand EOF also.
...
ovs_error() interprets EOF as "end of file" when printing an error message,
so ovs_fatal() might as well.
2010-08-12 15:45:50 -07:00
Ben Pfaff
5136ce492c
vlog: Introduce VLOG_DEFINE_THIS_MODULE for declaring vlog module in use.
...
Adding a macro to define the vlog module in use adds a level of
indirection, which makes it easier to change how the vlog module must be
defined. A followup commit needs to do that, so getting these widespread
changes out of the way first should make that commit easier to review.
2010-07-21 15:47:09 -07:00
Ben Pfaff
daf03c53ee
util: New functions get_cwd(), abs_file_name().
...
These will be used further in an upcoming commit.
2010-03-18 11:23:50 -07:00
Ben Pfaff
c69ee87c10
Merge "master" into "next".
...
The main change here is the need to update all of the uses of UNUSED in
the next branch to OVS_UNUSED as it is now spelled on "master".
2010-02-11 11:11:23 -08:00
Justin Pettit
18b9283b98
Clean-up compiler warnings about ignoring return values
...
Some systems complain when certain functions' return values are not
checked. This commit fixes those warnings.
Creating ignore() function suggested by Ben Pfaff.
2009-12-15 00:14:32 -08:00
Ben Pfaff
29d4af6016
New dir_name() function plus tests.
2009-11-04 15:24:40 -08:00
Ben Pfaff
0fec26b00b
util: Make ovs_error() understand that EOF means "end of file".
...
This convention is in use in a few places in the source tree, and so it
seems to be about time to start putting it into central places.
2009-11-04 15:24:40 -08:00
Ben Pfaff
f38b84ea2b
Implement JSON parsing and serialization.
...
This will be used by the upcoming Open vSwitch configuration database.
2009-11-04 15:24:40 -08:00
Ben Pfaff
ec6fde61c8
Add new function xzalloc(n) as a shorthand for xcalloc(1, n).
2009-11-04 14:52:32 -08:00
Ben Pfaff
a14bc59fb8
Update primary code license to Apache 2.0.
2009-06-15 15:11:30 -07:00
Ben Pfaff
064af42167
Import from old repository commit 61ef2b42a9c4ba8e1600f15bb0236765edc2ad45.
2009-07-08 13:19:16 -07:00