ALT Linux repositórios
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
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;