forked from pool/vsftpd
15 lines
408 B
Diff
15 lines
408 B
Diff
Index: vsftpd-3.0.2/sysutil.c
|
|
===================================================================
|
|
--- vsftpd-3.0.2.orig/sysutil.c
|
|
+++ vsftpd-3.0.2/sysutil.c
|
|
@@ -490,7 +490,8 @@ vsf_sysutil_lseek_end(const int fd)
|
|
{
|
|
filesize_t retval;
|
|
retval = lseek(fd, 0, SEEK_END);
|
|
- if (retval < 0)
|
|
+ /* Ignore ESPIPE to allow append to fifos */
|
|
+ if (retval < 0 && errno != ESPIPE)
|
|
{
|
|
die("lseek");
|
|
}
|