Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/include stdio.h: remove outdated comment about fpos_t
details: https://anonhg.NetBSD.org/src/rev/422e2c62488f
branches: trunk
changeset: 985867:422e2c62488f
user: rillig <rillig%NetBSD.org@localhost>
date: Sat Sep 11 18:38:25 2021 +0000
description:
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.
diffstat:
include/stdio.h | 7 +------
1 files changed, 1 insertions(+), 6 deletions(-)
diffs (21 lines):
diff -r 246de0b10acc -r 422e2c62488f include/stdio.h
--- a/include/stdio.h Sat Sep 11 18:18:28 2021 +0000
+++ b/include/stdio.h Sat Sep 11 18:38:25 2021 +0000
@@ -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 @@
#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;
Home |
Main Index |
Thread Index |
Old Index