Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#1193 - pacman proxy port defaults to 0

Attached to Project: Arch Linux
Opened by Kevin Piche (kpiche) - Monday, 26 July 2004, 18:01 GMT
Last edited by Judd Vinet (judd) - Tuesday, 27 July 2004, 16:01 GMT
Task Type Bug Report
Category Packages: Current
Status Closed
Assigned To Judd Vinet (judd)
Architecture not specified
Severity Medium
Priority Normal
Reported Version 0.7 Wombat
Due in Version Undecided
Due Date Undecided
Percent Complete 0%
Votes 0
Private No

Details

Bug in pacman 2.8.2-1 where if pacman.conf contains:
ProxyHost = server
and no ProxyPort is provided it will try to connect to 'server:0'. Error is in pacsync.c and appears to be a cut and paste error.

Patch {
--- src/pacsync.c.orig 2004-07-26 12:46:38.000000000 -0400
+++ src/pacsync.c 2004-07-26 12:48:19.000000000 -0400
@@ -151,7 +151,7 @@
char *host;
unsigned port;
host = (pmo_proxyhost) ? pmo_proxyhost : server->server;
- port = (pmo_proxyhost) ? pmo_proxyport : 80;
+ port = (pmo_proxyport) ? pmo_proxyport : 80;
if(strchr(host, ':')) {
vprint("Connecting to %s\n", host);
} else {
}

The tabs have been mangled in the patch above, but it's just a variable change.
   p282-defaultproxyport.patch (0.4 KiB)
This task depends upon

Closed by  Judd Vinet (judd)
Saturday, 16 October 2004, 21:18 GMT
Reason for closing:  Fixed
Comment by Kevin Piche (kpiche) - Monday, 26 July 2004, 18:05 GMT
Pacman is a great program but is the developer allergic to comments and blank lines?
Comment by Judd Vinet (judd) - Tuesday, 27 July 2004, 16:00 GMT
Yes. You're exactly right. Very astute. I have a terrible allergy to verbosity.

Blank lines don't affect me as badly, but they can still keep me up at night. It's mostly a sinus thing, but the doctors say that I shouldn't aggravate it any further, and just avoid blank lines as I do with comments.

But is that really any of your business? Please don't pry into my personal medical problems.
Comment by Kevin Piche (kpiche) - Tuesday, 27 July 2004, 16:54 GMT
Sinus thing! :) Perhaps my comment was a little inflammatory.

Loading...