fanf: (Default)
[personal profile] fanf

What happens if you try to create a symlink to a zero-length target, as in ln -s "" foo?

Linux: ENOENT.

Mac OS X 10.4: EINVAL.

FreeBSD: works, and any attempt to resolve the symlink returns ENOENT.

Solaris: works, and the resulting symlink behaves the same as ln -s . foo

Date: 2008-09-15 15:55 (UTC)
From: [identity profile] filecoreinuse.livejournal.com
Does POSIX have a view on this?

July 2025

S M T W T F S
  1 2345
6789101112
13141516171819
20212223242526
2728293031  

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated 2025-07-27 13:08
Powered by Dreamwidth Studios