[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Debian Boot Floppies CVS: boot-floppies andersee

On Fri Nov 26, 1999 at 07:27:47PM +0100, Hartmut Koptein wrote:
> > > If i start dbootstrap i get an 'Segmentation fault'; As it was with the old
> > > dbootstrap, if not with INCLUDE_DBOOTSTRAP=1. 
> > > 
> > > So, to be sure: You all can go into utilities/dbootstrap and run 'dbootstrap' 
> > > and it works? With all menus, ... ?
> > > 
> > 
> > Ok.  It segfaults.  The segfault is unrelated to INCLUDE_DBOOTSTRAP:
> Puhh, good, it isn't my setup :-)
> Please, can someone look at the slink-boot-floppies for
>  the main() function in utilities/dbootstrap/main.c  and paste it here

You mean this?

[andersen@slag dbootstrap]$ cvs diff -r 1.24 main.c
andersee@cvs.debian.org's password:
Index: main.c
RCS file: /cvs/debian-boot/boot-floppies/utilities/dbootstrap/main.c,v
retrieving revision 1.24
retrieving revision 1.25
diff -u -r1.24 -r1.25
--- main.c      1999/11/22 10:17:28     1.24
+++ main.c      1999/11/26 06:21:38     1.25
@@ -279,11 +279,7 @@
   sprintf(drivers_filename, DRVTGZ, suffix_kver, suffix_arch);

-  int dbootstrap_main(void) {
-  int main (void) {
+int main (void) {
     char *term;
     struct serial_struct ser;

I assure you reverting that won't help.  Nowhere else is 
providing main() since dbootstrap is a standalone executable,
and is no longer part of busybox.  There is a bug in dbootstrap
internationalization, not in how main() is invoked.  When the 
i18n bug is fixed, we should be able to test dbootstrap without
a problem.  Looks like a path problem.

> PS: Eric, you are the author of this new busybox or dbootstrap? 

"Erik" actually, and yes, I'm currently maintaining busybox.
Any suggestions for busybox?  I like good suggestions,


Erik B. Andersen   Web:    http://www.xmission.com/~andersen/ 
                   email:  andersee@debian.org
--This message was written using 73% post-consumer electrons--

Reply to: