Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37884885
en ru br
ALT Linux repositórios
S:1.10-alt3

Group :: Sistema/Servidores
RPM: beanstalkd

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: beanstalkd-1.10-mkdtemp.patch
Download


diff -ur beanstalkd-1.10.org/ct/ct.c beanstalkd-1.10/ct/ct.c
--- beanstalkd-1.10.org/ct/ct.c	2014-08-04 21:39:54.000000000 -0600
+++ beanstalkd-1.10/ct/ct.c	2016-01-08 11:44:55.012786874 -0700
@@ -182,7 +183,7 @@
 {
     t->fd = tmpfd();
     strcpy(t->dir, TmpDirPat);
-    mktemp(t->dir);
+    mkdtemp(t->dir);
     t->pid = fork();
     if (t->pid < 0) {
         die(1, errno, "fork");
@@ -285,7 +286,7 @@
     int outfd = tmpfd();
     int durfd = tmpfd();
     strcpy(b->dir, TmpDirPat);
-    mktemp(b->dir);
+    mkdtemp(b->dir);
     int pid = fork();
     if (pid < 0) {
         die(1, errno, "fork");
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009