Changeset 11898ef3373b1af884bafcf3b6380ff8a0d165d8
- Timestamp:
- 23/08/08 02:34:44
(3 months ago)
- Author:
- Jean-Philippe Andre <jpeg@via.ecp.fr>
- git-committer:
- Jean-Philippe Andre <jpeg@via.ecp.fr> 1219451684 -0400
- git-parent:
[31da28cd3ba4f66bb3be1718f9fb69d87e50a53e]
- git-author:
- Jean-Philippe Andre <jpeg@via.ecp.fr> 1219445820 -0400
- Message:
Revert b1cea0a301d6bc partially (bad warning fix)
Sorry I pushed this.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| rb1cea0a |
r11898ef |
|
| 379 | 379 | /* Put written file in read list */ |
|---|
| 380 | 380 | if( p_sys->i_write_size < p_sys->i_file_size ) |
|---|
| 381 | | if( ftruncate( fileno( p_sys->p_write_list->file ), |
|---|
| 382 | | p_sys->i_write_size ) == -1 ) |
|---|
| 383 | | { |
|---|
| 384 | | msg_Dbg( p_access, "unable to truncate file: %m" ); |
|---|
| 385 | | /* return; */ |
|---|
| 386 | | } |
|---|
| | 381 | ftruncate( fileno( p_sys->p_write_list->file ), p_sys->i_write_size ); |
|---|
| 387 | 382 | |
|---|
| 388 | 383 | fseek( p_sys->p_write_list->file, 0, SEEK_SET ); |
|---|