By default, Bugzilla does not search the list of RESOLVED bugs.
You can force it to do so by putting the upper-case word ALL in front of your search query, e.g.: ALL tdelibs
We recommend searching for bugs this way, as you may discover that your bug has already been resolved and fixed in a later release. View | Details | Raw Unified | Return to bug 1656
Collapse All | Expand All

(-)a/tdeioslave/system/kdedmodule/systemdirnotify.cpp (-1 / +13 lines)
Lines 38-44 void SystemDirNotify::init() Link Here
38
	if( mInited ) {
38
	if( mInited ) {
39
		// FIXME Work around a probable race condition by inserting printf delay before following
39
		// FIXME Work around a probable race condition by inserting printf delay before following
40
		// code is executed -- the root cause of the race needs investigation and resolution.
40
		// code is executed -- the root cause of the race needs investigation and resolution.
41
		printf("[systemdirnotify] SystemDirNotify::init(mInited)\n");
41
		printf("[systemdirnotify] SystemDirNotify::init(mInited)\n"); fflush(stdout);
42
		return;
42
		return;
43
  }  
43
  }  
44
	mInited = true;
44
	mInited = true;
Lines 91-96 void SystemDirNotify::init() Link Here
91
91
92
KURL SystemDirNotify::toSystemURL(const KURL &url)
92
KURL SystemDirNotify::toSystemURL(const KURL &url)
93
{
93
{
94
printf("[systemdirnotify] SystemDirNotify::toSystemURL(%s)\n", url.url().ascii()); fflush(stdout);
94
	kdDebug() << "SystemDirNotify::toSystemURL(" << url << ")" << endl;
95
	kdDebug() << "SystemDirNotify::toSystemURL(" << url << ")" << endl;
95
96
96
	init();
97
	init();
Lines 131-136 KURL::List SystemDirNotify::toSystemURLList(const KURL::List &list) Link Here
131
132
132
		if (url.isValid())
133
		if (url.isValid())
133
		{
134
		{
135
printf("[systemdirnotify] SystemDirNotify::toSystemURLList(%s)\n", url.url().ascii()); fflush(stdout);
134
			new_list.append(url);
136
			new_list.append(url);
135
		}
137
		}
136
	}
138
	}
Lines 140-145 KURL::List SystemDirNotify::toSystemURLList(const KURL::List &list) Link Here
140
142
141
ASYNC SystemDirNotify::FilesAdded(const KURL &directory)
143
ASYNC SystemDirNotify::FilesAdded(const KURL &directory)
142
{
144
{
145
printf("[systemdirnotify] SystemDirNotify::FilesAdded(%s)\n", directory.url().ascii()); fflush(stdout);
143
	KURL new_dir = toSystemURL(directory);
146
	KURL new_dir = toSystemURL(directory);
144
147
145
	if (new_dir.isValid())
148
	if (new_dir.isValid())
Lines 167-172 ASYNC SystemDirNotify::FilesRemoved(const KURL::List &fileList) Link Here
167
170
168
		for (; it!=end; ++it)
171
		for (; it!=end; ++it)
169
		{
172
		{
173
printf("[systemdirnotify] SystemDirNotify::FilesRemoved(%s)\n", (*it).url().ascii()); fflush(stdout);
170
			if ((*it).upURL().upURL()==KURL("system:/"))
174
			if ((*it).upURL().upURL()==KURL("system:/"))
171
			{
175
			{
172
				notifier.FilesChanged( (*it).upURL() );
176
				notifier.FilesChanged( (*it).upURL() );
Lines 183-188 ASYNC SystemDirNotify::FilesChanged(const KURL::List &fileList) Link Here
183
	{
187
	{
184
		KDirNotify_stub notifier("*", "*");
188
		KDirNotify_stub notifier("*", "*");
185
		notifier.FilesChanged( new_list );
189
		notifier.FilesChanged( new_list );
190
191
KURL::List::const_iterator it = new_list.begin();
192
KURL::List::const_iterator end = new_list.end();
193
194
for (; it!=end; ++it)
195
{
196
printf("[systemdirnotify] SystemDirNotify::FilesChanged(%s)\n", (*it).url().ascii()); fflush(stdout);
197
}
186
	}
198
	}
187
}
199
}
188
200

Return to bug 1656