DataMuseum.dk

Presents historical artifacts from the history of:

DKUUG/EUUG Conference tapes

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about DKUUG/EUUG Conference tapes

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download
Index: T f

⟦259ead0cf⟧ TextFile

    Length: 585 (0x249)
    Types: TextFile
    Names: »fdopen.patch«

Derivation

└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦02f44f254⟧ »EurOpenD3/mail/sendmail.5.65.tar.Z« 
        └─⟦4e8d58309⟧ 
            └─⟦this⟧ »./support/fdopen.patch« 
└─⟦9ae75bfbd⟧ Bits:30007242 EUUGD3: Starter Kit
    └─⟦bfebc70e2⟧ »EurOpenD3/mail/sendmail-5.65b+IDA-1.4.3.tar.Z« 
        └─⟦f9e35cd84⟧ 
            └─⟦this⟧ »sendmail/support/fdopen.patch« 

TextFile

If your system doesn't buffer streams that are fdopen'd,
apply the following patch.  It makes a tremendous difference.

*** deliver.c.orig	Wed Jul 23 18:27:04 1986
--- deliver.c	Tue Nov 24 14:39:10 1987
***************
*** 694,699 ****
--- 694,700 ----
  	FILE *mfile;
  	FILE *rfile;
  	extern FILE *fdopen();
+ 	static char mbuffer[BUFSIZ];
  
  # ifdef DEBUG
  	if (tTd(11, 1))
***************
*** 910,915 ****
--- 925,931 ----
  
  	(void) close(mpvect[0]);
  	mfile = fdopen(mpvect[1], "w");
+ 	setbuffer(mfile, mbuffer, BUFSIZ);
  	if (clever)
  	{
  		(void) close(rpvect[1]);