input-scrub.c (256281) | input-scrub.c (276384) |
---|---|
1/* input_scrub.c - Break up input buffers into whole numbers of lines. 2 Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3 2000, 2001, 2003, 2006, 2007 4 Free Software Foundation, Inc. 5 6 This file is part of GAS, the GNU Assembler. 7 8 GAS is free software; you can redistribute it and/or modify --- 321 unchanged lines hidden (view full) --- 330 sb_index = from_sb.len; 331 return partial_where; 332 } 333 334 *bufp = buffer_start + BEFORE_SIZE; 335 336 if (partial_size) 337 { | 1/* input_scrub.c - Break up input buffers into whole numbers of lines. 2 Copyright 1987, 1990, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 3 2000, 2001, 2003, 2006, 2007 4 Free Software Foundation, Inc. 5 6 This file is part of GAS, the GNU Assembler. 7 8 GAS is free software; you can redistribute it and/or modify --- 321 unchanged lines hidden (view full) --- 330 sb_index = from_sb.len; 331 return partial_where; 332 } 333 334 *bufp = buffer_start + BEFORE_SIZE; 335 336 if (partial_size) 337 { |
338 memcpy (buffer_start + BEFORE_SIZE, partial_where, | 338 memmove (buffer_start + BEFORE_SIZE, partial_where, |
339 (unsigned int) partial_size); 340 memcpy (buffer_start + BEFORE_SIZE, save_source, AFTER_SIZE); 341 } 342 limit = input_file_give_next_buffer (buffer_start 343 + BEFORE_SIZE 344 + partial_size); 345 if (limit) 346 { --- 165 unchanged lines hidden --- | 339 (unsigned int) partial_size); 340 memcpy (buffer_start + BEFORE_SIZE, save_source, AFTER_SIZE); 341 } 342 limit = input_file_give_next_buffer (buffer_start 343 + BEFORE_SIZE 344 + partial_size); 345 if (limit) 346 { --- 165 unchanged lines hidden --- |