Menu

#1 plmcat plmsend and plmtty loop

open
nobody
None
5
2010-06-20
2010-06-20
busywait
No

while (0 < (c = getopt(argc,argv,options))) in plmcat.c, plmsend.c and plmtty.c loops forever in my Linux installation, where 'c' ended up with the value 255.
Fixed with:
int rc;
while (0 < (rc = getopt(argc,argv,options))) {
c = (char) rc;

Discussion


Log in to post a comment.

Auth0 Logo