Comment 6 for bug 817187

Revision history for this message
Andy Whitcroft (apw) wrote :

A quick review of other syscalls reacting to "" as a pathname tend to now place readlink as an inconsistant outsider:

  open("", O_RDONLY) = -1 ENOENT (No such file or directory)
  chmod("", 0777) = -1 ENOENT (No such file or directory)
  readlink("", 0x7fff794533c0, 2048) = -1 EINVAL (Invalid argument)
  stat("", 0x7fff79453330) = -1 ENOENT (No such file or directory)
  rename("", "") = -1 ENOENT (No such file or directory)
  unlink("") = -1 ENOENT (No such file or directory)