From b6e8cc8fa1fad4e10e6bbd6224827d00e3ef7abb Mon Sep 17 00:00:00 2001 From: jkh Date: Fri, 13 Jun 1997 11:00:13 +0000 Subject: reverse polarity on bit-flip from 2.2 --- release/sysinstall/dist.c | 4 ++-- usr.sbin/sysinstall/dist.c | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/release/sysinstall/dist.c b/release/sysinstall/dist.c index 80a8ebe..a003fcd 100644 --- a/release/sysinstall/dist.c +++ b/release/sysinstall/dist.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: dist.c,v 1.108 1997/06/05 09:47:56 jkh Exp $ + * $Id: dist.c,v 1.109 1997/06/09 01:19:43 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -391,7 +391,7 @@ distSetByName(Distribution *dist, char *name) if (!dist[i].my_dir) continue; else if (!strcmp(dist[i].my_name, name)) { - *(dist[i].my_mask) &= ~(dist[i].my_bit); + *(dist[i].my_mask) |= dist[i].my_bit; status = TRUE; break; } diff --git a/usr.sbin/sysinstall/dist.c b/usr.sbin/sysinstall/dist.c index 80a8ebe..a003fcd 100644 --- a/usr.sbin/sysinstall/dist.c +++ b/usr.sbin/sysinstall/dist.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: dist.c,v 1.108 1997/06/05 09:47:56 jkh Exp $ + * $Id: dist.c,v 1.109 1997/06/09 01:19:43 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -391,7 +391,7 @@ distSetByName(Distribution *dist, char *name) if (!dist[i].my_dir) continue; else if (!strcmp(dist[i].my_name, name)) { - *(dist[i].my_mask) &= ~(dist[i].my_bit); + *(dist[i].my_mask) |= dist[i].my_bit; status = TRUE; break; } -- cgit v1.1