From: Godmar Back (gback@cs.utah.edu)
Date: Wed Dec 09 1998 - 21:14:47 EST
>
> For example, I almost checked in a patch that would make the class
> reading code use <stdio.h> routines to get the advantage of buffering,
> by replacing read(), write(), etc with fread(), fwrite(), etc.
> But the I had no idea this would screw up threading because read()
> and write() are actually not the normal system calls you know and love.
Even though there is undoubtedly some convenience in simply writing
"read(), open(), etc.", I tend to agree that for the sake of clarity,
renaming would not be a bad idea. No preprocessor, it's the Java idea
after all.
>
> Anyway, is anyone interested in a "rename" project? That is, everywhere
> there's a use of the "fake" malloc, replace with kmalloc(), and change
> the corresponding #define. I might take a shot at it at some point.
> In the meantime, who has a complete list of these "fake" identifiers?
jsyscall.h has, plus for malloc etc. other files in include.
- Godmar
This archive was generated by hypermail 2b29 : Sat Sep 23 2000 - 19:57:10 EDT