🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by TANAKA Satoshi Thu, 01 Oct 1992 02:01
finger-1.35 bug report.
#971
Author: TANAKA Satoshi
Date: Thu, 01 Oct 1992 02:01
53 lines
1778 bytes
* Title
GNU finger-1.35 Bug Report.

* Changes
The Variable "time_between_polls" has a "volatile" quantifier.

* Reasons
ANSI C requirements.
After longjmp(3), a "non-volatile" variables has unpredictable value,
because of register assignment.

* The Finger version and where you obtained the distribution
GNU finger version 1.35 from sh.wide.ad.jp

* Your hardware
SONY RISC-NEWS 3460

* Operating system
NEWS-OS Release 4.1R #0: Fri Jul  5 16:44:29 JST 1991

* C Compiler used
@(#)MIPS RISCompiler 2.11 (from NEWS-OS 4.0R) Sat Jun 29 22:02:06 JST 1991

* Your network configuration; don't forget to mention what
  hardware, operating systems, and C compilers are used on each
  node where the bug manifests itself.
No relation.

* Patches if you have any
*** src/fingerd.c	Wed Sep 30 15:27:39 1992
--- src/fingerd.c.orig	Tue Aug 25 03:25:31 1992
***************
*** 74,82 ****
  char *hoststat;
  
  /* The amount of time (in seconds) we sleep between each poll. */
- #if __STDC__
- volatile
- #endif
  int time_between_polls = 120;
  
  /* The number of machines polled each time. */
--- 74,79 ----

* Anything else you think is relevant
Nothing.


$@EDCf(J $@Ao(J
TANAKA Satoshi
qtanaka@cs.uec.ac.jp 

------- End of Blind-Carbon-Copy
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