URL:
  <https://savannah.gnu.org/bugs/?67607>

                 Summary: Unable to type in GNU Screen on big-endian systems
after w_inlen/p_inlen changes from int to size_t
                   Group: GNU Screen
               Submitter: psumbera
               Submitted: Wed 15 Oct 2025 10:40:12 AM UTC
                Category: Program Logic
                Severity: 3 - Normal
                Priority: 5 - Normal
                  Status: None
                 Privacy: Public
             Assigned to: None
             Open/Closed: Open
         Discussion Lock: Any
                 Release: None
           Fixed Release: None
         Planned Release: None
           Work Required: None


    _______________________________________________________

Follow-up Comments:


-------------------------------------------------------
Date: Wed 15 Oct 2025 10:40:12 AM UTC By: Petr Sumbera <psumbera>
On big-endian systems (tested on SPARC/Solaris), GNU Screen sessions doesn't
accept input in the window after commit:

https://cgit.git.savannah.gnu.org/cgit/screen.git/commit/?id=fd608ec035406adad99fc5ed715248e5a0b72147


After buffer length variables were converted from int to size_t, various
pointers, such as (int *)&w->w_inlen, are passed as event fields
condpos/condneg, which are still typed as int *. This is not portable.

For now I was able to revert the change with attached patch file.






    _______________________________________________________
File Attachments:

revert of problematic commit

Name: window_sparc.patch             Size: 5KiB
    <https://file.savannah.gnu.org/file/window_sparc.patch?file_id=57721>



    AGPL NOTICE

These attachments are served by Savane. You can download the corresponding
source code of Savane at
https://savannah.gnu.org/source/savane-e64e7f8b5f4439d66c63221d14cc878bd5a16453.tar.gz

    _______________________________________________________

Reply to this item at:

  <https://savannah.gnu.org/bugs/?67607>

_______________________________________________
Message sent via Savannah
https://savannah.gnu.org/

Attachment: signature.asc
Description: PGP signature

Reply via email to