Commit ef139b0b authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Revert "file: rewind before read"

This reverts commit 09049343.
parent 44a7af39
......@@ -145,11 +145,7 @@ int Open( vlc_object_t *p_this )
int oldfd = strtol (path, &end, 10);
if (*end == '\0')
{
fd = dup (oldfd);
if (fd != -1)
lseek (fd, 0, SEEK_SET);
}
#ifdef HAVE_FDOPENDIR
else if (*end == '/' && end > path)
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment