[ovs-git] [openvswitch/ovs] f98476: windows: return NULL in xreadlink

GitHub noreply at github.com
Sat Apr 15 03:33:37 UTC 2017


  Branch: refs/heads/master
  Home:   https://github.com/openvswitch/ovs
  Commit: f984769f14dda3c5c567a9856a6d569bb6c1750a
      https://github.com/openvswitch/ovs/commit/f984769f14dda3c5c567a9856a6d569bb6c1750a
  Author: Alin Serdean <aserdean at cloudbasesolutions.com>
  Date:   2017-04-14 (Fri, 14 Apr 2017)

  Changed paths:
    M lib/util.c

  Log Message:
  -----------
  windows: return NULL in xreadlink

readlink does not exist on Windows.

While we could skip the function all togheter on Windows, we may add
support for it later on. For the moment return change errno to ENOENT
and return NULL.

FYI:
https://blogs.windows.com/buildingapps/2016/12/02/symlinks-windows-10/#kBeZetM7P1dorllZ.97
https://msdn.microsoft.com/en-us/library/windows/desktop/aa365680(v=vs.85).aspx

Signed-off-by: Alin Gabriel Serdean <aserdean at cloudbasesolutions.com>
Signed-off-by: Ben Pfaff <blp at ovn.org>




More information about the git mailing list