lkml.org 
[lkml]   [2001]   [Nov]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: PROPOSAL: dot-proc interface [was: /proc stuff]
Date
On Sunday 04 November 2001 20:24, Jakob Østergaard wrote:
> Does this work ? Yes of course. But what if I ported my program to
> a 64 bit arch... The program still compiles. It also runs. But the
> values are no longer correct. Now *that* is hell.

Actually I worry more about those programs that are already compiled and will
break when the kernel changes. But even if you recompile the code, how can
you be sure that the programmer uses longs instead of ints for those 64 bit
types? The C compiler allows the implicit conversion without warning. If you
change the type the program has to be changed, no matter what you do.

> I want type information.

BTW nobody says to one-value-files can not have types (see my earlier posts
in this thread).

bye...
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/

\
 
 \ /
  Last update: 2005-03-22 13:12    [W:0.145 / U:10.100 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site