[PATCH] kdebase/kcontrol/fileshare/fileshare.cpp

Stephan Kulow coolo at kde.org
Sat Feb 22 17:14:02 GMT 2003


On Freitag, 21. Februar 2003 21:22, Willy De la Court wrote:
> something very strang is going on here when using this to read the config
> file /etc/security/fileshare.conf
>
> QString str(QCString(file.readAll()));
>
> when reading the file that contains "RESTRICT=no" without trailing newline
> the length of str is 13 not 11 when changing the statement to
>
The only way I have to explain it is with strangely encoded characters, but 
not for your string. But the patch should go in anyway.

Greetings, Stephan





More information about the kde-core-devel mailing list