BusyBox Bug and Patch Tracking
BusyBox
  

Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001168 [BusyBox] Networking Support minor always 01-22-07 02:03 02-01-07 15:11
Reporter gzp View Status public  
Assigned To BusyBox
Priority normal Resolution fixed  
Status closed   Product Version svn
Summary 0001168: networking/ping.c:220: warning: operation on 'ntransmitted' may be undefined
Description CC networking/ping.o
cc1: warnings being treated as errors
networking/ping.c: In function 'sendping':
networking/ping.c:220: warning: operation on 'ntransmitted' may be undefined
make[1]: *** [networking/ping.o] Error 1
make: *** [networking] Error 2
Additional Information [kernel]
Linux gzp1 2.4.34-gzp1 0000001 Fri Jan 12 15:57:05 UTC 2007 i686 GNU/Linux

[glibc]
GNU C Library stable release version 2.2.5, by Roland McGrath et al.
Compiled by GNU CC version 2.95.4 20010319 (prerelease).
Compiled on a Linux 2.4.17 system on 2002-01-21.

[gcc]
gcc (GCC) 4.1.1

[binutils]
GNU ld version 2.17.50.0.9 20070103
Attached Files  bbox-1.3.2-ping.c.patch [^] (489 bytes) 01-30-07 07:52

- Relationships

- Notes
(0002033)
vda
01-22-07 15:25

?! 1.4.0, line 220:

    219 signal(SIGALRM, sendping);
    220 if (pingcount == 0 || ntransmitted < pingcount) {
    221 alarm(PINGINTERVAL);
    222 } else {

We compare two unsigned longs. It's 100% ok.
In which version do you see th warning? Or show code snippet around line 220.
 
(0002035)
gzp
01-23-07 00:17

This is 1.3.2, here is the complete tarball in precompiled stage:
http://gzp.hu/tmp/busybox-1.3.2/ [^]
http://gzp.hu/tmp/busybox-1.3.2/log.make [^]
 
(0002073)
vicser
01-30-07 07:53

bbox-1.3.2-ping.c.patch

solves the issue
 
(0002083)
vda
02-01-07 15:11

already fixed in svn. applying to busybox_1_3_stable
 

- Issue History
Date Modified Username Field Change
01-22-07 02:03 gzp New Issue
01-22-07 02:03 gzp Status new => assigned
01-22-07 02:03 gzp Assigned To  => BusyBox
01-22-07 15:25 vda Note Added: 0002033
01-23-07 00:17 gzp Note Added: 0002035
01-30-07 07:52 vicser File Added: bbox-1.3.2-ping.c.patch
01-30-07 07:53 vicser Note Added: 0002073
02-01-07 15:11 vda Status assigned => closed
02-01-07 15:11 vda Note Added: 0002083
02-01-07 15:11 vda Resolution open => fixed


Copyright © 2000 - 2006 Mantis Group
Powered by Mantis Bugtracker