1 Submitted By: Randy McMurchy <randy_at_linuxfromscratch_dot_org>
3 Initial Package Version: 2.3.13
4 Upstream Status: Not submitted
5 Origin: Fedora Development CVS
6 Description: Fixes compilation error if using GCC-4.x
9 diff -Naur xinetd-2.3.13-orig/xinetd/service.c xinetd-2.3.13/xinetd/service.c
10 --- xinetd-2.3.13-orig/xinetd/service.c 2003-11-16 12:44:10.000000000 +0000
11 +++ xinetd-2.3.13/xinetd/service.c 2005-08-07 18:37:33.395942648 +0000
16 - last = SAIN( SVC_LAST_DGRAM_ADDR(sp) ) =
17 - SAIN( calloc( 1, sizeof(union xsockaddr) ) );
18 + SVC_LAST_DGRAM_ADDR(sp) = calloc( 1, sizeof(union xsockaddr) );
19 + last = SAIN(SVC_LAST_DGRAM_ADDR(sp));
22 (void) time( ¤t_time ) ;
27 - last = SAIN6(SVC_LAST_DGRAM_ADDR(sp)) =
28 - SAIN6(calloc( 1, sizeof(union xsockaddr) ) );
29 + SVC_LAST_DGRAM_ADDR(sp) = calloc( 1, sizeof(union xsockaddr) );
30 + last = SAIN6( SVC_LAST_DGRAM_ADDR(sp) );
33 (void) time( ¤t_time ) ;