FreeBSD Bugzilla – Attachment 179749 Details for
Bug 216910
[patch] contrib/dma different behavior when called as "mailq" instead of "/usr/bin/mailq"
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
patches dma.c
file_216910.txt (text/plain), 658 bytes, created by
Andrej Ebert
on 2017-02-08 12:00:36 UTC
(
hide
)
Description:
patches dma.c
Filename:
MIME Type:
Creator:
Andrej Ebert
Created:
2017-02-08 12:00:36 UTC
Size:
658 bytes
patch
obsolete
>Index: contrib/dma/dma.c >=================================================================== >--- contrib/dma/dma.c (revision 313410) >+++ contrib/dma/dma.c (working copy) >@@ -58,8 +58,8 @@ > #include <unistd.h> > > #include "dma.h" >+#include <libgen.h> > >- > static void deliver(struct qitem *); > > struct aliases aliases = LIST_HEAD_INITIALIZER(aliases); >@@ -457,7 +457,7 @@ > bzero(&queue, sizeof(queue)); > LIST_INIT(&queue.queue); > >- if (strcmp(argv[0], "mailq") == 0) { >+ if (strcmp(basename(argv[0]), "mailq") == 0) { > argv++; argc--; > showq = 1; > if (argc != 0)
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 216910
: 179749