Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37791602
en ru br
ALT Linux repositórios
S:4.14.0-alt1
5.0: 4.0.4.1-alt9
4.1: 4.0.4.1-alt9
4.0: 4.0.4.1-alt8
3.0: 4.0.4.1-alt5

Group :: Sistema/Base
RPM: shadow

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: shadow-4.0.4.1-owl-tmp.patch
Download


diff -uNrp shadow-4.0.4.1/src/useradd.c shadow-4.0.4.1.owl-tmp/src/useradd.c
--- shadow-4.0.4.1/src/useradd.c	2004-01-14 14:21:28 +0000
+++ shadow-4.0.4.1.owl-tmp/src/useradd.c	2004-02-28 23:23:44 +0000
@@ -453,11 +453,7 @@ static int set_defaults (void)
 	 * Create a temporary file to copy the new output to.
 	 */
 
-#ifdef HAVE_MKSTEMP
 	if ((ofd = mkstemp (new_file)) == -1) {
-#else
-	if ((ofd = mktemp (new_file)) == -1) {
-#endif
 		fprintf (stderr,
 			 _("%s: cannot create new defaults file\n"), Prog);
 		return -1;
 
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