diff -u -r gnokii-0.3.4/RELEASE_NOTES gnokii-0.3.5/RELEASE_NOTES --- gnokii-0.3.4/RELEASE_NOTES Wed Feb 13 23:13:22 2002 +++ gnokii-0.3.5/RELEASE_NOTES Thu Apr 11 00:46:44 2002 @@ -4,6 +4,13 @@ released under the GPL. +GNOKII 0.3.5 + +This version corrects the datacall problem introduced in 0.3.4. This version +is only released because there is no stable version from the next gnokii +series (0.4). + + GNOKII 0.3.4 This version fixes the security bug in mgnokiidev found by BORBELY Zoltan. diff -u -r gnokii-0.3.4/common/data/virtmodem.c gnokii-0.3.5/common/data/virtmodem.c --- gnokii-0.3.4/common/data/virtmodem.c Wed Feb 13 23:13:21 2002 +++ gnokii-0.3.5/common/data/virtmodem.c Thu Apr 11 00:49:17 2002 @@ -262,6 +262,18 @@ fd = -1; } close(sockfd[0]); + +#ifdef USE_UNIX98PTYS + /* + * I don't know why but it's required to operate correctly. + * bozo -- tested on: Linux 2.4.17 + */ + if (unlockpt(fd)) { + close(fd); + return -1; + } +#endif + return(fd); }