comparison lib-src/fakemail.c @ 410:de805c49cfc1 r21-2-35

Import from CVS: tag r21-2-35
author cvs
date Mon, 13 Aug 2007 11:19:21 +0200
parents 74fd4e045ea6
children 697ef44129c6
comparison
equal deleted inserted replaced
409:301b9ebbdf3b 410:de805c49cfc1
44 fprintf (stderr, "set the Lisp variable `sendmail-program' to point\n"); 44 fprintf (stderr, "set the Lisp variable `sendmail-program' to point\n");
45 fprintf (stderr, "to the path of the sendmail binary.\n"); 45 fprintf (stderr, "to the path of the sendmail binary.\n");
46 return 1; 46 return 1;
47 } 47 }
48 #else /* not BSD 4.2 (or newer) */ 48 #else /* not BSD 4.2 (or newer) */
49 #ifdef MSDOS
50 int
51 main (int argc, char *argv[])
52 {
53 return 0;
54 }
55 #else /* not MSDOS */
56 /* This conditional contains all the rest of the file. */
57 49
58 /* These are defined in config in some versions. */ 50 /* These are defined in config in some versions. */
59 51
60 #ifdef static 52 #ifdef static
61 #undef static 53 #undef static
320 time (&idiotic_interface); 312 time (&idiotic_interface);
321 the_date = ctime (&idiotic_interface); 313 the_date = ctime (&idiotic_interface);
322 /* the_date has an unwanted newline at the end */ 314 /* the_date has an unwanted newline at the end */
323 date_length = strlen (the_date) - 1; 315 date_length = strlen (the_date) - 1;
324 the_date[date_length] = '\0'; 316 the_date[date_length] = '\0';
325 #ifdef WINDOWSNT 317 #ifdef WIN32_NATIVE
326 temp = "(null)"; 318 temp = "(null)";
327 #else 319 #else
328 temp = cuserid ((char *) NULL); 320 temp = cuserid ((char *) NULL);
329 #endif 321 #endif
330 user_length = strlen (temp); 322 user_length = strlen (temp);
671 } 663 }
672 664
673 return close_the_streams (); 665 return close_the_streams ();
674 } 666 }
675 667
676 #endif /* not MSDOS */
677 #endif /* not BSD 4.2 (or newer) */ 668 #endif /* not BSD 4.2 (or newer) */