]> git.ipfire.org Git - thirdparty/cups.git/commitdiff
Mirror 1.1.x changes.
authormike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Tue, 4 Nov 2003 16:37:55 +0000 (16:37 +0000)
committermike <mike@7a7537e8-13f0-0310-91df-b6672ffda945>
Tue, 4 Nov 2003 16:37:55 +0000 (16:37 +0000)
git-svn-id: svn+ssh://src.apple.com/svn/cups/cups.org/branches/branch-1.2@3978 7a7537e8-13f0-0310-91df-b6672ffda945

CHANGES-1.1.txt
scheduler/file.c

index b38f19cf122899210654a7b98dfce0d4e66d3a47..9d9c6acba4d17b56f4d402a672bcde92af7e02a4 100644 (file)
@@ -3,6 +3,9 @@ CHANGES-1.1.txt
 
 CHANGES IN CUPS V1.1.20
 
+       - The scheduler's cupsLangSeek() function did not reset
+         the "EOF" flag, preventing compressed files from being
+         typed properly in some cases (STR #368)
        - The cupsLangGet() cache was only used if the locale
          name provided an explicit character set name (STR
          #354)
index 3f64c4452c59e2c45d3860a04e553c07b35b9e15..68367082067ae1d748a71938cf95c5e13805541d 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * "$Id: file.c,v 1.1.2.4 2003/06/14 13:35:50 mike Exp $"
+ * "$Id: file.c,v 1.1.2.5 2003/11/04 16:37:55 mike Exp $"
  *
  *   File functions for the Common UNIX Printing System (CUPS).
  *
@@ -535,6 +535,7 @@ cupsFileSeek(cups_file_t *fp,               /* I - CUPS file */
       fp->pos = 0;
       fp->ptr = NULL;
       fp->end = NULL;
+      fp->eof = 0;
 
       while ((bytes = cups_fill(fp)) > 0)
         if (pos >= fp->pos && pos < (fp->pos + bytes))
@@ -550,6 +551,7 @@ cupsFileSeek(cups_file_t *fp,               /* I - CUPS file */
       fp->pos = pos;
       fp->ptr = NULL;
       fp->end = NULL;
+      fp->eof = 0;
     }
   }
   else if (pos >= (fp->pos + bytes))
@@ -969,5 +971,5 @@ cups_write(int        fd,           /* I - File descriptor */
 
 
 /*
- * End of "$Id: file.c,v 1.1.2.4 2003/06/14 13:35:50 mike Exp $".
+ * End of "$Id: file.c,v 1.1.2.5 2003/11/04 16:37:55 mike Exp $".
  */