Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jan 2022 18:48:04 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 261438] mktemp(1): better unique file names
Message-ID:  <bug-261438-227@https.bugs.freebsd.org/bugzilla/>

next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D261438

            Bug ID: 261438
           Summary: mktemp(1): better unique file names
           Product: Base System
           Version: CURRENT
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Some People
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: wosch@FreeBSD.org

Our mktemp(1) implementation uses 8-X for a temp file by default. That's ok,
but we should increase the value from 8 to 10 as many other OS already did.

git grep '\.XXXXXXXX'
mktemp.c:                       asprintf(&name, "%s%s.XXXXXXXX", _PATH_TMP,
prefix);
mktemp.c:                       asprintf(&name, "%s/%s.XXXXXXXX", tmpdir,
prefix);

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-261438-227>