Commit Graph

11 Commits

Author SHA1 Message Date
Nate Bargmann
b692fb22ef Formatted tests/ to final coding guidelines 2017-10-06 18:58:42 -05:00
Nate Bargmann
d489b8bcb5 Apply formatting to 'tests/' directory
Format per style guide.
2017-08-10 05:46:12 -05:00
Nate Bargmann
1229a0a42a Assure NULL terminated strings in tests programs.
Various strncpy operations could result in a port pathname that is not a
NULL terminated string as the allowed string length is the same size as
the buffer per the strncpy manual page.  This is corrected by assuring
that the allowed length is FILPATHLEN - 1.
2012-01-07 20:36:50 -06:00
Nate Bargmann
0882cd696d Update GPL/LGPL header in tests source files.
TNX to Lucian Laga, YO6PLB, for the notification.
2011-08-22 21:38:37 -05:00
Kamal Mostafa, KA6MAL
cf276991f2 Fix segfault on improper -C syntax
Avoid null pointer segfault when -C param is specified with no '=' e.g.
"rigctl -C foo".

Thanks to Charles Suprin <hamaa1vs@gmail.com> for the report.



git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@3058 7ae35d74-ebe9-4afe-98af-79ac388436b8
2011-02-21 19:32:00 +00:00
Stéphane Fillod, F8CFE
eaf810ea3a check for memory support
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2724 7ae35d74-ebe9-4afe-98af-79ac388436b8
2009-09-14 07:27:58 +00:00
Stéphane Fillod, F8CFE
50a5c7fb0b make CSV separator a parameter
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2027 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-20 14:47:56 +00:00
Stéphane Fillod, F8CFE
2f9eece340 make xml in option usage conditional
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@2024 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-04-20 13:33:18 +00:00
Stéphane Fillod, F8CFE
cccf1318ce second pass at getting rid of "ll" immediate literal format (64bit int)
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1904 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-01-25 00:22:14 +00:00
Stéphane Fillod, F8CFE
66360b4f14 Prefixed misc str* and parse_* calls with rig_ to export them in rig.h
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1738 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-05-17 21:09:45 +00:00
Stéphane Fillod, F8CFE
1c21ccee24 Initial release
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1621 7ae35d74-ebe9-4afe-98af-79ac388436b8
2003-12-04 23:15:02 +00:00