#3 Bad year if month > current month

open
nobody
None
5
2002-03-18
2002-03-18
Maximiliano Pin
No

Fixes bug 531302 (Bad year if month > current month).

Mali: You maybe don't like I changed the name of the
function ftp_get_year() to ftp_get_this_year(). I did
it to add consistency.

Everybody: Please check the 'ftp_get_this_month()' I
added. It seems to work well, and I think it is
mathematically correct, but in practice there may be
some exception?

HOW TO APPLY

1. Download the file "proc.c.diff" to the subdirectory
ftpfs of the directory where ftpfs source code is
installed. In my machine this is
"/usr/src/modules/ftpfs/ftpfs/".

2. Go to that directory and run "mv proc.c proc.c.orig".

3. Run "patch < proc.c.diff".

4. Recompile ftpfs, rmmod ftpfs && modprobe ftpfs.

AUTHOR

Maximiliano Pin (mpin AT emtesistemas.com)

Discussion

  • Patch fixing bug 531302

     
    Attachments
  • Logged In: YES
    user_id=489155

    Please, replace step 2: "mv proc.c proc.c.orig" with "cp
    proc.c proc.c.orig" ;-)