Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/lib/libc/stdio Spaces.



details:   https://anonhg.NetBSD.org/src/rev/721506f83c78
branches:  trunk
changeset: 555960:721506f83c78
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Fri Dec 05 00:57:36 2003 +0000

description:
Spaces.

diffstat:

 lib/libc/stdio/gettemp.c |  10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r dcc076704e07 -r 721506f83c78 lib/libc/stdio/gettemp.c
--- a/lib/libc/stdio/gettemp.c  Fri Dec 05 00:51:08 2003 +0000
+++ b/lib/libc/stdio/gettemp.c  Fri Dec 05 00:57:36 2003 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: gettemp.c,v 1.12 2003/10/27 00:12:42 lukem Exp $       */
+/*     $NetBSD: gettemp.c,v 1.13 2003/12/05 00:57:36 uebayasi Exp $    */
 
 /*
  * Copyright (c) 1987, 1993
@@ -40,7 +40,7 @@
 #if 0
 static char sccsid[] = "@(#)mktemp.c   8.1 (Berkeley) 6/4/93";
 #else
-__RCSID("$NetBSD: gettemp.c,v 1.12 2003/10/27 00:12:42 lukem Exp $");
+__RCSID("$NetBSD: gettemp.c,v 1.13 2003/12/05 00:57:36 uebayasi Exp $");
 #endif
 #endif /* LIBC_SCCS and not lint */
 
@@ -92,9 +92,9 @@
                        xcnt = 0;       
 
        /* Use at least one from xtra.  Use 2 if more than 6 X's. */
-       if (*(trv-1) == 'X')
+       if (*(trv - 1) == 'X')
                *--trv = xtra[0];
-       if (xcnt > 6 && *(trv-1) == 'X')
+       if (xcnt > 6 && *(trv - 1) == 'X')
                *--trv = xtra[1];
 
        /* Set remaining X's to pid digits with 0's to the left. */
@@ -137,7 +137,7 @@
        for (;;) {
                if (doopen) {
                        if ((*doopen =
-                           open(path, O_CREAT|O_EXCL|O_RDWR, 0600)) >= 0)
+                           open(path, O_CREAT | O_EXCL | O_RDWR, 0600)) >= 0)
                                return (1);
                        if (errno != EEXIST)
                                return (0);



Home | Main Index | Thread Index | Old Index