Re: Problem logging into Yahoo

Ramprasad A Padmanabhan <[email protected]> Mon, 10 May 2004 10:17:37 +0530
Newsgroups gmane.mail.yosucker.general
Message-ID <[email protected]>
Jeffrey F wrote:

>Ok. After some more debugging, it looks like the page3 redirect is no longer
>there. Commenting it out completely seems to do the trick.
>
>Apply this patch to lib/sputnik.pm
>
>--- sputnik.good        2004-05-06 12:14:33.000000000 -0400
>+++ sputnik.pm  2004-05-06 15:54:36.000000000 -0400
>@@ -399,20 +399,20 @@
>   # STEP 3
>   ##
>
>-  $host = (split("\/",$location))[0];
>-  $location =~ s/$host//g;
>-  $what = $location;
>-  chomp($what);
>+  #$host = (split("\/",$location))[0];
>+  #$location =~ s/$host//g;
>+  #$what = $location;
>+  #chomp($what);
>
>   # Third login redirect
>-  my $page3 = ShortPage->new(\$class->{config}, \$class->{cookiez});
>+  #my $page3 = ShortPage->new(\$class->{config}, \$class->{cookiez});
>
>-  $location=$page3->load($host, $what);
>+  #$location=$page3->load($host, $what);
>
>   # Set referer...
>-  $class->{config}{REFERER} = "http://$host$what";
>+  #$class->{config}{REFERER} = "http://$host$what";
>
>-  print "." if $class->{config}{DEBUG};                 # DEBUG
>+  #print "." if $class->{config}{DEBUG};                 # DEBUG
>
>   ###
>   # STEP 4
>
>
>--Jeffrey
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by Sleepycat Software
>Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
>higher performing products faster, at low TCO.
>http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3
>_______________________________________________
>Yosucker-general mailing list
>Yosucker-general-5NWGOfrQmneRv+LV9MX5uipxlwaOVQ5f@public.gmane.org
>https://lists.sourceforge.net/lists/listinfo/yosucker-general
>  
>

My patch  is failing, I think it is a problem with my cut pasting
  Can you please send the patch as a gzip file

This is the error I am getting

[[email protected] lib]$ patch -p1 < s.patch
missing header for unified diff at line 3 of patch
can't find file to patch at input line 3
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
--------------------------
|--- sputnik.good        2004-05-06 12:14:33.000000000 -0400
|+++ sputnik.pm  2004-05-06 15:54:36.000000000 -0400
--------------------------
File to patch: sputnik.pm
patching file sputnik.pm
patch: **** malformed patch at line 5:    ##




Thanks
Ramprasad


-------------------------------------------------------
This SF.Net email is sponsored by Sleepycat Software
Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver
higher performing products faster, at low TCO.
http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3