[PATCH] kdebase/kcontrol/fileshare/fileshare.cpp
Willy De la Court
Willy.DelaCourt at pandora.be
Fri Feb 21 20:22:08 GMT 2003
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
QString str(file.readAll());
everything is fine can anyone give a good explanation i'v tried to find the
problem in qfile qcstring qbytearray but it's eluding me.
patch included please review and commit because i'm still waiting for my CVS
access.
--
Simple things make people happy.
Willy De la Court
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fileshare.patch
Type: text/x-diff
Size: 554 bytes
Desc: not available
URL: <http://mail.kde.org/pipermail/kde-core-devel/attachments/20030221/384bde87/attachment.patch>
More information about the kde-core-devel
mailing list