On Mon, 2008-05-19 at 19:39 -0700, Eric B Munson wrote:
> 
> +/* We override the normal open, so libhugetlbfs gets our modified
> + * mounts file */
> +int open(const char *path, int flags, ...)
> +{
> +       int (*old_open)(const char *, int, ...);
> +       int fd;

Just curious, but why not call this myopen() or some other new name?
Seems like something that might confuse people modifying the file in the
future.

-- Dave


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Libhugetlbfs-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/libhugetlbfs-devel

Reply via email to