From Bugzilla Helper:
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.10) Gecko/20050716 Firefox/1.0.6
Description of problem:
kermit bombs when trying to open ssh. After further analysis, the problem comes up because there is no prototype for ptsname(). It should be included from <stdlib.h> but isn't because _XOPEN_SOURCE isn't #defined. I'm not sure of the cleanest way to patch this because -D_XOPEN_SOURCE breaks some of the other source when you define it globally. Another alternative is to make it use ttyname() instead of ptsname() but I'm not sure how to weave the #defines to make that happen.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. run kermit
2. ssh to localhost
3. wait for smoking ruin
Actual Results: segmentation fault
Expected Results: successful ssh connection
Created attachment 117266 [details]
I suggest to use openpty library. see #156417
FC4 update(ckermit-8.0.211-2.FC4) comming soon.