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
Stéphane Fillod, F8CFE
23369a0c25
* abstract 64bit int format type to cope with portability issues.
...
introduce PRIll (printf format) and SCNll (scanf) in misc.h.
This needs to have config.h included beforehand.
* do likewise with freq_t type (double) in rig.h
FREQFMT is deprecated.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1903 7ae35d74-ebe9-4afe-98af-79ac388436b8
2005-01-24 23:04:35 +00:00
Stéphane Fillod, F8CFE
215494cb63
FREQFMT fixes
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1865 7ae35d74-ebe9-4afe-98af-79ac388436b8
2004-11-08 22:05:27 +00:00
Stéphane Fillod, F8CFE
8033d100b4
misc
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@1064 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-06-17 20:59:51 +00:00
Stéphane Fillod, F8CFE
2fd1486135
added a private data pointer argument to event callbacks
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@977 7ae35d74-ebe9-4afe-98af-79ac388436b8
2002-02-27 23:25:42 +00:00
Stéphane Fillod, F8CFE
99915b6c57
misc sscanf format fix
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@786 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-20 22:59:09 +00:00
Stéphane Fillod, F8CFE
170644f6e5
removed useless vfo arg to set_trn/get_trn funcs
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@780 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-12-20 07:46:13 +00:00
Stéphane Fillod, F8CFE
ba1fac643c
minor cleanups
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@657 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-09-20 21:21:14 +00:00
Stéphane Fillod, F8CFE
bdfe0b969a
'path' field renamed in port_t
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@608 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-07-25 21:59:55 +00:00
Stéphane Fillod, F8CFE
c1cb77c643
new automatic backend loading and sparse rig_model scheme
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@529 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-04 21:17:53 +00:00
Stéphane Fillod, F8CFE
da19dd9a47
new port_t design
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@523 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-06-04 17:01:21 +00:00
Stéphane Fillod, F8CFE
799b18dd8b
* misc define renamed
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@440 7ae35d74-ebe9-4afe-98af-79ac388436b8
2001-03-04 13:06:36 +00:00
Stéphane Fillod, F8CFE
748d949556
* updates since the new API now requires a target VFO to be specified.
...
Mainly, RIG_VFO_CURR is used, which should ensure the same behaviour
of the tests programs as before.
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@286 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-12-05 22:04:44 +00:00
Stéphane Fillod, F8CFE
38181c9784
Initial release
...
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@184 7ae35d74-ebe9-4afe-98af-79ac388436b8
2000-10-08 21:20:44 +00:00