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

Submitted by:  Marcin Cieślak <saper>
Submitted on:  Thu 13 Aug 2015 10:42:02 PM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: 4.3.1
Fixed Release: 4.4.0Planned Release: 4.3.2
Work Required: None

Add a New Comment(Rich Markup)
   

You are not logged in

Please log in, so followups can be emailed to you.

 

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>
Project 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 File(s):
   
   
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
  • -unavailable- added by sbytnar (Posted a comment)
  • -unavailable- added by amade (Posted a comment)
  • -unavailable- added by saper (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 6 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Sun 19 Jun 2016 09:18:43 PM UTCamadeOpen/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.4.0
    Sat 05 Sep 2015 12:53:50 PM UTCamadeStatusNone=>Fixed
      ReleaseNone=>4.3.1
      Planned Release4.3.1=>4.3.2
    Thu 13 Aug 2015 10:42:02 PM UTCsaperAttached File-=>Added 0001-Use-realpath-name-buf-for-Solaris.patch, #34640

    Back to the top


    Powered by Savane 3.1-cleanup1