bugGNU Screen - Bugs: bug #45751, sparc-sun-solaris2.9: Fix...

 
 

bug #45751: sparc-sun-solaris2.9: Fix "Bad tty": Use older POSIX realpath(name, buf) instead of NULL, accept /devices

Submitter:  Marcin Cieślak <saper>
Submitted:  Thu 13 Aug 2015 10:42:02 PM UTC
   
 
Category:  None Severity:  3 - Normal
Priority:  * 5 - Normal Status:  Fixed
Privacy:  Public Assigned to:  None
Open/Closed:  Closed Release:  4.3.1
Fixed Release:  4.4.0 Planned Release:  4.3.2
Work Required:  None
* Mandatory Fields

Add a New Comment Rich Markup
   

Sat 14 May 2016 02:17:15 PM UTC, comment #2: 

Note that this patch also fixes an Abort Trap on Mac OS X 10.5 (Darwin 9) for screen 4.3.1.
https://trac.macports.org/ticket/51395

Steven Bytnar <sbytnar>
Sat 05 Sep 2015 12:53:50 PM UTC, comment #1: 

Thanks for patch, applied to screen-v4 and master

Amadeusz Sławiński <amade>
Group administrator
Thu 13 Aug 2015 10:42:02 PM UTC, original submission:  

Solaris 2.9 does not a second NULL argument:

http://pubs.opengroup.org/onlinepubs/9699919799/functions/realpath.html

Attached patch fixes it by allocating a local buffer.

Also account for the possibility that /dev entries
are symlinked into /devices on Solaris:

    ls -lF `tty`
    lrwxrwxrwx   1 root     root          28 gru 19  2011 /dev/pts/8 -> ../../devices/pseudo/pts@0:8

Marcin Cieślak <saper>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

Attach Files:
   
   
Comment:
   

Attached Files
file #34640:  0001-Use-realpath-name-buf-for-Solaris.patch added by saper (1KiB - text/x-patch - Simplistic patch to use older realpath())

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -email is unavailable- added by sbytnar (Posted a comment)
  • -email is unavailable- added by amade (Posted a comment)
  • -email is unavailable- added by saper (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

    Only logged-in users can vote.

     

    Follow 6 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2016-06-19 amade Open/ClosedOpen Closed
        Fixed ReleaseNone 4.4.0
    2015-09-05 amade StatusNone Fixed
        ReleaseNone 4.3.1
        Planned Release4.3.1 4.3.2
    2015-08-13 saper Attached File- Added 0001-Use-realpath-name-buf-for-Solaris.patch, #34640

    Back to the top

    Powered by Savane 3.13-758e.
    Corresponding source code