mirror of
https://bitbucket.org/smil3y/kde-workspace.git
synced 2025-02-23 18:32:50 +00:00

fixes some race-conditions, for reference:
9ed7286504
also the exit() call in case of failure to open the temporary file would
exit the program calling runRdb() (systemsettings for example) with
status 0 (normal, when an error ocurred), that is no longer the case
Signed-off-by: Ivailo Monev <xakepa10@gmail.com>
25 lines
871 B
C
25 lines
871 B
C
/*
|
|
This file is part of the KDE base distribution
|
|
Copyright (c) 2001 Waldo Bastian <bastian@kde.org>
|
|
|
|
This library is free software; you can redistribute it and/or
|
|
modify it under the terms of the GNU General Public License
|
|
version 2 as published by the Free Software Foundation.
|
|
|
|
This library is distributed in the hope that it will be useful,
|
|
but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
|
|
Library General Public License for more details.
|
|
|
|
You should have received a copy of the GNU Library General Public License
|
|
along with this library; see the file COPYING.LIB. If not, write to
|
|
the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
|
|
Boston, MA 02110-1301, USA.
|
|
*/
|
|
|
|
#ifndef KRDB_H
|
|
#define KRDB_H
|
|
|
|
void runRdb();
|
|
|
|
#endif // KRDB_H
|