Commit graph

16 commits

Author SHA1 Message Date
Doug Torrance 7d77c17cc1 wmgeneral: Remove inline keywords.
Previously, if we attempted to build using C99 or later, we got "inline
function declared but never defined" warnings and eventual "undefined
reference" errors.  As a result, it fails to build from source using gcc5.

However, if we move the definitions to list.h and add "extern inline"
declarations to list.c, which does compile using C99 and later, then it no
longer compiles using gnu90, the default for gcc4.

To avoid this mess, we remove the inline keywords altogether.

Note that this fixes Debian bugs for wmifs [1], wmppp.app [2], and
wmtime [3].

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778170
[2] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778172
[3] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=778174
2015-05-20 10:44:40 +01:00
Doug Torrance dae24a2f5d wmgeneral: Free pointer.
Fixes "(error) Memory leak: argv" found by cppcheck.
2015-05-20 10:44:40 +01:00
Doug Torrance 746c4b6b7c wmgeneral: Check if malloc fails.
Fixes "(error) Uninitialized variable: ret" found by cppcheck.
2015-05-20 10:44:40 +01:00
Doug Torrance 0e0d4944ac wmppp.app: Update support email address and webpage. 2014-09-15 11:30:07 +01:00
Doug Torrance 3f3a1f86ac wmppp.app: Use build flags.
Compile with CPPFLAGS and LDFLAGS and append, rather than overwrite, CFLAGS.

This enables the Debian package to be built with hardening options.  See
https://wiki.debian.org/Hardening.
2014-09-15 11:30:07 +01:00
Doug Torrance 33d2784d26 wmppp.app: Use rm -f for make clean
This patch prevents "make clean" from failing when the source tree is already
clean.
2014-09-15 11:30:07 +01:00
Doug Torrance ae3f75c09e wmppp.app: Display speed in K when too high.
When the download speed is too high, wmppp can't display it because it has
only 5 digit. The most significant digits are hidden !

This small patch display the speed in K when it is too high.

Based on the patch by jguiton <jguiton@free.fr>.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=328699.
2014-09-15 11:30:07 +01:00
Doug Torrance e81a5eb522 wmppp.app: Stampfile handling.
This patch adds support for "stampfile" in config file, as described in
manual page.

Based on the patch by Juan Cespedes <cespedes@debian.org>.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=97509.
2014-09-15 11:30:07 +01:00
Doug Torrance b47834fe0b wmppp.app: Allow ISDN devices.
Users of ISDN dialup lines (such as me) cannot use wmppp as shipped,
because it rejects to use any device except those beginning with `ppp'.

The patch attached solves this.

Based on the patch by Juan Cespedes <cespedes@debian.org>.
See https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=97509.
2014-09-15 11:30:07 +01:00
Doug Torrance 9e02f15e59 wmppp.app: Rename system wide fixed options configuration file for consistency. 2014-09-15 11:30:06 +01:00
Doug Torrance 070bddbe13 wmppp.app: Add manpage (obtained from Debian package). 2014-09-15 11:30:06 +01:00
Doug Torrance a60b95bc13 wmppp.app: Remove trailing whitespace. 2014-09-15 11:30:06 +01:00
Doug Torrance bf86800181 wmppp.app: Remove getmodemspeed binary from source. 2014-09-15 11:30:06 +01:00
Alexey I. Froloff 792a5d290a Mass update FSF address
Signed-off-by: Alexey I. Froloff <raorn@raorn.name>
2012-06-05 20:50:13 +01:00
Alexey I. Froloff 31c2845466 Mass update GPLv2 from http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt
Signed-off-by: Alexey I. Froloff <raorn@raorn.name>
2012-06-05 20:45:40 +01:00
Carlos R. Mafra 21625f40b5 Initial dockapps git repo
I tried to get the latest versions from dockapps.org, but I haven't
tested any of them.

More dockapps will be added as time permits.
2011-03-25 19:45:13 +01:00