Hi,

For the last few releases, including .65,  freshclam.c has needed the patch
below to compile on cygwin...

*** freshclam.c.old     Fri Nov 14 15:46:12 2003
--- freshclam.c Fri Nov 14 15:46:27 2003
***************
*** 42,51 ****
  void freshclam(struct optstruct *opt)
  {
        int ret;
  #ifndef C_CYGWIN
        struct passwd *user;
        char *unpuser;
-       char *newdir;

      if(optc(opt, 'u'))
          unpuser = getargc(opt, 'u');
--- 42,51 ----
  void freshclam(struct optstruct *opt)
  {
        int ret;
+       char *newdir;
  #ifndef C_CYGWIN
        struct passwd *user;
        char *unpuser;

      if(optc(opt, 'u'))
          unpuser = getargc(opt, 'u');




-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
_______________________________________________
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users

Reply via email to