Fyix typos in MinGW tools

Mark Mitchell mark@codesourcery.com
Fri Sep 30 22:35:00 GMT 2005


HJ's discovery that I'd broken sysinfo made me nervous, so I tried to
find other programs I might have failed to build.  A MinGW target
build showed up these two typos.  Hopefully, that's all of them!

Committed as obvious.

--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
 
2005-09-30  Mark Mitchell  <mark@codesourcery.com>

	* dlltool.c (main): Fix typo.
	* windres.c (main): Likewise.

Index: dlltool.c
===================================================================
RCS file: /cvs/src/src/binutils/dlltool.c,v
retrieving revision 1.65
retrieving revision 1.66
diff -c -5 -p -r1.65 -r1.66
*** dlltool.c	30 Sep 2005 16:37:31 -0000	1.65
--- dlltool.c	30 Sep 2005 20:04:21 -0000	1.66
*************** main (int ac, char **av)
*** 3122,3132 ****
    setlocale (LC_CTYPE, "");
  #endif
    bindtextdomain (PACKAGE, LOCALEDIR);
    textdomain (PACKAGE);
  
!   expandargv (&argc, &argv);
  
    while ((c = getopt_long (ac, av,
  #ifdef DLLTOOL_MCORE_ELF
  			   "m:e:l:aD:d:z:b:xp:cCuUkAS:f:nvVHhM:L:F:",
  #else
--- 3122,3132 ----
    setlocale (LC_CTYPE, "");
  #endif
    bindtextdomain (PACKAGE, LOCALEDIR);
    textdomain (PACKAGE);
  
!   expandargv (&ac, &av);
  
    while ((c = getopt_long (ac, av,
  #ifdef DLLTOOL_MCORE_ELF
  			   "m:e:l:aD:d:z:b:xp:cCuUkAS:f:nvVHhM:L:F:",
  #else
Index: windres.c
===================================================================
RCS file: /cvs/src/src/binutils/windres.c,v
retrieving revision 1.25
retrieving revision 1.26
diff -c -5 -p -r1.25 -r1.26
*** windres.c	30 Sep 2005 16:37:31 -0000	1.25
--- windres.c	30 Sep 2005 20:04:21 -0000	1.26
*************** main (int argc, char **argv)
*** 765,775 ****
    textdomain (PACKAGE);
  
    program_name = argv[0];
    xmalloc_set_program_name (program_name);
  
!   expandargv (&ac, &av);
  
    bfd_init ();
    set_default_bfd_target ();
  
    res_init ();
--- 765,775 ----
    textdomain (PACKAGE);
  
    program_name = argv[0];
    xmalloc_set_program_name (program_name);
  
!   expandargv (&argc, &argv);
  
    bfd_init ();
    set_default_bfd_target ();
  
    res_init ();




More information about the Binutils mailing list