From 042759864145e9239b8d6869e549703cadaf0226 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Wed, 15 Aug 2012 17:07:47 +0000 Subject: [PATCH] * gendef: Delete unneeded read from which ate an arbitrary line from cygwin.din. --- winsup/cygwin/ChangeLog | 5 +++++ winsup/cygwin/gendef | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index d93d2ee5a..782e84c02 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,8 @@ +2012-08-15 Christopher Faylor + + * gendef: Delete unneeded read from which ate an arbitrary line + from cygwin.din. + 2012-08-15 Christopher Faylor * exceptions.cc (sigdelayed): Move declaration to sigproc.h. diff --git a/winsup/cygwin/gendef b/winsup/cygwin/gendef index ddffe5800..64d24913e 100755 --- a/winsup/cygwin/gendef +++ b/winsup/cygwin/gendef @@ -1,5 +1,5 @@ #!/usr/bin/perl -# Copyright 2003, 2004, 2005, 2006, 2008, 2009, 2010 Red Hat, Inc. +# Copyright 2003, 2004, 2005, 2006, 2008, 2009, 2010, 2011, 2012 Red Hat, Inc. # # This file is part of Cygwin. # @@ -28,7 +28,6 @@ while () { push(@top, cleanup $_); last if /^\s*exports\s*$/i; } -my $libline = cleanup scalar(); my @in = cleanup ; close(IN);