Module Name:    src
Committed By:   rillig
Date:           Sat Sep 11 18:38:25 UTC 2021

Modified Files:
        src/include: stdio.h

Log Message:
stdio.h: remove outdated comment about fpos_t

The 'fairly grotesque' from 1994-04-03 referred to the conditional
definition of the type fpos_t, using two different integer types that
both happened to be 64-bit.

When stdio was changed on 2012-01-22 to keep track of the mbstate, the
conditional type definition was removed and the comment no longer made
sense.


To generate a diff of this commit:
cvs rdiff -u -r1.101 -r1.102 src/include/stdio.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/include/stdio.h
diff -u src/include/stdio.h:1.101 src/include/stdio.h:1.102
--- src/include/stdio.h:1.101	Sat Sep 11 16:58:38 2021
+++ src/include/stdio.h	Sat Sep 11 18:38:25 2021
@@ -1,4 +1,4 @@
-/*	$NetBSD: stdio.h,v 1.101 2021/09/11 16:58:38 rillig Exp $	*/
+/*	$NetBSD: stdio.h,v 1.102 2021/09/11 18:38:25 rillig Exp $	*/
 
 /*-
  * Copyright (c) 1990, 1993
@@ -66,11 +66,6 @@ typedef __va_list va_list;
 
 #include <sys/null.h>
 
-/*      
- * This is fairly grotesque, but pure ANSI code must not inspect the
- * innards of an fpos_t anyway.  The library internally uses off_t,
- * which we assume is exactly as big as eight chars.
- */
 typedef struct __sfpos {
 	__off_t _pos;
 	__mbstate_t _mbstate_in, _mbstate_out;

Reply via email to