FreeBSD Bugzilla – Attachment 136359 Details for
Bug 181544
[patch] file(1) fails to respect -L with --mime-type
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 614 bytes, created by
sec
on 2013-08-26 11:30:06 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
sec
Created:
2013-08-26 11:30:06 UTC
Size:
614 bytes
patch
obsolete
>--- contrib/file/apprentice.c.org 2013-06-18 18:14:45.000000000 +0200 >+++ contrib/file/apprentice.c 2013-08-26 12:01:20.000000000 +0200 >@@ -2231,7 +2231,7 @@ > if (ms->flags & MAGIC_MIME) { > asprintf(&buf, "%.*s.mime%s", (int)(q - fn), fn, ext); > if (access(buf, R_OK) != -1) { >- ms->flags &= MAGIC_MIME_TYPE; >+ ms->flags &= MAGIC_MIME_TYPE | MAGIC_SYMLINK; > return buf; > } > free(buf); >@@ -2240,7 +2240,7 @@ > > /* Compatibility with old code that looked in .mime */ > if (strstr(p, ".mime") != NULL) >- ms->flags &= MAGIC_MIME_TYPE; >+ ms->flags &= MAGIC_MIME_TYPE | MAGIC_SYMLINK; > return buf; > }
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 181544
: 136359