[LFS Trac] #2912: Diffutils-3.1

LFS Trac trac at linuxfromscratch.org
Fri Aug 12 02:42:02 PDT 2011


#2912: Diffutils-3.1
------------------------------------------+---------------------------------
 Reporter:  matthew@…                     |       Owner:  lfs-book@…                   
     Type:  enhancement                   |      Status:  new                          
 Priority:  normal                        |   Milestone:  6.9                          
Component:  Book                          |     Version:  SVN                          
 Severity:  normal                        |    Keywords:                               
------------------------------------------+---------------------------------

Comment(by matthew@…):

 Replying to [comment:1 gespinasse]:

 > {{{
 > checking for working GNU getopt function... no
 > }}}

 That looks like it's due to them pulling in an updated getopt module from
 gnulib, which has the following code in it:

 {{{
 /* This code dumps core on glibc 2.14.  */
 {
     static char program[] = "program";
     static char w[] = "-W";
     static char dummy[] = "dummy";
     char *argv[] = { program, w, dummy, NULL };
     optind = opterr = 1;
     if (getopt (3, argv, "W;") != 'W')
         result |= 128;
     }
 }
 }}}

 This does indeed dump core, so you're getting the correct result.

-- 
Ticket URL: <http://wiki.linuxfromscratch.org/lfs/ticket/2912#comment:2>
LFS Trac <http://wiki.linuxfromscratch.org/lfs/>
Linux From Scratch: Your Distro, Your Rules.



More information about the lfs-book mailing list