FreeBSD Bugzilla – Attachment 113328 Details for
Bug 154852
converters/mpack does not recognize png files
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
file.shar
file.shar (text/plain), 1.02 KB, created by
Kurt Lidl
on 2011-02-17 20:40:06 UTC
(
hide
)
Description:
file.shar
Filename:
MIME Type:
Creator:
Kurt Lidl
Created:
2011-02-17 20:40:06 UTC
Size:
1.02 KB
patch
obsolete
># This is a shell archive. Save it in a file, remove anything before ># this line, and then unpack it by entering "sh file". Note, it may ># create directories; files and directories will be owned by you and ># have default permissions. ># ># This archive contains: ># ># /usr/ports/converters/mpack/files/patch-magic.c ># >echo x - /usr/ports/converters/mpack/files/patch-magic.c >sed 's/^X//' >/usr/ports/converters/mpack/files/patch-magic.c << 'b642b52f37529b7136783f89b1ecc98f' >X--- magic.c.orig 2003-07-21 16:35:31.000000000 -0400 >X+++ magic.c 2011-02-17 15:17:14.374973627 -0500 >X@@ -23,6 +23,7 @@ >X * SOFTWARE. >X */ >X #include <stdio.h> >X+#include <string.h> >X >X /* Description of the various file formats and their magic numbers */ >X struct magic { >X@@ -35,6 +36,7 @@ >X static struct magic magic[] = { >X { "image/gif", "GIF", 0 }, >X { "image/jpeg", "\377\330\377", 0 }, >X+ { "image/png", "\211PNG", 0 }, >X { "video/mpeg", "\0\0\001\263", 4 }, >X { "application/postscript", "%!", 0 }, >X }; >b642b52f37529b7136783f89b1ecc98f >exit
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 154852
: 113328