Differences From Artifact [9d9894c2fe]:
- File
src/OFInflateStream.m
— part of check-in
[a72f602c2a]
at
2024-03-10 23:00:24
on branch trunk
— OFInflateStream: Return if we can't read
Otherwise we spin forever if the underlying stream keeps returning 0 on
read.This can happen if the end of a ZIP part has been reached. Returning
allows to switch the underlying stream to the next part. (user: js, size: 17121) [annotate] [blame] [check-ins using]
To Artifact [5f2d55b677]:
- File src/OFInflateStream.m — part of check-in [7413a728a7] at 2024-04-03 02:16:03 on branch trunk — Change license to LGPLv3 only (user: js, size: 17329) [annotate] [blame] [check-ins using] [more...]
1 2 3 4 5 | /* * Copyright (c) 2008-2024 Jonathan Schleifer <js@nil.im> * * All rights reserved. * | | | | | > > > > | < > | | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 | /* * Copyright (c) 2008-2024 Jonathan Schleifer <js@nil.im> * * All rights reserved. * * This program is free software: you can redistribute it and/or modify it * under the terms of the GNU Lesser General Public License version 3.0 only, * as published by the Free Software Foundation. * * This program is distributed in the hope that it will be useful, but WITHOUT * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or * FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License * version 3.0 for more details. * * You should have received a copy of the GNU Lesser General Public License * version 3.0 along with this program. If not, see * <https://www.gnu.org/licenses/>. */ #include "config.h" #include <stdlib.h> #include <string.h> |
︙ | ︙ |