diff options
author | David Cantrell <dcantrell@redhat.com> | 2006-07-26 21:27:11 +0000 |
---|---|---|
committer | David Cantrell <dcantrell@redhat.com> | 2006-07-26 21:27:11 +0000 |
commit | af9c49fa0485c76ebeb0b2dd560effccd3821751 (patch) | |
tree | fcac21399ac629cff537b38fb4d67e1c0f48ebe9 /loader2/loader.c | |
parent | af6c15155a36f2ee5eace7fa88c2ec2daa8c9e16 (diff) | |
download | anaconda-af9c49fa0485c76ebeb0b2dd560effccd3821751.tar.gz anaconda-af9c49fa0485c76ebeb0b2dd560effccd3821751.tar.xz anaconda-af9c49fa0485c76ebeb0b2dd560effccd3821751.zip |
* loader2/urls.c (urlinstStartTransfer): Determine address family
and pass that to the ftpOpen() call.
* urlinstall.py (UrlInstallMethod.__init__): Use urlparse.
* isys/dns.c, isys/dns.h: Updated for IPv6 support.
* loader2/Makefile: Cleanups.
* loader2/ftp.c, loader2/ftp.h: Updated for IPv6 support.
* loader2/loader.c: Whitespace consistency.
* loader2/method.c: Whitespace consistency.
* loader2/urls.c: Updated for IPv6 support.
Diffstat (limited to 'loader2/loader.c')
-rw-r--r-- | loader2/loader.c | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/loader2/loader.c b/loader2/loader.c index f92d6371e..985b637bf 100644 --- a/loader2/loader.c +++ b/loader2/loader.c @@ -180,22 +180,22 @@ static void initProductInfo(void) { f = fopen("/.buildstamp", "r"); if (!f) { productName = strdup("anaconda"); - productPath = strdup("anaconda"); + productPath = strdup("anaconda"); } else { - productName = malloc(256); - productPath = malloc(256); + productName = malloc(256); + productPath = malloc(256); productName = fgets(productName, 256, f); /* stamp time */ productName = fgets(productName, 256, f); /* product name */ - productPath = fgets(productPath, 256, f); /* product version */ - productPath = fgets(productPath, 256, f); /* product path */ + productPath = fgets(productPath, 256, f); /* product version */ + productPath = fgets(productPath, 256, f); /* product path */ i = strlen(productName) - 1; - while (isspace(*(productName + i))) { + while (isspace(*(productName + i))) { *(productName + i) = '\0'; i--; } i = strlen(productPath) - 1; - while (isspace(*(productPath + i))) { + while (isspace(*(productPath + i))) { *(productPath + i) = '\0'; i--; } |