Gurucharan Shetty
315ea327a6
util: Pre-allocate buffer for ovs_lasterror_to_string().
...
This lets us call ovs_lasterror_to_string() and not having
to do an extra call of LocalFree() on the returned string.
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com >
Acked-by: Ben Pfaff <blp@nicira.com >
2014-02-14 08:46:05 -08:00
Gurucharan Shetty
06f14c92f6
util: A generic function to convert error to string for windows.
...
More users will be added in an upcoming commit.
Signed-off-by: Gurucharan Shetty <gshetty@nicira.com >
Acked-by: Ben Pfaff <blp@nicira.com >
2014-01-28 13:08:13 -08:00
Alin Serdean
5d386c0613
entropy: Add Windows support.
...
Signed-off-by: Alin Serdean <aserdean at cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp@nicira.com >
2013-12-19 09:20:33 -08:00
Ben Pfaff
10a89ef04d
Replace all uses of strerror() by ovs_strerror(), for thread safety.
...
Signed-off-by: Ben Pfaff <blp@nicira.com >
2013-06-28 16:09:38 -07:00
Raju Subramanian
e0edde6fee
Global replace of Nicira Networks.
...
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 >
2012-05-02 17:08:02 -07:00
Ben Pfaff
279c9e0308
Log anything that could prevent a daemon from starting.
...
If a daemon doesn't start, we need to know why. Being able to
consistently consult the log to find out is helpful.
2011-04-04 10:58:55 -07:00
Ben Pfaff
fe1e967e3b
Add a few more users for ovs_retval_to_string().
2011-04-04 10:58:54 -07:00
Ben Pfaff
d98e600755
vlog: Make client supply semicolon for VLOG_DEFINE_THIS_MODULE.
...
It's kind of odd for VLOG_DEFINE_THIS_MODULE to supply its own semicolon,
so this commit switches to the more common form.
2010-10-29 09:48:47 -07:00
Ben Pfaff
e251c8d005
uuid: Break code to read /dev/urandom into a new module.
...
This code is useful for seeding other random number generators, so we might
as well make it a separate source file.
2010-08-12 15:47:25 -07:00