Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

invalid control request in BS2000 due to bad result of toCTRL() #1536

Closed
p5pRT opened this issue Mar 28, 2000 · 1 comment
Closed

invalid control request in BS2000 due to bad result of toCTRL() #1536

p5pRT opened this issue Mar 28, 2000 · 1 comment

Comments

@p5pRT
Copy link

p5pRT commented Mar 28, 2000

Migrated from rt.perl.org#2753 (status was 'resolved')

Searchable as RT2753$

@p5pRT
Copy link
Author

p5pRT commented Mar 28, 2000

From ignasi.roca@fujitsu.siemens.es

In the POSIX-BC of the BS2000 machine to "toCTRL()" has an unexpected result
with the sentence​:
*d = toCTRL(*d);

To avoid it here is a path​:

============================================================================

*** toke.c Tue Mar 28 12​:45​:40 2000
--- toke.c.orig Sat Feb 26 06​:24​:50 2000
***************
*** 1503,1510 ****
  *d = *s++;
  if (isLOWER(*d))
  *d = toUPPER(*d);
! *d = toCTRL(*d);
! *d++;
  #else
  len = *s++;
  *d++ = toCTRL(len);
--- 1503,1509 ----
  *d = *s++;
  if (isLOWER(*d))
  *d = toUPPER(*d);
! *d++ = toCTRL(*d);
  #else
  len = *s++;
  *d++ = toCTRL(len);

==

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant