Commit 6b753e89 authored by Christoph Berg's avatar Christoph Berg

Import Upstream version 0.9.27

parent c649f580
#! /bin/sh #! /bin/sh
# Guess values for system-dependent variables and create Makefiles. # Guess values for system-dependent variables and create Makefiles.
# Generated by GNU Autoconf 2.59 for src 0.9.25. # Generated by GNU Autoconf 2.59 for src 0.9.27.
# #
# Report bugs to <rein@couperus.com>. # Report bugs to <rein@couperus.com>.
# #
...@@ -269,8 +269,8 @@ SHELL=${CONFIG_SHELL-/bin/sh} ...@@ -269,8 +269,8 @@ SHELL=${CONFIG_SHELL-/bin/sh}
# Identity of this package. # Identity of this package.
PACKAGE_NAME='src' PACKAGE_NAME='src'
PACKAGE_TARNAME='src' PACKAGE_TARNAME='src'
PACKAGE_VERSION='0.9.25' PACKAGE_VERSION='0.9.27'
PACKAGE_STRING='src 0.9.25' PACKAGE_STRING='src 0.9.27'
PACKAGE_BUGREPORT='rein@couperus.com' PACKAGE_BUGREPORT='rein@couperus.com'
# Factoring default headers for most tests. # Factoring default headers for most tests.
...@@ -779,7 +779,7 @@ if test "$ac_init_help" = "long"; then ...@@ -779,7 +779,7 @@ if test "$ac_init_help" = "long"; then
# Omit some internal or obsolete options to make the list less imposing. # Omit some internal or obsolete options to make the list less imposing.
# This message is too long to be a string in the A/UX 3.1 sh. # This message is too long to be a string in the A/UX 3.1 sh.
cat <<_ACEOF cat <<_ACEOF
\`configure' configures src 0.9.25 to adapt to many kinds of systems. \`configure' configures src 0.9.27 to adapt to many kinds of systems.
Usage: $0 [OPTION]... [VAR=VALUE]... Usage: $0 [OPTION]... [VAR=VALUE]...
...@@ -845,7 +845,7 @@ fi ...@@ -845,7 +845,7 @@ fi
if test -n "$ac_init_help"; then if test -n "$ac_init_help"; then
case $ac_init_help in case $ac_init_help in
short | recursive ) echo "Configuration of src 0.9.25:";; short | recursive ) echo "Configuration of src 0.9.27:";;
esac esac
cat <<\_ACEOF cat <<\_ACEOF
...@@ -964,7 +964,7 @@ fi ...@@ -964,7 +964,7 @@ fi
test -n "$ac_init_help" && exit 0 test -n "$ac_init_help" && exit 0
if $ac_init_version; then if $ac_init_version; then
cat <<\_ACEOF cat <<\_ACEOF
src configure 0.9.25 src configure 0.9.27
generated by GNU Autoconf 2.59 generated by GNU Autoconf 2.59
Copyright (C) 2003 Free Software Foundation, Inc. Copyright (C) 2003 Free Software Foundation, Inc.
...@@ -978,7 +978,7 @@ cat >&5 <<_ACEOF ...@@ -978,7 +978,7 @@ cat >&5 <<_ACEOF
This file contains any messages produced by compilers while This file contains any messages produced by compilers while
running configure, to aid debugging if configure makes a mistake. running configure, to aid debugging if configure makes a mistake.
It was created by src $as_me 0.9.25, which was It was created by src $as_me 0.9.27, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.59. Invocation command line was
$ $0 $@ $ $0 $@
...@@ -1621,7 +1621,7 @@ fi ...@@ -1621,7 +1621,7 @@ fi
# Define the identity of the package. # Define the identity of the package.
PACKAGE=tlf PACKAGE=tlf
VERSION=0.9.25 VERSION=0.9.27
cat >>confdefs.h <<_ACEOF cat >>confdefs.h <<_ACEOF
...@@ -5500,7 +5500,7 @@ _ASBOX ...@@ -5500,7 +5500,7 @@ _ASBOX
} >&5 } >&5
cat >&5 <<_CSEOF cat >&5 <<_CSEOF
This file was extended by src $as_me 0.9.25, which was This file was extended by src $as_me 0.9.27, which was
generated by GNU Autoconf 2.59. Invocation command line was generated by GNU Autoconf 2.59. Invocation command line was
CONFIG_FILES = $CONFIG_FILES CONFIG_FILES = $CONFIG_FILES
...@@ -5563,7 +5563,7 @@ _ACEOF ...@@ -5563,7 +5563,7 @@ _ACEOF
cat >>$CONFIG_STATUS <<_ACEOF cat >>$CONFIG_STATUS <<_ACEOF
ac_cs_version="\\ ac_cs_version="\\
src config.status 0.9.25 src config.status 0.9.27
configured by $0, generated by GNU Autoconf 2.59, configured by $0, generated by GNU Autoconf 2.59,
with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\" with options \\"`echo "$ac_configure_args" | sed 's/[\\""\`\$]/\\\\&/g'`\\"
......
# Process this file with autoconf to produce a configure script. # Process this file with autoconf to produce a configure script.
AC_INIT(src, 0.9.25, rein@couperus.com) AC_INIT(src, 0.9.27, rein@couperus.com)
AM_INIT_AUTOMAKE(tlf, 0.9.25) AM_INIT_AUTOMAKE(tlf, 0.9.27)
AM_CONFIG_HEADER(config.h) AM_CONFIG_HEADER(config.h)
# Checks for programs. # Checks for programs.
......
tlf-0.9.26
==========
Bug fix (segfault using the voice keyer).
tlf-0.9.25 tlf-0.9.25
========== ==========
......
...@@ -1273,7 +1273,7 @@ extern int txdelay; ...@@ -1273,7 +1273,7 @@ extern int txdelay;
extern char sc_device[]; extern char sc_device[];
int fd; int fd;
char playcommand[40]; char playcommand[120];
if (strlen(audiofile) == 0) if (strlen(audiofile) == 0)
return(0); return(0);
......
...@@ -406,7 +406,7 @@ extern int change_rst; ...@@ -406,7 +406,7 @@ extern int change_rst;
char *tk_ptr; char *tk_ptr;
for (ii = 0; ii <= MAX_COMMANDS; ii++) { for (ii = 0; ii < MAX_COMMANDS; ii++) {
teststring[0] = '\0'; teststring[0] = '\0';
strncat(teststring, commands[ii], 79); strncat(teststring, commands[ii], 79);
......
...@@ -76,8 +76,9 @@ ...@@ -76,8 +76,9 @@
while ( !feof(fp_db)) while ( !feof(fp_db))
{ {
// fgets (buf, 180, fp_db); ### bug fix if (fgets (buf, sizeof(buf), fp_db) == NULL) {
fgets (buf, sizeof(buf), fp_db); break;
}
if (buf[0] == '\n') continue; if (buf[0] == '\n') continue;
...@@ -88,6 +89,7 @@ ...@@ -88,6 +89,7 @@
else // prefix line else // prefix line
{ {
strncpy(buffer, buf, 79); strncpy(buffer, buf, 79);
buffer[79] = 0;
char *loc = NULL; //PG4I, 26Jul2005 char *loc = NULL; //PG4I, 26Jul2005
if ((loc = strchr(buffer, '\r'))) if ((loc = strchr(buffer, '\r')))
...@@ -104,6 +106,9 @@ ...@@ -104,6 +106,9 @@
buffer[i] = '\0'; buffer[i] = '\0';
} }
if (j < 4)
continue;
j = 4; j = 4;
while (strcmp(buffer+j , "") != 0) while (strcmp(buffer+j , "") != 0)
......
...@@ -38,9 +38,12 @@ int stoptx(void){ ...@@ -38,9 +38,12 @@ int stoptx(void){
char speedbuf[3] = " "; char speedbuf[3] = " ";
int retval; int retval;
if (trxmode != CWMODE) //mvprintf (22, 0, "trxmode=%d\n", trxmode);
if (trxmode != CWMODE){
return(1); return(1);
}
if (keyerport == COM1_KEYER) { if (keyerport == COM1_KEYER) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment