Source-Changes-HG archive

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

[src/netbsd-1-5]: src/bin/csh Pullup 1.16 [christos]:



details:   https://anonhg.NetBSD.org/src/rev/418cac6240e2
branches:  netbsd-1-5
changeset: 490158:418cac6240e2
user:      tv <tv%NetBSD.org@localhost>
date:      Sun Nov 05 22:38:42 2000 +0000

description:
Pullup 1.16 [christos]:
Correct stupid cast problem. Pointed out by simon burge.

diffstat:

 bin/csh/dol.c |  6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)

diffs (27 lines):

diff -r f2302b8f7a1b -r 418cac6240e2 bin/csh/dol.c
--- a/bin/csh/dol.c     Sun Nov 05 22:37:45 2000 +0000
+++ b/bin/csh/dol.c     Sun Nov 05 22:38:42 2000 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: dol.c,v 1.14.2.1 2000/11/01 03:51:28 tv Exp $  */
+/*     $NetBSD: dol.c,v 1.14.2.2 2000/11/05 22:38:42 tv Exp $  */
 
 /*-
  * Copyright (c) 1980, 1991, 1993
@@ -38,7 +38,7 @@
 #if 0
 static char sccsid[] = "@(#)dol.c      8.1 (Berkeley) 5/31/93";
 #else
-__RCSID("$NetBSD: dol.c,v 1.14.2.1 2000/11/01 03:51:28 tv Exp $");
+__RCSID("$NetBSD: dol.c,v 1.14.2.2 2000/11/05 22:38:42 tv Exp $");
 #endif
 #endif /* not lint */
 
@@ -862,7 +862,7 @@
            if (unlink(tmp) == -1) {
                (void) gettimeofday(&tv, NULL);
                shtemp = Strspl(STRtmpsh, putn((((int)tv.tv_sec) ^ 
-                   ((int)tv.tv_usec) ^ ((int)doldol)) & 0x00ffffff));
+                   ((int)tv.tv_usec) ^ ((int)getpid())) & 0x00ffffff));
            }
            goto again;
        }



Home | Main Index | Thread Index | Old Index