🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Steven M. Schultz Thu, 10 Sep 1992 03:56
tftp symbol clash with resolver routines (#79)
#61
Author: Steven M. Schultz
Date: Thu, 10 Sep 1992 03:56
33 lines
1481 bytes
Subject: tftp symbol clash with resolver routines (#79)
Index:	ucb/tftp/main.c 2.11BSD

Description:
	The symbol 'connected' conflicts with the external routine "connect(2)"
	called by the resolver routines.

Repeat-By:
	Build 'tftp' with the resolver routines rather than the host file
	routines.  Observe the crash as the first call to 'connect(2)' goes
	to 'connected's address instead.

Fix:
	Apply the following patch and recompile/install 'tftp'.

	Yes, i _know_ the correct solution is longer names in the compiler,
	assembler, linker, archiver, etc, etc.  For now this will have to do.

=======================================cut here================================
*** /usr/src/ucb/tftp/main.c.old	Wed May 15 21:08:00 1991
--- /usr/src/ucb/tftp/main.c	Wed Sep  9 10:22:44 1992
***************
*** 52,57 ****
--- 52,60 ----
  short   port;
  int	trace;
  int	verbose;
+ #ifdef	pdp11
+ #define	connected Xconnected
+ #endif
  int	connected;
  char	mode[32];
  char	line[200];
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads