* errno.cc (errmap): Add ERROR_TOO_MANY_LINKS -> EMLINK mapping.

* syscalls.cc (link): Only copy files if FS doesn't support hard links.
This commit is contained in:
Corinna Vinschen
2004-08-03 14:37:26 +00:00
parent 8c97671600
commit 3410b5be3e
3 changed files with 44 additions and 3 deletions

View File

@@ -120,6 +120,7 @@ static NO_COPY struct
X (DEVICE_REQUIRES_CLEANING, EIO),
X (DEVICE_DOOR_OPEN, EIO),
X (IO_PENDING, EAGAIN),
X (TOO_MANY_LINKS, EMLINK),
{ 0, NULL, 0}
};