]> git.pld-linux.org Git - packages/file.git/commitdiff
- updated for 4.16
authorJakub Bogusz <qboosh@pld-linux.org>
Wed, 19 Oct 2005 11:17:32 +0000 (11:17 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    file-magic.patch -> 1.2

file-magic.patch

index fe3a51422ecba9b4fb5034bbf67898d6ba04e17a..127c1828ce1d3eedb1c351b3d0d54399a0a3a7e0 100644 (file)
        }
  
        if ((ms->flags & MAGIC_MIME) != 0) {
---- file-4.14/src/file.c.magic 2005-03-06 06:58:22.000000000 +0100
-+++ file-4.14/src/file.c       2005-07-14 09:47:08.000000000 +0200
-@@ -362,7 +362,8 @@
-       }
-       while (fgets(buf, MAXPATHLEN, f) != NULL) {
--              buf[file_mbswidth(buf)-1] = '\0';
-+              // cut off CR, we _need_ bytes here, not characters
-+              buf[strlen(buf)-1] = '\0';
-               process(buf, wid);
-               if(nobuffer)
-                       (void) fflush(stdout);
-
This page took 0.04714 seconds and 4 git commands to generate.