rev_file.c (302408) | rev_file.c (362181) |
---|---|
1/* rev_file.c --- revision file and index access functions 2 * 3 * ==================================================================== 4 * Licensed to the Apache Software Foundation (ASF) under one 5 * or more contributor license agreements. See the NOTICE file 6 * distributed with this work for additional information 7 * regarding copyright ownership. The ASF licenses this file 8 * to you under the Apache License, Version 2.0 (the --- 245 unchanged lines hidden (view full) --- 254 SVN_ERR(svn_io_file_read_full2(file->file, footer->data, footer_length, 255 &footer->len, NULL, file->pool)); 256 footer->data[footer->len] = '\0'; 257 258 /* Extract index locations. */ 259 SVN_ERR(svn_fs_fs__parse_footer(&file->l2p_offset, &file->l2p_checksum, 260 &file->p2l_offset, &file->p2l_checksum, 261 footer, file->start_revision, | 1/* rev_file.c --- revision file and index access functions 2 * 3 * ==================================================================== 4 * Licensed to the Apache Software Foundation (ASF) under one 5 * or more contributor license agreements. See the NOTICE file 6 * distributed with this work for additional information 7 * regarding copyright ownership. The ASF licenses this file 8 * to you under the Apache License, Version 2.0 (the --- 245 unchanged lines hidden (view full) --- 254 SVN_ERR(svn_io_file_read_full2(file->file, footer->data, footer_length, 255 &footer->len, NULL, file->pool)); 256 footer->data[footer->len] = '\0'; 257 258 /* Extract index locations. */ 259 SVN_ERR(svn_fs_fs__parse_footer(&file->l2p_offset, &file->l2p_checksum, 260 &file->p2l_offset, &file->p2l_checksum, 261 footer, file->start_revision, |
262 filesize - footer_length - 1, |
|
262 file->pool)); 263 file->footer_offset = filesize - footer_length - 1; 264 } 265 266 return SVN_NO_ERROR; 267} 268 269svn_error_t * --- 37 unchanged lines hidden --- | 263 file->pool)); 264 file->footer_offset = filesize - footer_length - 1; 265 } 266 267 return SVN_NO_ERROR; 268} 269 270svn_error_t * --- 37 unchanged lines hidden --- |