Skip to content

Commit

Permalink
also track newer CIFS
Browse files Browse the repository at this point in the history
(cherry picked from commit 375b390)
  • Loading branch information
jef-n committed Nov 18, 2019
1 parent d88023f commit 90af8f4
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/providers/ogr/qgsogrprovider.cpp
Expand Up @@ -3760,7 +3760,8 @@ static bool IsLocalFile( const QString &path )
// Codes from http://man7.org/linux/man-pages/man2/statfs.2.html
if ( sStatFS.f_type == 0x6969 /* NFS */ ||
sStatFS.f_type == 0x517b /* SMB */ ||
sStatFS.f_type == 0xff534d42 /* CIFS */ )
sStatFS.f_type == 0xff534d42 /* CIFS */ ||
sStatFS.f_type == 0xfe534d42 /* CIFS */ )
{
return false;
}
Expand Down

0 comments on commit 90af8f4

Please sign in to comment.