Re: [DNG] Pointer error in the backend of Netman

2015-12-06 Thread Edward Bartolo
Hi Aitor, This is my latest edit of the code so that memory allocations are done when needed instead of the iteration just before more memory is required. The edited code: if (z == 1) active_wifi_list = calloc(10, sizeof(void*)); else if ((z

Re: [DNG] devuan ascii: libdbus-1-3 problems - FIXED

2015-12-06 Thread Dave Turner
Mitt, Thanks for that! I added it into sources.list and now have a working system that just needs the final fettling doing to be back to how it was. I had seen references to angband.pl on here but hadn't realised how essential it now is if you want a working desktop! DaveT using debian jess

Re: [DNG] Pointer error in the backend of Netman

2015-12-06 Thread aitor_czr
Hi Edward, I will try it later, thanks :) Aitor. On 12/06/2015 01:10 PM, Edward Bartolo wrote: Hi Aitor, I edited the code as follows: if (z == 1) active_wifi_list = calloc(10, sizeof(void*)); else if (z % 20 == 0)

Re: [DNG] upower in devuan

2015-12-06 Thread Dima Krasner
On Sun, 06 Dec 2015 14:52:10 +0200 wrote > On Sun, 06 Dec 2015 10:46:28 +0200 Jaromil wrote > > >the early efforts of Dimkr went in this direction, but I'm not sure > >how 'loginkitd' is usable today. > > It's unusable. However, fixing upower by reverting changes sho

Re: [DNG] Pointer error in the backend of Netman

2015-12-06 Thread Edward Bartolo
Hi Aitor, I edited the code as follows: if (z == 1) active_wifi_list = calloc(10, sizeof(void*)); else if (z % 20 == 0) active_wifi_list = realloc(active_wifis, ((z/2) + 10)*sizeof(void*)); Please, if you can run th

Re: [DNG] Pointer error in the backend of Netman

2015-12-06 Thread Edward Bartolo
Hi Aitor, Nevermind, I confirmed it is the same line we are talking about. I will investigate the source and reply back. Edward On 06/12/2015, Edward Bartolo wrote: > Hi Aitor, > > Could you attach the source file so that I would be able to make sure > we are talking about the same version? > >

Re: [DNG] Pointer error in the backend of Netman

2015-12-06 Thread Edward Bartolo
Hi Aitor, Could you attach the source file so that I would be able to make sure we are talking about the same version? Edward On 06/12/2015, Edward Bartolo wrote: > Hi Aitor, > > Is your list of neighbouring active wifi points larger than 9 or 10? > If that is the case, we may have hit an untes

Re: [DNG] Pointer error in the backend of Netman

2015-12-06 Thread Edward Bartolo
Hi Aitor, Is your list of neighbouring active wifi points larger than 9 or 10? If that is the case, we may have hit an untested code path. I will review the code and post back. Edward On 06/12/2015, aitor_czr wrote: > Hi all, > > In the case of an automatically attempt to connect with netman, i

Re: [DNG] gcc error: "error: unknown type name,,,, ‘GtkObject’"

2015-12-06 Thread Edward Bartolo
Hi Aitor, Aitor Asked: "The button tagged as <"More information"> in the GUI of Netman shows the textual output of: $ sudo iwlist wlan0 scan". Yes. Edward On 06/12/2015, aitor_czr wrote: > This is: > > $ ./backend 8 > > Aitor. > > On 12/06/2015 09:26 AM, aitor_czr wrote: >> The button tagged

[DNG] Pointer error in the backend of Netman

2015-12-06 Thread aitor_czr
Hi all, In the case of an automatically attempt to connect with netman, i get the following error: $ ./backend 10 *** Error in `./backend': realloc(): invalid pointer: 0x7ffc3deb55f4 *** Aborted I believe there is an uncontrolled pointer somewhere... IMHO (:-) ) the line 238 of ''automat

Re: [DNG] gcc error: "error: unknown type name,,,, ‘GtkObject’"

2015-12-06 Thread aitor_czr
This is: $ ./backend 8 Aitor. On 12/06/2015 09:26 AM, aitor_czr wrote: The button tagged as <"More information"> in the GUI of Netman shows the textual output of: $ sudo iwlist wlan0 scan [sudo] password for aitor: wlan0 Scan completed : Cell 01 - Address: 5A:23:8C:7F:C5:51

Re: [DNG] upower in devuan

2015-12-06 Thread Jaromil
On 2 December 2015 11:28:15 CET, Daniel Reurich wrote: >I can confirm this is the case: >http://lists.freedesktop.org/archives/devkit-devel/2013-October/001519.html >> >> It may be better to split out that functionality into a separate >package >> then try and maintain the old upower - especia

Re: [DNG] gcc error: "error: unknown type name,,,, ‘GtkObject’"

2015-12-06 Thread aitor_czr
Thanks Edward, now i understand: $./backend 2 Euskaltel-58AY wpa-ssid Euskaltel-58YA wpa-psk "_the_saved_password_" $./backend 6 ESSID:"_EUSKALTELWIFI_KALEAN" ESSID:"Euskaltel-jzhA" ESSID:"TP-LINK_8F0F96" ESSID:"vodafoneE4A5" ESSID:"_EUSKALTELWIFI_KALEAN" ESSID:"_