[Bro-Dev] [JIRA] (BIT-1531) Use of mktemp command should be more portable

Tim Yardley (JIRA) jira at bro-tracker.atlassian.net
Mon Feb 1 12:45:00 PST 2016


    [ https://bro-tracker.atlassian.net/browse/BIT-1531?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=24007#comment-24007 ] 

Tim Yardley commented on BIT-1531:
----------------------------------

I would suggest changing the fix to represent the generic template recommendation of XXXXXXXXXX rather than just going to 6.

By default, gnu coreutils mktemp uses ‘tmp.XXXXXXXXXX’ if the template is not specified.


> Use of mktemp command should be more portable
> ---------------------------------------------
>
>                 Key: BIT-1531
>                 URL: https://bro-tracker.atlassian.net/browse/BIT-1531
>             Project: Bro Issue Tracker
>          Issue Type: Task
>          Components: Bro, BTest
>            Reporter: Daniel Thayer
>            Assignee: Robin Sommer
>             Fix For: 2.5
>
>
> The use of the mktemp command breaks on some platforms, because
> we only use three Xs in our templates, but some platforms require at
> least six Xs.



--
This message was sent by Atlassian JIRA
(v7.1.0-OD-05-006#71001)



More information about the bro-dev mailing list