X-Git-Url: https://git.brokenzipper.com/gitweb?a=blobdiff_plain;f=src%2Frmt.h;h=da8f62963983dff62313b5b14dd0ebc0fcb6698a;hb=3495d84e27c42c0619daf43c2b546d35e3ecbba6;hp=7b3c2982b6b8870ae242207cccbd9fcd98a49e78;hpb=1521a94b11b0b7a2fe2a8318207d7d6b4bdbf76b;p=chaz%2Ftar diff --git a/src/rmt.h b/src/rmt.h index 7b3c298..da8f629 100644 --- a/src/rmt.h +++ b/src/rmt.h @@ -24,7 +24,7 @@ ssize_t rmt_write__ PARAMS ((int, char *, size_t)); off_t rmt_lseek__ PARAMS ((int, off_t, int)); int rmt_ioctl__ PARAMS ((int, int, char *)); -/* A filename is remote if it contains a colon not preceeded by a slash, +/* A filename is remote if it contains a colon not preceded by a slash, to take care of `/:/' which is a shorthand for `/...//fs' on machines running OSF's Distributing Computing Environment (DCE) and Distributed File System (DFS). However, when --force-local, a @@ -65,7 +65,7 @@ int rmt_ioctl__ PARAMS ((int, int, char *)); #define rmtread(Fd, Buffer, Length) \ (_isrmt (Fd) ? rmt_read__ (Fd - __REM_BIAS, Buffer, Length) \ - : full_read (Fd, Buffer, Length)) + : safe_read (Fd, Buffer, Length)) #define rmtwrite(Fd, Buffer, Length) \ (_isrmt (Fd) ? rmt_write__ (Fd - __REM_BIAS, Buffer, Length) \