bugGNU Screen - Bugs: bug #17634, Patch to enable cygwin...

 
 

bug #17634: Patch to enable cygwin compilation/usage

Submitted by:  None
Submitted on:  Thu 07 Sep 2006 07:52:32 AM UTC  
 
Category: NoneSeverity: 3 - Normal
Priority: 5 - NormalStatus: Duplicate
Privacy: PublicAssigned to: None
Open/Closed: ClosedRelease: None
Fixed Release: NonePlanned Release: None
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 13 Jun 2008 08:56:47 AM UTC, comment #1:

Looks like the same thing as the FreeBSD/Solaris fixes. https://savannah.gnu.org/bugs/?15921

Micah Cowan <micahcowan>
 Spam posted by an anonymous
Thu 07 Sep 2006 07:52:32 AM UTC, original submission:

Just a small patch to enable compilation and usage under cygwin.
Looks as if it works fine (at least for basic usage).

Thanks for all the contributors,

Loïc

diff -r -c screen-4.0.2/configure screen-4.0.2-new/configure

      • screen-4.0.2/configure Fri Dec 5 14:46:53 2003

--- screen-4.0.2-new/configure Thu Sep 7 09:06:15 2006
***************

      • 4260,4265 ****

--- 4260,4266 ----
echo "- your fifos are not usable" 1>&6

fi
+ killall conftest
rm -f core core.* *.core gmon.out bb.out conftest$ac_exeext conftest.$ac_objext conftest.$ac_ext
fi
rm -f /tmp/conftest*
diff -r -c screen-4.0.2/misc.c screen-4.0.2-new/misc.c

      • screen-4.0.2/misc.c Fri Dec 5 14:45:41 2003

--- screen-4.0.2-new/misc.c Thu Sep 7 09:10:54 2006
***************

      • 613,619 ****

*/
# endif /* NEEDSETENV */
#else /* USESETENV */
! # if defined(linux) || defined(_convex_) || (BSD >= 199103)
setenv(var, value, 1);
# else
setenv(var, value);
--- 613,619 ----
*/
# endif /* NEEDSETENV */
#else /* USESETENV */
! # if defined(_CYGWIN_) || defined(linux) || defined(_convex_) || (BSD >= 199103)
setenv(var, value, 1);
# else
setenv(var, value);
diff -r -c screen-4.0.2/pty.c screen-4.0.2-new/pty.c

      • screen-4.0.2/pty.c Mon Sep 8 16:26:18 2003

--- screen-4.0.2-new/pty.c Thu Sep 7 09:13:32 2006
***************

      • 34,40 ****

#endif

/* for solaris 2.1, Unixware (SVR4.2) and possibly others */
! #ifdef HAVE_SVR4_PTYS
# include <sys/stropts.h>
#endif

--- 34,40 ----
#endif

/* for solaris 2.1, Unixware (SVR4.2) and possibly others */
! #if defined(HAVE_SVR4_PTYS) && !defined(_CYGWIN_)
# include <sys/stropts.h>
#endif

diff -r -c screen-4.0.2/utmp.c screen-4.0.2-new/utmp.c

      • screen-4.0.2/utmp.c Mon Sep 8 16:27:17 2003

--- screen-4.0.2-new/utmp.c Thu Sep 7 09:12:17 2006
***************

      • 589,595 ****

struct utmp *u;
{
u->ut_type = DEAD_PROCESS;
! #if !defined(linux) || defined(EMPTY)
u->ut_exit.e_termination = 0;
u->ut_exit.e_exit = 0;
#endif
--- 589,595 ----
struct utmp *u;
{
u->ut_type = DEAD_PROCESS;
! #if (!defined(_CYGWIN_) && !defined(linux)) || defined(EMPTY)
u->ut_exit.e_termination = 0;
u->ut_exit.e_exit = 0;
#endif

Anonymous

 

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

Attach File(s):
   
   
Comment:
   

No files currently attached

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by micahcowan (Posted a comment)
  •  

    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 2 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Fri 13 Jun 2008 08:56:47 AM UTCmicahcowanStatusNone=>Duplicate
      Open/ClosedOpen=>Closed

    Back to the top


    Powered by Savane 3.1-cleanup1