At Tue, 10 Apr 2007 17:25:54 +0200, <[EMAIL PROTECTED]> wrote: > > Hi, > > On Mon, Apr 09, 2007 at 10:50:26PM +0200, Thomas Schwinge wrote: > > > The same happens when passing NULL file names to `open' and a lot (if > > not all) of their friends. > > Yes, that was the Qt situation. > > > So, should instead `file_name_lookup' or `hurd_file_name_lookup' be > > made robust enough to handle a NULL file name? (Fail with EINVAL?) > > Problem is that while it's easy to check for NULL, we can't easily catch > other kinds of bad pointers. Considering this, I'm not sure it's > worthwhile to specially handle the NULL case.
The argument is not based on helping programmers; it is based on implementing the de facto interface for which people program. _______________________________________________ Bug-hurd mailing list Bug-hurd@gnu.org http://lists.gnu.org/mailman/listinfo/bug-hurd