Go to file
Doug Torrance 3bd48a06c5 wmifs: Add BUFFER_SIZE constant.
Patch by Stephen Pitts <smpitts@midsouth.rr.com>.  First appeared in Debian
package version 1.3b1-4.

From https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=41746:

wmifs started crashing on startup on my system,
so I grabbed the source, added -g to the
Makefile, and ran it through gdb.
(Wow, the wonders of Open Source!!).

I found out that it has the hard-coded assumption
that a line in  /proc/net/dev will be no longer
than 128 bytes. Since my ethernet card has over
1 GB in traffic , my eth0 line was 129 bytes long.
I added a new constant, BUFFER_SIZE, that
determines the size of the buffer used for fgets.

Right now, its at 512 bytes, so that gives it
a large margin of error, until we have petabyte
Ethernet! The patch is attached.
2014-10-23 08:03:31 +01:00
AlsaMixer.app Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
Temperature.app Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmacpi Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmacpiload Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmauda Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmbatteries Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmbattery wmbattery: Bump to version 2.45. 2014-10-05 19:18:50 +01:00
wmbiff Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmbutton Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmCalClock Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmcalendar Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmckgmail Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmcpuload Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmfemon Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmfu Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmifinfo Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmifs wmifs: Add BUFFER_SIZE constant. 2014-10-23 08:03:31 +01:00
wmitime Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmix Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmkeys Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmMatrix Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmmemload wmmemload: Release version 0.1.7. 2014-10-10 10:09:53 +01:00
wmmixer Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmmixer-alsa wmmixer-alsa: Add to repository. 2014-08-06 13:23:10 -06:00
wmmon Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmmoonclock Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmnet Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmnotify Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmpager Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmpower Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmppp.app wmppp.app: Update support email address and webpage. 2014-09-15 11:30:07 +01:00
wmsm.app Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmsmixer Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmSMPmon Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmstickynotes Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmsupermon Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmtime Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmtv Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmtz Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmWeather Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmweather+ Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmwifi Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
wmwlmon Remove trailing whitespace. 2014-10-05 19:18:49 +01:00
dockapps.db.in wmmemload: Add to webpage database. 2014-10-04 10:37:02 +01:00
update-dockapps.pl update-dockapps.pl: Avoid ambiguous argument error. 2014-09-21 23:03:59 +01:00