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 2110
Collapse All | Expand All

(-)a/tdm/kfrontend/kgreeter.cpp (-5 / +8 lines)
Lines 71-77 Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. Link Here
71
#include <fcntl.h>
71
#include <fcntl.h>
72
#include <sys/types.h>
72
#include <sys/types.h>
73
#include <utmp.h>
73
#include <utmp.h>
74
#ifdef HAVE_UTMPX
74
#include <utmpx.h>
75
#include <utmpx.h>
76
#endif
75
77
76
#include <stdio.h>
78
#include <stdio.h>
77
#include <string.h>
79
#include <string.h>
Lines 1294-1306 void ControlPipeHandlerObject::run(void) { Link Here
1294
			umask(0);
1296
			umask(0);
1295
			struct stat buffer;
1297
			struct stat buffer;
1296
			int status;
1298
			int status;
1297
			char *fifo_parent_dir = strdup(FIFO_DIR);
1299
			char *fifo_parent_dir;
1298
			dirname(fifo_parent_dir);
1300
			char *fifo_dir = strdup(FIFO_DIR);
1301
			fifo_parent_dir = dirname(fifo_dir);
1299
			status = stat(fifo_parent_dir, &buffer);
1302
			status = stat(fifo_parent_dir, &buffer);
1300
			if (status != 0) {
1303
			if (status != 0) {
1301
				mkdir(fifo_parent_dir, 0644);
1304
				mkdir(fifo_parent_dir, 0755);
1302
			}
1305
			}
1303
			free(fifo_parent_dir);
1306
			free(fifo_dir);
1304
			status = stat(FIFO_DIR, &buffer);
1307
			status = stat(FIFO_DIR, &buffer);
1305
			if (status == 0) {
1308
			if (status == 0) {
1306
				int file_mode = ((buffer.st_mode & S_IRWXU) >> 6) * 100;
1309
				int file_mode = ((buffer.st_mode & S_IRWXU) >> 6) * 100;
Lines 1313-1319 void ControlPipeHandlerObject::run(void) { Link Here
1313
					return;
1316
					return;
1314
				}
1317
				}
1315
			}
1318
			}
1316
			mkdir(FIFO_DIR,0600);
1319
			mkdir(FIFO_DIR,0700);
1317
			mknod(mPipeFilename.ascii(), S_IFIFO|0600, 0);
1320
			mknod(mPipeFilename.ascii(), S_IFIFO|0600, 0);
1318
			chmod(mPipeFilename.ascii(), 0600);
1321
			chmod(mPipeFilename.ascii(), 0600);
1319
		
1322
		

Return to bug 2110