Sign Up
Log In
Log In
or
Sign Up
Places
All Projects
Status Monitor
Collapse sidebar
SUSE:SLE-12:Update
atftp.21225
atftp-0.7.dif
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File atftp-0.7.dif of Package atftp.21225
Index: argz.h =================================================================== --- argz.h.orig +++ argz.h @@ -180,7 +180,7 @@ extern char *argz_next (__const char *__ #ifdef __USE_EXTERN_INLINES extern inline char * __argz_next (__const char *__argz, size_t __argz_len, - __const char *__entry) __THROW + __const char *__entry) { if (__entry) { @@ -194,7 +194,7 @@ __argz_next (__const char *__argz, size_ } extern inline char * argz_next (__const char *__argz, size_t __argz_len, - __const char *__entry) __THROW + __const char *__entry) { return __argz_next (__argz, __argz_len, __entry); } Index: tftp.c =================================================================== --- tftp.c.orig +++ tftp.c @@ -354,7 +354,7 @@ char *command_generator(const char *text void make_arg(char *string, int *argc, char ***argv) { static char *tmp = NULL; - int argz_len; + size_t argz_len; /* split the string to an argz vector */ if (argz_create_sep(string, ' ', &tmp, &argz_len) != 0) @@ -731,7 +731,7 @@ int get_file(int argc, char **argv) fsync(data.sockfd); close(data.sockfd); - return OK; + return tftp_result; } #ifdef HAVE_MTFTP Index: tftp_file.c =================================================================== --- tftp_file.c.orig +++ tftp_file.c @@ -59,9 +59,9 @@ int tftp_find_bitmap_hole(int prev_hole, unsigned int next_word; /* initial stuff */ - next_hole = prev_hole + 1; - next_word_no = next_hole / 32; - next_bit_no = next_hole % 32; + next_hole = 0; + next_word_no = next_hole / 32; /* effectively 0 */ + next_bit_no = next_hole % 32; /* effectively 0 */ next_word = bitmap[next_word_no]; /* Check if there is a remainder of the current word to traverse */ @@ -136,7 +136,7 @@ int tftp_receive_file(struct client_data struct hostent *host; int master_client = 0; unsigned int file_bitmap[NB_BLOCK]; - int prev_bitmap_hole = -1; /* the previous hole found in the bitmap */ + int prev_bitmap_hole = 0; /* the previous hole found in the bitmap */ char string[MAXLEN]; int prev_block_number = 0; /* needed to support netascii convertion */
Locations
Projects
Search
Status Monitor
Help
OpenBuildService.org
Documentation
API Documentation
Code of Conduct
Contact
Support
@OBShq
Terms
openSUSE Build Service is sponsored by
The Open Build Service is an
openSUSE project
.
Sign Up
Log In
Places
Places
All Projects
Status Monitor