[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[bug #29920] problem when opening a file in /sys using NSString stringWi

From: Riccardo mottola
Subject: [bug #29920] problem when opening a file in /sys using NSString stringWithContentsOfFile
Date: Mon, 24 May 2010 08:48:16 +0000
User-agent: Opera/9.80 (Windows NT 5.1; U; en-GB) Presto/2.5.24 Version/10.53

Follow-up Comment #3, bug #29920 (project gnustep):

The error message is surely a bit misleading.

I think it should be possible to read files on synthesized virtual
filesystem. I have checked and different Linux installations on diffrent
computers share the same "problem". I'd say it is currently a "bug-feature"
instead of just an error.

I can try to add additional code to handle this special case. Maybe it is
just sensible to remove the check for certain files.

The first question is, however, how to recognize we are treating a special
file? Could checking for the first path element to be /sys a possible idea? It
is a bit "broad" perhaps?
I don't see a property on the file itself to identify it, however!


Reply to this item at:


  Messaggio inviato con/da Savannah

reply via email to

[Prev in Thread] Current Thread [Next in Thread]