emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/lib-src/movemail.c


From: Juanma Barranquero
Subject: [Emacs-diffs] Changes to emacs/lib-src/movemail.c
Date: Tue, 04 Feb 2003 09:06:57 -0500

Index: emacs/lib-src/movemail.c
diff -c emacs/lib-src/movemail.c:1.75 emacs/lib-src/movemail.c:1.76
*** emacs/lib-src/movemail.c:1.75       Thu Nov 14 09:09:51 2002
--- emacs/lib-src/movemail.c    Tue Feb  4 09:06:56 2003
***************
*** 39,49 ****
   * "po:username".  This will cause movemail to open a connection to
   * a pop server running on $MAILHOST (environment variable).  Movemail
   * must be setuid to root in order to work with POP.
!  * 
   * New module: popmail.c
   * Modified routines:
   *    main - added code within #ifdef MAIL_USE_POP; added setuid (getuid ())
!  *            after POP code. 
   * New routines in movemail.c:
   *    get_errmsg - return pointer to system error message
   *
--- 39,49 ----
   * "po:username".  This will cause movemail to open a connection to
   * a pop server running on $MAILHOST (environment variable).  Movemail
   * must be setuid to root in order to work with POP.
!  *
   * New module: popmail.c
   * Modified routines:
   *    main - added code within #ifdef MAIL_USE_POP; added setuid (getuid ())
!  *            after POP code.
   * New routines in movemail.c:
   *    get_errmsg - return pointer to system error message
   *
***************
*** 458,464 ****
  
          pfatal_with_name (inname);
        }
!   
        {
        char buf[1024];
  
--- 458,464 ----
  
          pfatal_with_name (inname);
        }
! 
        {
        char buf[1024];
  
***************
*** 838,844 ****
        error ("Error from POP server: %s", pop_error, 0);
        return (1);
      }
!     
    return (0);
  }
  
--- 838,844 ----
        error ("Error from POP server: %s", pop_error, 0);
        return (1);
      }
! 
    return (0);
  }
  
***************
*** 913,919 ****
        line++;
        len--;
      }
!   if (fwrite (line, 1, len, mbf) != len) 
      return (NOTOK);
    if (fputc (0x0a, mbf) == EOF)
      return (NOTOK);
--- 913,919 ----
        line++;
        len--;
      }
!   if (fwrite (line, 1, len, mbf) != len)
      return (NOTOK);
    if (fputc (0x0a, mbf) == EOF)
      return (NOTOK);




reply via email to

[Prev in Thread] Current Thread [Next in Thread]