From bb2ad2880bc60129e56a6ddbd15fe918cff834d2 Mon Sep 17 00:00:00 2001 From: rgrimes Date: Tue, 30 May 1995 08:29:07 +0000 Subject: Remove trailing whitespace. --- release/sysinstall/attr.c | 18 +++++------ release/sysinstall/cdrom.c | 6 ++-- release/sysinstall/command.c | 6 ++-- release/sysinstall/config.c | 8 ++--- release/sysinstall/decode.c | 10 +++--- release/sysinstall/devices.c | 8 ++--- release/sysinstall/disks.c | 6 ++-- release/sysinstall/dist.c | 8 ++--- release/sysinstall/dmenu.c | 6 ++-- release/sysinstall/dos.c | 6 ++-- release/sysinstall/floppy.c | 12 ++++---- release/sysinstall/ftp.c | 68 ++++++++++++++++++++--------------------- release/sysinstall/ftp_strat.c | 6 ++-- release/sysinstall/globals.c | 6 ++-- release/sysinstall/install.c | 6 ++-- release/sysinstall/label.c | 10 +++--- release/sysinstall/lang.c | 28 ++++++++--------- release/sysinstall/main.c | 6 ++-- release/sysinstall/media.c | 6 ++-- release/sysinstall/menus.c | 12 ++++---- release/sysinstall/misc.c | 10 +++--- release/sysinstall/msg.c | 6 ++-- release/sysinstall/network.c | 6 ++-- release/sysinstall/nfs.c | 6 ++-- release/sysinstall/sysinstall.h | 8 ++--- release/sysinstall/system.c | 4 +-- release/sysinstall/tape.c | 6 ++-- release/sysinstall/tcpip.c | 14 ++++----- release/sysinstall/termcap.c | 4 +-- release/sysinstall/ufs.c | 6 ++-- release/sysinstall/variable.c | 6 ++-- release/sysinstall/wizard.c | 32 +++++++++---------- 32 files changed, 175 insertions(+), 175 deletions(-) (limited to 'release/sysinstall') diff --git a/release/sysinstall/attr.c b/release/sysinstall/attr.c index cee86fb..5cd7f50 100644 --- a/release/sysinstall/attr.c +++ b/release/sysinstall/attr.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: media_strategy.c,v 1.28 1995/05/26 20:30:59 jkh Exp $ + * $Id: attr.c,v 1.1 1995/05/27 10:38:41 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -15,8 +15,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the @@ -57,10 +57,10 @@ attr_parse(Attribs **attr, char *file) enum { LOOK, COMMENT, NAME, VALUE, COMMIT } state; FILE *fp; static int lno; - + num_attribs = n = v = lno = 0; state = LOOK; - + if ((fp = fopen(file, "r")) == NULL) { msgConfirm("Cannot open the information file `%s': %s (%d)", file, strerror(errno), errno); return 0; @@ -86,12 +86,12 @@ attr_parse(Attribs **attr, char *file) else msgFatal("Invalid character '%c' at line %d\n", ch, lno); break; - + case COMMENT: if (ch == '\n') state = LOOK; break; - + case NAME: if (ch == '\n') { hold_n[n] = '\0'; @@ -107,7 +107,7 @@ attr_parse(Attribs **attr, char *file) else hold_n[n++] = ch; break; - + case VALUE: if (v == 0 && isspace(ch)) continue; @@ -136,7 +136,7 @@ attr_parse(Attribs **attr, char *file) hold_v[v++] = ch; } break; - + case COMMIT: (*attr)[num_attribs].name = strdup(hold_n); (*attr)[num_attribs++].value = strdup(hold_v); diff --git a/release/sysinstall/cdrom.c b/release/sysinstall/cdrom.c index b67406a..dbb5fb8 100644 --- a/release/sysinstall/cdrom.c +++ b/release/sysinstall/cdrom.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: cdrom.c,v 1.4 1995/05/28 07:05:21 phk Exp $ + * $Id: cdrom.c,v 1.5 1995/05/29 11:01:03 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -15,8 +15,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the diff --git a/release/sysinstall/command.c b/release/sysinstall/command.c index 57f6213..5d132c4 100644 --- a/release/sysinstall/command.c +++ b/release/sysinstall/command.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: command.c,v 1.9 1995/05/20 13:24:33 jkh Exp $ + * $Id: command.c,v 1.10 1995/05/29 11:01:05 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -13,8 +13,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the diff --git a/release/sysinstall/config.c b/release/sysinstall/config.c index 980bc57..09209fd 100644 --- a/release/sysinstall/config.c +++ b/release/sysinstall/config.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: config.c,v 1.13 1995/05/29 11:01:06 jkh Exp $ + * $Id: config.c,v 1.14 1995/05/29 13:37:41 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -13,8 +13,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the @@ -246,7 +246,7 @@ configSysconfig(void) lines[i] = (char *)malloc(strlen(v->name) + strlen(v->value) + 3); sprintf(lines[i], "%s=\"%s\"\n", v->name, v->value); } - + } } fp = fopen("/etc/sysconfig", "w"); diff --git a/release/sysinstall/decode.c b/release/sysinstall/decode.c index 1297fd6..cf1eaee 100644 --- a/release/sysinstall/decode.c +++ b/release/sysinstall/decode.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: decode.c,v 1.3 1995/05/16 02:52:57 jkh Exp $ + * $Id: decode.c,v 1.4 1995/05/17 14:39:35 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -13,8 +13,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the @@ -96,7 +96,7 @@ dispatch(DMenuItem *tmp, char *name) case DMENU_CANCEL: return TRUE; - + case DMENU_SET_VARIABLE: variable_set((char *)tmp->ptr); break; @@ -127,7 +127,7 @@ decode_and_dispatch_multiple(DMenu *menu, char *names) cp = index(names, '\n'); if (cp) - *cp++ = 0; + *cp++ = 0; /* Were no options actually selected? */ if (!*names) return FALSE; diff --git a/release/sysinstall/devices.c b/release/sysinstall/devices.c index 48c10e4..14225fb 100644 --- a/release/sysinstall/devices.c +++ b/release/sysinstall/devices.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: devices.c,v 1.33 1995/05/28 09:31:31 jkh Exp $ + * $Id: devices.c,v 1.34 1995/05/29 11:01:08 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -13,8 +13,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the @@ -282,7 +282,7 @@ deviceGetAll(void) end = (struct ifreq *) (ifc.ifc_buf + ifc.ifc_len); for (ifptr = ifc.ifc_req; ifptr < end; ifptr++) { /* If it's not a link entry, forget it */ - if (ifptr->ifr_ifru.ifru_addr.sa_family != AF_LINK) + if (ifptr->ifr_ifru.ifru_addr.sa_family != AF_LINK) continue; /* Eliminate network devices that don't make sense */ if (!strncmp(ifptr->ifr_name, "tun", 3) diff --git a/release/sysinstall/disks.c b/release/sysinstall/disks.c index 35a3e0e..3aeb539 100644 --- a/release/sysinstall/disks.c +++ b/release/sysinstall/disks.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: disks.c,v 1.28 1995/05/25 18:48:23 jkh Exp $ + * $Id: disks.c,v 1.29 1995/05/28 20:28:09 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -13,8 +13,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the diff --git a/release/sysinstall/dist.c b/release/sysinstall/dist.c index ad91eb8..f01c5b5 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.33 1995/05/29 13:37:42 jkh Exp $ + * $Id: dist.c,v 1.34 1995/05/29 14:38:31 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -13,8 +13,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the @@ -268,7 +268,7 @@ distExtract(char *parent, Distribution *me) msgConfirm("Cannot load information file for %s distribution!\nPlease verify that your media is valid and try again.", dist); return FALSE; } - + if (isDebug()) msgDebug("Looking for attribute `pieces'\n"); tmp = attr_match(dist_attr, "pieces"); diff --git a/release/sysinstall/dmenu.c b/release/sysinstall/dmenu.c index 2b77da0..636408a 100644 --- a/release/sysinstall/dmenu.c +++ b/release/sysinstall/dmenu.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated for what's essentially a complete rewrite. * - * $Id: dmenu.c,v 1.9 1995/05/17 14:39:41 jkh Exp $ + * $Id: dmenu.c,v 1.10 1995/05/24 17:49:13 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -13,8 +13,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the diff --git a/release/sysinstall/dos.c b/release/sysinstall/dos.c index 9cf2cd3..5bd31f0 100644 --- a/release/sysinstall/dos.c +++ b/release/sysinstall/dos.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: dos.c,v 1.3 1995/05/28 03:04:54 jkh Exp $ + * $Id: dos.c,v 1.4 1995/05/29 11:01:11 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -15,8 +15,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the diff --git a/release/sysinstall/floppy.c b/release/sysinstall/floppy.c index 865a635..bf9265a 100644 --- a/release/sysinstall/floppy.c +++ b/release/sysinstall/floppy.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: floppy.c,v 1.4 1995/05/29 00:50:01 jkh Exp $ + * $Id: floppy.c,v 1.5 1995/05/29 11:01:13 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -15,8 +15,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the @@ -87,14 +87,14 @@ getRootFloppy(void) while (floppyDev == NULL || fd == -1) { Device **devs; int cnt; - + devs = deviceFind(NULL, DEVICE_TYPE_FLOPPY); cnt = deviceCount(devs); if (cnt == 1) floppyDev = devs[0]; else if (cnt > 1) { DMenu *menu; - + menu = deviceCreateMenu(&MenuMediaFloppy, DEVICE_TYPE_FLOPPY, floppyChoiceHook); menu->title = "Please insert the ROOT floppy"; dmenuOpenSimple(menu); @@ -125,7 +125,7 @@ mediaInitFloppy(Device *dev) return FALSE; } msgConfirm("Please insert media into %s and press return", dev->description); - msgDebug("initFloppy: mount floppy %s on /mnt\n", dev->devname); + msgDebug("initFloppy: mount floppy %s on /mnt\n", dev->devname); dosargs.fspec = dev->devname; if (mount(MOUNT_MSDOS, "/mnt", 0, (caddr_t)&dosargs) == -1) { msgConfirm("Error mounting floppy %s (%s) on /mnt : %s\n", dev->name, diff --git a/release/sysinstall/ftp.c b/release/sysinstall/ftp.c index 59060b6..99e064f 100644 --- a/release/sysinstall/ftp.c +++ b/release/sysinstall/ftp.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: ftp.c,v 1.11 1995/05/27 06:19:59 phk Exp $ + * $Id: ftp.c,v 1.12 1995/05/29 11:01:16 jkh Exp $ * */ @@ -44,7 +44,7 @@ debug(FTP_t ftp, const char *fmt, ...) #endif (void) vsnprintf(p+strlen(p), sizeof p - strlen(p), fmt, ap); va_end(ap); - + #ifdef STANDALONE_FTP write(ftp->fd_debug,p,strlen(p)); #else @@ -67,7 +67,7 @@ get_a_line(FTP_t ftp) { static char buf[BUFSIZ]; int i,j; - + for(i=0;ifd_ctrl,buf+i,1); if (j != 1) @@ -89,7 +89,7 @@ get_a_number(FTP_t ftp, char **q) { char *p; int i = -1,j; - + while(1) { p = get_a_line(ftp); if (!(isdigit(p[0]) && isdigit(p[1]) && isdigit(p[2]))) @@ -97,8 +97,8 @@ get_a_number(FTP_t ftp, char **q) if (i == -1 && p[3] == '-') { i = atoi(p); continue; - } - if (p[3] != ' ' && p[3] != '\t') + } + if (p[3] != ' ' && p[3] != '\t') continue; j = atoi(p); if (i == -1) { @@ -127,12 +127,12 @@ cmd(FTP_t ftp, const char *fmt, ...) { char p[BUFSIZ]; int i; - + va_list ap; va_start(ap, fmt); (void) vsnprintf(p, sizeof p, fmt, ap); va_end(ap); - + debug(ftp, "send <%s>\n",p); strcat(p,"\r\n"); if (writes(ftp->fd_ctrl,p)) @@ -145,7 +145,7 @@ FTP_t FtpInit() { FTP_t ftp; - + ftp = malloc(sizeof *ftp); if (!ftp) return ftp; @@ -173,18 +173,18 @@ FtpOpen(FTP_t ftp, char *host, char *user, char *passwd) int s; unsigned long temp; int i; - + if (ftp->state != init) return botch(ftp,"FtpOpen","init"); - + if (!user) user = "ftp"; - + if (!passwd) passwd = "??@??(FreeBSD:libftp)"; /* XXX */ - + debug(ftp, "FtpOpen(ftp, %s, %s, %s)\n", host, user, passwd); - + temp = inet_addr(host); if (temp != INADDR_NONE) { @@ -202,33 +202,33 @@ FtpOpen(FTP_t ftp, char *host, char *user, char *passwd) ftp->addrtype = sin.sin_family = he->h_addrtype; bcopy(he->h_addr, (char *)&sin.sin_addr, he->h_length); } - + sin.sin_port = htons(21); - + if ((s = socket(ftp->addrtype, SOCK_STREAM, 0)) < 0) { debug(ftp, "Socket open failed: %s (%i)\n", strerror(errno), errno); return s; } - + if (connect(s, (struct sockaddr *)&sin, sizeof(sin)) < 0) { debug(ftp,"Connection failed: %s (%i)\n", strerror(errno), errno); (void)close(s); return -1; } - + ftp->fd_ctrl = s; - + debug(ftp, "open (%d)\n",get_a_number(ftp,0)); - + i = cmd(ftp,"USER %s",user); - if (i >= 300 && i < 400) + if (i >= 300 && i < 400) i = cmd(ftp,"PASS %s",passwd); if (i >= 299) return -1; ftp->state = isopen; return 0; - + #if 0 fail: close(ftp->fd_ctrl); @@ -240,9 +240,9 @@ fail: void FtpClose(FTP_t ftp) { - if (ftp->state != isopen) + if (ftp->state != isopen) botch(ftp,"FtpClose","open"); - + debug(ftp, "FtpClose(ftp)\n"); writes(ftp->fd_ctrl,"QUIT\r\n"); close(ftp->fd_ctrl); ftp->fd_ctrl = -1; @@ -254,7 +254,7 @@ int FtpChdir(FTP_t ftp, char *dir) { int i; - if (ftp->state != isopen) + if (ftp->state != isopen) return botch(ftp,"FtpChdir","open"); i = cmd(ftp,"CWD %s",dir); return 0; @@ -267,9 +267,9 @@ FtpGet(FTP_t ftp, char *file) char *q; unsigned char addr[6]; struct sockaddr_in sin; - + debug(ftp, "FtpGet(ftp,%s)\n",file); - if (ftp->state != isopen) + if (ftp->state != isopen) return botch(ftp,"FtpGet","open"); if(ftp->binary) { i = cmd(ftp,"TYPE I"); @@ -294,13 +294,13 @@ FtpGet(FTP_t ftp, char *file) q++; addr[i] = strtol(q,&q,10); } - + sin.sin_family = ftp->addrtype; bcopy(addr, (char *)&sin.sin_addr, 4); bcopy(addr+4, (char *)&sin.sin_port, 2); debug(ftp, "Opening active socket to %s : %u\n", inet_ntoa(sin.sin_addr), htons(sin.sin_port)); - if ((s = socket(ftp->addrtype, SOCK_STREAM, 0)) < 0) + if ((s = socket(ftp->addrtype, SOCK_STREAM, 0)) < 0) return -1; debug(ftp, "Connecting to %s:%u\n", inet_ntoa(sin.sin_addr), htons(sin.sin_port)); @@ -309,7 +309,7 @@ FtpGet(FTP_t ftp, char *file) debug(ftp, "connect: %s (%d)\n", strerror(errno), errno); return -1; } - + i = cmd(ftp,"RETR %s",file); if (i > 299) return -1; @@ -324,7 +324,7 @@ FtpGet(FTP_t ftp, char *file) int FtpEOF(FTP_t ftp) { - if (ftp->state != xfer) + if (ftp->state != xfer) return botch(ftp,"FtpEOF","xfer"); debug(ftp, "FtpEOF(ftp)\n"); close(ftp->fd_xfer); ftp->fd_xfer = -1; @@ -336,16 +336,16 @@ FtpEOF(FTP_t ftp) /* main.c */ -int +int main(int argc, char **argv) { FTP_t ftp; int i; char c; - + ftp = FtpInit(); if (!ftp) err(1,"FtpInit()"); - + FtpDebug(ftp,1); i = FtpOpen(ftp, "ref.tfs.com", "ftp", "phk-libftp@"); if (i) err(1,"FtpOpen(%d)",i); diff --git a/release/sysinstall/ftp_strat.c b/release/sysinstall/ftp_strat.c index b6fa553..e352bbd 100644 --- a/release/sysinstall/ftp_strat.c +++ b/release/sysinstall/ftp_strat.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: ftp_strat.c,v 1.4 1995/05/27 23:39:30 phk Exp $ + * $Id: ftp_strat.c,v 1.5 1995/05/29 11:01:19 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -15,8 +15,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the diff --git a/release/sysinstall/globals.c b/release/sysinstall/globals.c index 891318d..a2ccbce 100644 --- a/release/sysinstall/globals.c +++ b/release/sysinstall/globals.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: globals.c,v 1.7 1995/05/24 22:37:41 jkh Exp $ + * $Id: globals.c,v 1.8 1995/05/25 18:48:25 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -13,8 +13,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the diff --git a/release/sysinstall/install.c b/release/sysinstall/install.c index 478c7cd..48f75f1 100644 --- a/release/sysinstall/install.c +++ b/release/sysinstall/install.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: install.c,v 1.68 1995/05/29 13:37:43 jkh Exp $ + * $Id: install.c,v 1.69 1995/05/30 05:50:53 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -13,8 +13,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the diff --git a/release/sysinstall/label.c b/release/sysinstall/label.c index 6e7f8e5..e4533734 100644 --- a/release/sysinstall/label.c +++ b/release/sysinstall/label.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: label.c,v 1.29 1995/05/28 23:12:06 jkh Exp $ + * $Id: label.c,v 1.30 1995/05/29 00:50:03 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -13,8 +13,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the @@ -181,7 +181,7 @@ new_part(char *mpoint, Boolean newfs, u_long size) return ret; for (target = size; target; target--) { for (divisor = 4096 ; divisor > 1023; divisor--) { - if (!(target % divisor)) { + if (!(target % divisor)) { sprintf(ret->newfs_cmd + strlen(ret->newfs_cmd), " -u %ld",divisor); return ret; } @@ -549,7 +549,7 @@ diskLabelEditor(char *str) safe_free(p); } else { tmp->private = p; - } + } tmp->private_free = safe_free; record_label_chunks(); } diff --git a/release/sysinstall/lang.c b/release/sysinstall/lang.c index e78c97f..5da8401 100644 --- a/release/sysinstall/lang.c +++ b/release/sysinstall/lang.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: lang.c,v 1.4 1995/05/19 16:58:55 jkh Exp $ + * $Id: lang.c,v 1.5 1995/05/24 21:42:43 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -13,8 +13,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the @@ -50,7 +50,7 @@ lang_set_Danish(char *str) { systemChangeFont(font_iso_8x16); systemChangeLang("da_DK.ISO8859-1"); - systemChangeScreenmap(default_scrnmap); + systemChangeScreenmap(default_scrnmap); systemChangeTerminal("cons25l1", termcap_cons25l1, "cons25l1-m", termcap_cons25l1_m); } @@ -60,7 +60,7 @@ lang_set_Dutch(char *str) { systemChangeFont(font_iso_8x16); systemChangeLang("nl_NL.ISO8859-1"); - systemChangeScreenmap(default_scrnmap); + systemChangeScreenmap(default_scrnmap); systemChangeTerminal("cons25l1", termcap_cons25l1, "cons25l1-m", termcap_cons25l1_m); } @@ -69,7 +69,7 @@ lang_set_English(char *str) { systemChangeFont(font_cp850_8x16); systemChangeLang("en_US.ISO8859-1"); - systemChangeScreenmap(default_scrnmap); + systemChangeScreenmap(default_scrnmap); systemChangeTerminal("cons25", termcap_cons25, "cons25-m", termcap_cons25_m); } @@ -78,7 +78,7 @@ lang_set_French(char *str) { systemChangeFont(font_iso_8x16); systemChangeLang("fr_FR.ISO8859-1"); - systemChangeScreenmap(default_scrnmap); + systemChangeScreenmap(default_scrnmap); systemChangeTerminal("cons25l1", termcap_cons25l1, "cons25l1-m", termcap_cons25l1_m); } @@ -87,7 +87,7 @@ lang_set_German(char *str) { systemChangeFont(font_iso_8x16); systemChangeLang("de_DE.ISO8859-1"); - systemChangeScreenmap(default_scrnmap); + systemChangeScreenmap(default_scrnmap); systemChangeTerminal("cons25l1", termcap_cons25l1, "cons25l1-m", termcap_cons25l1_m); } @@ -96,7 +96,7 @@ lang_set_Italian(char *str) { systemChangeFont(font_iso_8x16); systemChangeLang("it_IT.ISO8859-1"); - systemChangeScreenmap(default_scrnmap); + systemChangeScreenmap(default_scrnmap); systemChangeTerminal("cons25l1", termcap_cons25l1, "cons25l1-m", termcap_cons25l1_m); } @@ -106,7 +106,7 @@ lang_set_Japanese(char *str) { systemChangeFont(font_cp850_8x16); /* must prepare JIS X0201 font? */ systemChangeLang("ja_JP.ROMAJI"); - systemChangeScreenmap(default_scrnmap); + systemChangeScreenmap(default_scrnmap); systemChangeTerminal("cons25", termcap_cons25, "cons25-m", termcap_cons25_m); } @@ -115,7 +115,7 @@ lang_set_Norwegian(char *str) { systemChangeFont(font_iso_8x16); systemChangeLang("no_NO.ISO8859-1"); - systemChangeScreenmap(default_scrnmap); + systemChangeScreenmap(default_scrnmap); systemChangeTerminal("cons25l1", termcap_cons25l1, "cons25l1-m", termcap_cons25l1_m); } @@ -124,7 +124,7 @@ lang_set_Russian(char *str) { systemChangeFont(font_cp866_8x16); systemChangeLang("ru_SU.KOI8-R"); - systemChangeScreenmap(koi8_r2cp866); + systemChangeScreenmap(koi8_r2cp866); systemChangeTerminal("cons25r", termcap_cons25r, "cons25r-m", termcap_cons25r_m); } @@ -133,7 +133,7 @@ lang_set_Spanish(char *str) { systemChangeFont(font_iso_8x16); systemChangeLang("es_ES.ISO8859-1"); - systemChangeScreenmap(default_scrnmap); + systemChangeScreenmap(default_scrnmap); systemChangeTerminal("cons25l1", termcap_cons25l1, "cons25l1-m", termcap_cons25l1_m); } @@ -142,6 +142,6 @@ lang_set_Swedish(char *str) { systemChangeFont(font_iso_8x16); systemChangeLang("sv_SV.ISO8859-1"); - systemChangeScreenmap(default_scrnmap); + systemChangeScreenmap(default_scrnmap); systemChangeTerminal("cons25l1", termcap_cons25l1, "cons25l1-m", termcap_cons25l1_m); } diff --git a/release/sysinstall/main.c b/release/sysinstall/main.c index 7660258..649f1ad 100644 --- a/release/sysinstall/main.c +++ b/release/sysinstall/main.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated for what's essentially a complete rewrite. * - * $Id: main.c,v 1.10 1995/05/24 17:49:17 jkh Exp $ + * $Id: main.c,v 1.11 1995/05/28 09:31:35 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -13,8 +13,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the diff --git a/release/sysinstall/media.c b/release/sysinstall/media.c index 2d9ba18..03ec86b 100644 --- a/release/sysinstall/media.c +++ b/release/sysinstall/media.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: media.c,v 1.22 1995/05/29 11:01:27 jkh Exp $ + * $Id: media.c,v 1.23 1995/05/30 05:13:21 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -13,8 +13,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the diff --git a/release/sysinstall/menus.c b/release/sysinstall/menus.c index 3008e98..6811a91 100644 --- a/release/sysinstall/menus.c +++ b/release/sysinstall/menus.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: menus.c,v 1.39 1995/05/29 11:58:16 jkh Exp $ + * $Id: menus.c,v 1.40 1995/05/30 05:13:23 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -13,8 +13,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the @@ -206,7 +206,7 @@ To specify a URL not in this list, chose \"other\".", DMENU_SET_VARIABLE, "ftp=ftp://ftp.physics.usyd.edu.au/FreeBSD/2.0.5-ALPHA", 0, 0 }, { "Finland", "nic.funet.fi", DMENU_SET_VARIABLE, "ftp=ftp://nic.funet.fi/pub/unix/FreeBSD/2.0.5-ALPHA", 0, 0 }, - { "France", "ftp.ibp.fr", + { "France", "ftp.ibp.fr", DMENU_SET_VARIABLE, "ftp=ftp://ftp.ibp.fr/pub/FreeBSD/2.0.5-ALPHA", 0, 0 }, { "Germany", "ftp.uni-duisburg.de", DMENU_SET_VARIABLE, "ftp=ftp://ftp.uni-duisburg.de/pub/unix/FreeBSD/2.0.5-ALPHA", 0, }, @@ -214,7 +214,7 @@ To specify a URL not in this list, chose \"other\".", DMENU_SET_VARIABLE, "ftp=ftp://orgchem.weizmann.ac.il/pub/FreeBSD-2.0.5-ALPHA", 0, 0 }, { "Japan", "ftp.sra.co.jp", DMENU_SET_VARIABLE, "ftp=ftp://ftp.sra.co.jp/pub/os/FreeBSD/distribution/2.0.5-ALPHA", 0, 0 }, - { "Japan #2", "ftp.mei.co.jp", + { "Japan #2", "ftp.mei.co.jp", DMENU_SET_VARIABLE, "ftp=ftp://ftp.mei.co.jp/free/PC-UNIX/FreeBSD/2.0.5-ALPHA", 0, 0 }, { "Japan #3", "ftp.waseda.ac.jp", DMENU_SET_VARIABLE, "ftp=ftp://ftp.waseda.ac.jp/pub/FreeBSD/2.0.5-ALPHA", 0, 0 }, @@ -430,7 +430,7 @@ When you're finished, select Cancel.", "XF86.hlp", { { "Basic", "Basic component menu (required)", DMENU_SUBMENU, &MenuXF86SelectCore, 0, 0 }, - { "Server", "X server menu", + { "Server", "X server menu", DMENU_SUBMENU, &MenuXF86SelectServer, 0, 0 }, { "Fonts", "Font set menu", DMENU_SUBMENU, &MenuXF86SelectFonts, 0, 0 }, diff --git a/release/sysinstall/misc.c b/release/sysinstall/misc.c index f1b8066..49d68f9 100644 --- a/release/sysinstall/misc.c +++ b/release/sysinstall/misc.c @@ -1,7 +1,7 @@ /* * Miscellaneous support routines.. * - * $Id: misc.c,v 1.9 1995/05/25 01:22:19 jkh Exp $ + * $Id: misc.c,v 1.10 1995/05/29 11:01:31 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -10,8 +10,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the @@ -234,7 +234,7 @@ Mount(char *mountp, void *dev) return 1; } if (isDebug()) - msgDebug("mount %s %s\n", device, mountpoint); + msgDebug("mount %s %s\n", device, mountpoint); bzero(&ufsargs, sizeof(ufsargs)); ufsargs.fspec = device; if (mount(MOUNT_UFS, mountpoint, 0, (caddr_t)&ufsargs) == -1) { @@ -265,7 +265,7 @@ Mount_DOS(char *mountp, void *dev) msgConfirm("Unable to make directory mountpoint for %s!", mountpoint); return 1; } - msgDebug("mount %s %s\n", device, mountpoint); + msgDebug("mount %s %s\n", device, mountpoint); ufsargs.fspec = device; if (mount(MOUNT_MSDOS, mountpoint, 0, (caddr_t)&ufsargs) == -1) { msgConfirm("Error mounting %s on %s : %s\n", device, mountpoint, strerror(errno)); diff --git a/release/sysinstall/msg.c b/release/sysinstall/msg.c index 5930d14..0d3791c 100644 --- a/release/sysinstall/msg.c +++ b/release/sysinstall/msg.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: msg.c,v 1.26 1995/05/29 01:43:18 jkh Exp $ + * $Id: msg.c,v 1.27 1995/05/29 11:01:32 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -13,8 +13,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the diff --git a/release/sysinstall/network.c b/release/sysinstall/network.c index 2258162..950896e 100644 --- a/release/sysinstall/network.c +++ b/release/sysinstall/network.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: network.c,v 1.4 1995/05/29 01:43:20 jkh Exp $ + * $Id: network.c,v 1.5 1995/05/29 11:01:34 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -15,8 +15,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the diff --git a/release/sysinstall/nfs.c b/release/sysinstall/nfs.c index 044e959..f752aca 100644 --- a/release/sysinstall/nfs.c +++ b/release/sysinstall/nfs.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: nfs.c,v 1.2 1995/05/29 11:01:35 jkh Exp $ + * $Id: nfs.c,v 1.3 1995/05/30 05:13:24 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -13,8 +13,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the diff --git a/release/sysinstall/sysinstall.h b/release/sysinstall/sysinstall.h index 42da9c4..e18bcf8 100644 --- a/release/sysinstall/sysinstall.h +++ b/release/sysinstall/sysinstall.h @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: sysinstall.h,v 1.39 1995/05/28 09:31:39 jkh Exp $ + * $Id: sysinstall.h,v 1.40 1995/05/29 11:01:37 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -13,8 +13,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the @@ -215,7 +215,7 @@ typedef struct _devPriv { extern int DebugFD; /* Where diagnostic output goes */ extern Boolean OnCDROM; /* Are we running off of a CDROM? */ extern Boolean OnSerial; /* Are we on a serial console? */ -extern Boolean SystemWasInstalled; /* Did we install it? */ +extern Boolean SystemWasInstalled; /* Did we install it? */ extern Boolean RunningAsInit; /* Are we running stand-alone? */ extern Boolean DialogActive; /* Is the dialog() stuff up? */ extern Boolean ColorDisplay; /* Are we on a color display? */ diff --git a/release/sysinstall/system.c b/release/sysinstall/system.c index 2e55385..8f68a42 100644 --- a/release/sysinstall/system.c +++ b/release/sysinstall/system.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: system.c,v 1.41 1995/05/29 02:13:31 phk Exp $ + * $Id: system.c,v 1.42 1995/05/29 11:01:39 jkh Exp $ * * Jordan Hubbard * @@ -217,7 +217,7 @@ systemHelpFile(char *file, char *buf) strcpy(oldfile, buf); return buf; } - } + } /* Fall back to normal imperialistic mode :-) */ cp = "en_US.ISO8859-1"; snprintf(buf, FILENAME_MAX, "%s/%s", cp, file); diff --git a/release/sysinstall/tape.c b/release/sysinstall/tape.c index ac288b5..a60f48f 100644 --- a/release/sysinstall/tape.c +++ b/release/sysinstall/tape.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: tape.c,v 1.3 1995/05/28 03:05:04 jkh Exp $ + * $Id: tape.c,v 1.4 1995/05/29 11:01:40 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -15,8 +15,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the diff --git a/release/sysinstall/tcpip.c b/release/sysinstall/tcpip.c index 22c3294..ea2cf3e 100644 --- a/release/sysinstall/tcpip.c +++ b/release/sysinstall/tcpip.c @@ -1,5 +1,5 @@ /* - * $Id: tcpip.c,v 1.27 1995/05/29 11:01:41 jkh Exp $ + * $Id: tcpip.c,v 1.28 1995/05/29 12:32:41 jkh Exp $ * * Copyright (c) 1995 * Gary J Palmer. All rights reserved. @@ -8,8 +8,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the @@ -206,7 +206,7 @@ tcpOpenDialog(Device *devp) /* Initialise vars from previous device values */ if (devp->private) { DevInfo *di = (DevInfo *)devp->private; - + strcpy(ipaddr, di->ipaddr); strcpy(netmask, di->netmask); strcpy(extras, di->extras); @@ -265,7 +265,7 @@ tcpOpenDialog(Device *devp) last = obj; while (last->next) last = last->next; - + /* Find the first object in the list */ first = obj; while (first->prev) @@ -371,7 +371,7 @@ tcpOpenDialog(Device *devp) default: beep(); } - + /* BODGE ALERT! */ if (((tmp = index(hostname, '.')) != NULL) && (strlen(domainname)==0)) { strncpy(domainname, tmp + 1, strlen(tmp + 1)); @@ -384,7 +384,7 @@ tcpOpenDialog(Device *devp) dialog_clear(); refresh(); use_helpfile(NULL); - + /* We actually need to inform the rest of sysinstall about this data now - if the user hasn't selected cancel, save the stuff out to the environment via the variable_set layers */ diff --git a/release/sysinstall/termcap.c b/release/sysinstall/termcap.c index ef70a75..384e532 100644 --- a/release/sysinstall/termcap.c +++ b/release/sysinstall/termcap.c @@ -1,8 +1,8 @@ /* * Copyright (c) 1994, Paul Richards. - * + * * All rights reserved. - * + * * This software may be used, modified, copied, distributed, and sold, in both * source and binary form provided that the above copyright and these terms * are retained, verbatim, as the first lines of this file. Under no diff --git a/release/sysinstall/ufs.c b/release/sysinstall/ufs.c index 55a2701..9ad4a81 100644 --- a/release/sysinstall/ufs.c +++ b/release/sysinstall/ufs.c @@ -4,7 +4,7 @@ * This is probably the last attempt in the `sysinstall' line, the next * generation being slated to essentially a complete rewrite. * - * $Id: ufs.c,v 1.2 1995/05/27 23:39:35 phk Exp $ + * $Id: ufs.c,v 1.3 1995/05/29 11:01:42 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -15,8 +15,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the diff --git a/release/sysinstall/variable.c b/release/sysinstall/variable.c index 4ff9499..d2b9799 100644 --- a/release/sysinstall/variable.c +++ b/release/sysinstall/variable.c @@ -4,7 +4,7 @@ * This is probably the last program in the `sysinstall' line - the next * generation being essentially a complete rewrite. * - * $Id: variable.c,v 1.3 1995/05/26 20:45:20 jkh Exp $ + * $Id: variable.c,v 1.4 1995/05/27 10:47:44 jkh Exp $ * * Copyright (c) 1995 * Jordan Hubbard. All rights reserved. @@ -13,8 +13,8 @@ * modification, are permitted provided that the following conditions * are met: * 1. Redistributions of source code must retain the above copyright - * notice, this list of conditions and the following disclaimer, - * verbatim and that no modifications are made prior to this + * notice, this list of conditions and the following disclaimer, + * verbatim and that no modifications are made prior to this * point in the file. * 2. Redistributions in binary form must reproduce the above copyright * notice, this list of conditions and the following disclaimer in the diff --git a/release/sysinstall/wizard.c b/release/sysinstall/wizard.c index a3f9285..81c2b0f 100644 --- a/release/sysinstall/wizard.c +++ b/release/sysinstall/wizard.c @@ -6,7 +6,7 @@ * this stuff is worth it, you can buy me a beer in return. Poul-Henning Kamp * ---------------------------------------------------------------------------- * - * $Id: wizard.c,v 1.3 1995/05/17 14:40:00 jkh Exp $ + * $Id: wizard.c,v 1.4 1995/05/20 10:33:14 jkh Exp $ * */ @@ -86,10 +86,10 @@ Scan_Disk(Disk *d) char device[64]; u_long l; int i,j,fd; - + strcpy(device,"/dev/r"); strcat(device,d->name); - + fd = open(device,O_RDWR); if (fd < 0) { msgWarn("open(%s) failed", device); @@ -108,9 +108,9 @@ Scan_Disk(Disk *d) printf(".%lu\nG: %lu.",l-1,l); fflush(stdout); } - i = j; + i = j; } - } + } close(fd); } @@ -123,7 +123,7 @@ slice_wizard(Disk *d) char *p,*q=0; char **cp,*cmds[200]; int ncmd,i; - + sprintf(myprompt,"%s> ", d->name); while(1) { printf("--==##==--\n"); @@ -158,41 +158,41 @@ slice_wizard(Disk *d) All_FreeBSD(d); continue; } - if (!strcasecmp(*cmds,"bios") && ncmd == 4) { + if (!strcasecmp(*cmds,"bios") && ncmd == 4) { Set_Bios_Geom(d, strtol(cmds[1],0,0), strtol(cmds[2],0,0), strtol(cmds[3],0,0)); continue; } - if (!strcasecmp(*cmds,"phys") && ncmd == 4) { + if (!strcasecmp(*cmds,"phys") && ncmd == 4) { d = Set_Phys_Geom(d, strtol(cmds[1],0,0), strtol(cmds[2],0,0), strtol(cmds[3],0,0)); continue; } - if (!strcasecmp(*cmds,"collapse")) { + if (!strcasecmp(*cmds,"collapse")) { if (cmds[1]) while (Collapse_Chunk(d, (struct chunk *)strtol(cmds[1],0,0))) ; - else + else Collapse_Disk(d); continue; - } - if (!strcasecmp(*cmds,"list")) { + } + if (!strcasecmp(*cmds,"list")) { cp = Disk_Names(); printf("Disks:"); for(i=0;cp[i];i++) { printf(" %s",cp[i]); free(cp[i]); - } + } free(cp); continue; } - if (!strcasecmp(*cmds,"create") && ncmd == 6) { - + if (!strcasecmp(*cmds,"create") && ncmd == 6) { + printf("Create=%d\n", Create_Chunk(d, strtol(cmds[1],0,0), @@ -260,6 +260,6 @@ slice_wizard(Disk *d) for(i=0;chunk_n[i];i++) printf("%d = %s%s",i,chunk_n[i],i == 4 ? "\n\t" : " "); printf("\n"); - + } } -- cgit v1.1