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 - download
Index: ┃ 3 T

⟦7e5673d53⟧ TextFile

    Length: 848 (0x350)
    Types: TextFile
    Names: »3.1«

Derivation

└─⟦a0efdde77⟧ Bits:30001252 EUUGD11 Tape, 1987 Spring Conference Helsinki
    └─ ⟦this⟧ »EUUGD11/euug-87hel/sec1/news/src/BUGS/3.1« 

TextFile


There's a typo in patch #3. On non-4.2BSD and non-lockf sites, inews.c
passes two arguments to UNLINK() where it only expects one. Unfortunately,
this has the affect of unlinking the active file rather than the lock file!
My guess is that the LINK() line a few lines above was simply copied. The
fix is simple.

					Tony Hansen
					ihnp4!pegasus!hansen 

*** inews.c.orig	Wed Dec 31 16:20:54 1986
--- inews.c	Wed Dec 31 16:27:19 1986
***************
*** 155,161
  #ifdef	LOCKF
  	lockf(fileno(actfp), F_ULOCK, 0);
  #else	/* !LOCKF */
! 	UNLINK(ACTIVE, bfr);
  #endif /* V7 */
  #endif	/* !BSD4_2 */
  	if (argc > 1 && !strcmp(*(argv+1), "-U")) {

--- 155,161 -----
  #ifdef	LOCKF
  	lockf(fileno(actfp), F_ULOCK, 0);
  #else	/* !LOCKF */
! 	UNLINK(bfr);
  #endif /* V7 */
  #endif	/* !BSD4_2 */
  	if (argc > 1 && !strcmp(*(argv+1), "-U")) {