- Copyright (C) 1997-1999, 2006-2007, 2009-2010 Free Software Foundation, Inc.
+ Copyright (C) 1997-1999, 2006-2007, 2009-2013 Free Software Foundation, Inc.
Copyright (C) 1992-1993 Jean-loup Gailly
This program is free software; you can redistribute it and/or modify
Copyright (C) 1992-1993 Jean-loup Gailly
This program is free software; you can redistribute it and/or modify
}
put_byte(flags); /* general flags */
stamp = (0 <= time_stamp.tv_sec && time_stamp.tv_sec <= 0xffffffff
}
put_byte(flags); /* general flags */
stamp = (0 <= time_stamp.tv_sec && time_stamp.tv_sec <= 0xffffffff
/* Check input size (but not in VMS -- variable record lengths mess it up)
* and not on MSDOS -- diet in TSR mode reports an incorrect file size)
*/
if (ifile_size != -1L && bytes_in != ifile_size) {
/* Check input size (but not in VMS -- variable record lengths mess it up)
* and not on MSDOS -- diet in TSR mode reports an incorrect file size)
*/
if (ifile_size != -1L && bytes_in != ifile_size) {
len = read_buffer (ifd, buf, size);
if (len == 0) return (int)len;
if (len == (unsigned)-1) {
len = read_buffer (ifd, buf, size);
if (len == 0) return (int)len;
if (len == (unsigned)-1) {