On Tue, Apr 22, 2014 at 01:40:55PM -0700, Gurucharan Shetty wrote:
> > Should OVS chdir to the root (on all drives?) on Windows
> > also?
> Looks like chdir("/") on windows takes me to C:/ . So doing that on
> windows should be good. I will re-spin this.
OK.
If Windows works like it used to, there's an independent notion of the
current working directory on every drive, so one would have to do
something like:
char c;
for (c = 'a'; c <= 'z'; c++) {
char dir[] = {c, ':', '/', 0};
chdir(dir);
}
to really chdir to the root everywhere. But I do not know whether it
matters.
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev