http://gambaswiki.org/bugtracker/edit?object=BUG.1074&from=L21haW4-
Federico ALLEGRETTI reported a new bug.
Summary
-------
Rdir failed to scan remote directories
Type : Bug
Priority : Medium
Gambas version : 3.9
Product : Language
Description
-----------
updating Gambas from 3.8.4 (original Ubuntu repositories) to gambas 3.9.2
(gambas team repository), Rdir lost the ability to scan remote mounted folders
This code:
Public Sub Form_Open()
Dim oggetto As String
For Each oggetto In RDir("/mnt/Stranamore/Dischi Stranamore 2007", "*.mp3")
TextArea1.Text = oggetto & gb.CrLf & TextArea1.Text
Next
End
works with Gambas 3.8.4, but no file was returned with gambas 3.9.2
this code (local folder):
Public Sub Form_Open()
Dim oggetto As String
For Each oggetto In RDir(user.home, "*.mp3")
TextArea1.Text = oggetto & gb.CrLf & TextArea1.Text
Next
End
works on both the enviroments.
System information
------------------
v1p3r@linuxbox:~$ uname -a
Linux linuxbox 4.4.0-59-generic #80-Ubuntu SMP Fri Jan 6 17:47:47 UTC 2017
x86_64 x86_64 x86_64 GNU/Linux
v1p3r@linuxbox:~$ lsb_release -a
LSB Version:
core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 16.04.1 LTS
Release: 16.04
Codename: xenial
v1p3r@linuxbox:~$ cat
/etc/apt/sources.list.d/gambas-team-ubuntu-gambas3-xenial.list
deb http://ppa.launchpad.net/gambas-team/gambas3/ubuntu xenial main
# deb-src http://ppa.launchpad.net/gambas-team/gambas3/ubuntu xenial main
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, SlashDot.org! http://sdm.link/slashdot
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user