2
0
mirror of https://github.com/xcat2/xcat-dep.git synced 2024-11-27 19:59:19 +00:00
xcat-dep/AIX/fping/fping.patch

41 lines
813 B
Diff
Raw Permalink Normal View History

diff -r -C 3 fping-2.4b2_to/fping.c fping-2.4b2_to_new/fping.c
*** fping-2.4b2_to/fping.c Fri Jul 20 13:10:26 2001
--- fping-2.4b2_to_new/fping.c Fri Feb 8 17:23:58 2008
***************
*** 118,125 ****
extern char *optarg;
extern int optind,opterr;
extern int h_errno;
!
#ifdef __cplusplus
}
#endif /* __cplusplus */
--- 118,126 ----
extern char *optarg;
extern int optind,opterr;
+ #ifndef h_errno
extern int h_errno;
! #endif
#ifdef __cplusplus
}
#endif /* __cplusplus */
***************
*** 1574,1580 ****
if( handle_random_icmp( icp, result, &response_addr ) )
num_othericmprcvd++;
! return 1;
}/* IF */
--- 1575,1581 ----
if( handle_random_icmp( icp, result, &response_addr ) )
num_othericmprcvd++;
! return 0;
}/* IF */