• Paul Eggert's avatar
    Fix subspace record bug on HP-UX 10.20. · d51c175a
    Paul Eggert authored
    * unexhp9k800.c (unexec_error): New function, to simplify the code.
    (check_lseek): New function, to report lseek errors.
    (save_data_space, update_file_ptrs, read_header, write_header)
    (copy_file, copy_rest, unexec): Use these news functions.
    (update_file_ptrs): Don't assume wraparound behavior when
    converting a large size_t value to off_t.
    Fixes: debbugs:16717
unexhp9k800.c 9.63 KB