Package: tf5
Severity: normal
Tags: upstream, patch

Patch attached, should be sent upstream.

The patch explains itself fairly well, as the option parsing code expects an 
int there, not a long.

Zephaniah E.  Hull.

-- 
This fixes the /fg command for 64 bit systems.
(The options code expects the argument to be modified to be an int.)

--- src/socket.c.ORIG   2005-09-10 01:25:18.000000000 -0400
+++ src/socket.c        2005-09-10 01:25:34.000000000 -0400
@@ -1105,7 +1105,7 @@
 struct Value *handle_fg_command(String *args, int offset)
 {
     int opt, nosock = FALSE, noerr = FALSE, quiet = FALSE;
-    long num = 0;
+    int num = 0;
     Sock *sock;
 
     startopt(CS(args), "nlqs<>c#");

Reply via email to