bugGNU Screen - Bugs: bug #20174, [PATCH] configure-tests using...

 
 

bug #20174: [PATCH] configure-tests using select are broken -> does not build on AIX 64bit.

Submitted by:  Niklas Edmundsson <nikke>
Submitted on:  Thu 14 Jun 2007 04:02:21 PM UTC  
 
Category: Build/InstallSeverity: 3 - Normal
Priority: 6Status: Fixed
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None
Fixed Release: 4.1.0Planned Release: 4.1.0
Work Required: None

Add a New Comment(Rich Markup)
   

You are not logged in

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

 

Fri 08 Aug 2008 04:24:53 AM UTC, comment #1:

Addressed for 4.1.0 in 3fd21ac.

Micah Cowan <micahcowan>
 Spam posted by an anonymous
Thu 14 Jun 2007 04:02:21 PM UTC, original submission:

The configure-tests using select() are broken in screen-4.0.2 due to the fact of not including all files needed for fd_set, and then having the tests doing fallback to int which isn't really the same thing.

On AIX 5.3 64bit:
Originally (f is int): (dbx) print sizeof(f) -> 4
This patch (f is fd_set): (dbx) print sizeof(f) -> 8192

The effect of this is that the configure test for fifos and sockets fail, and thus configure fails. This is most frequently seen when compiling with optimization.

This patch does the following:
- Includes all headers known to be needed by different standards
to have select().
- Removes the fallbacks in the configure-tests for fd_set not
present. The code in screen seems to use fd_set anyway, so
this should not reduce the number of supported platforms.

Niklas Edmundsson <nikke>

 

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

Attach File(s):
   
   
Comment:
   

Attached Files
file #13052:  select_autoconf.patch added by nikke (4KiB - text/x-patch - Patch to fix configure-tests using select.)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by micahcowan (Updated the item)
  • -unavailable- added by nikke (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 10 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 08 Aug 2008 04:24:53 AM UTCmicahcowanStatusConfirmed=>Fixed
      Open/ClosedOpen=>Closed
      Fixed ReleaseNone=>4.1.0
    Fri 08 Aug 2008 04:15:03 AM UTCmicahcowanAttached File#16076=>Removed
    Wed 09 Jul 2008 07:35:15 AM UTCNoneAttached File-=>Added feed_atom03_80x15_2.png, #16076
    Mon 23 Jun 2008 09:05:47 PM UTCmicahcowanCategoryNone=>Build/Install
      Planned ReleaseNone=>4.1.0
    Sun 15 Jun 2008 08:21:36 AM UTCmicahcowanPriority5 - Normal=>6
      StatusNone=>Confirmed
    Thu 14 Jun 2007 04:02:21 PM UTCnikkeAttached File-=>Added select_autoconf.patch, #13052

    Back to the top


    Powered by Savane 3.1-cleanup1