Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 196321
Collapse All | Expand All

(-)qpxtool-0.6.1/console/deadreader/deadreader.cpp (-1 / +1 lines)
Lines 2-8 Link Here
2
 *
2
 *
3
 * DeadDiscReader
3
 * DeadDiscReader
4
 * Copyright (C) 2006, Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
4
 * Copyright (C) 2006, Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
5
 * it uses QPxTool SCSI transport lbrary
5
 * it uses QPxTool SCSI transport library
6
 *
6
 *
7
 */
7
 */
8
8
(-)qpxtool-0.6.1/console/pxcontrol/pxcontrol.cpp (-4 / +5 lines)
Lines 554-570 Link Here
554
		}
554
		}
555
		else if(!strcmp(argv[i],"--as-create")) {
555
		else if(!strcmp(argv[i],"--as-create")) {
556
			flags |= FL_AS_CREATE;
556
			flags |= FL_AS_CREATE;
557
			ascre = 0;
557
			if (argc>(i+1)) {
558
			if (argc>(i+1)) {
558
				i++;
559
				i++;
559
				if      (!strcmp(argv[i],"q")) ascre = ASDB_CRE_QUICK;
560
				if      (!strcmp(argv[i],"q")) ascre |= ASDB_CRE_QUICK;
560
				else if (!strcmp(argv[i],"f"))  ascre = ASDB_CRE_FULL;
561
				else if (!strcmp(argv[i],"f")) ascre |= ASDB_CRE_FULL;
561
				else
562
				else
562
					printf("invalid --as-create parameter 1: '%s'. Only 'q|f' are valid\n", argv[i]);
563
					printf("invalid --as-create parameter 1: '%s'. Only 'q|f' are valid\n", argv[i]);
563
			}
564
			}
564
			if (argc>(i+1)) {
565
			if (argc>(i+1)) {
565
				i++;
566
				i++;
566
				if      (!strcmp(argv[i],"a")) ascre = ASDB_ADD;
567
				if      (!strcmp(argv[i],"a")) ascre |= ASDB_ADD;
567
				else if (!strcmp(argv[i],"r"))  ascre = ASDB_REPLACE;
568
				else if (!strcmp(argv[i],"r")) ascre |= ASDB_REPLACE;
568
				else
569
				else
569
					printf("invalid --as-create parameter 2: '%s'. Only 'a|r' are valid\n", argv[i]);
570
					printf("invalid --as-create parameter 2: '%s'. Only 'a|r' are valid\n", argv[i]);
570
			}
571
			}
(-)qpxtool-0.6.1/console/pxcontrol/version.h (-1 / +1 lines)
Lines 9-12 Link Here
9
 * See the file "COPYING" for the exact licensing terms.
9
 * See the file "COPYING" for the exact licensing terms.
10
 */
10
 */
11
11
12
#define VERSION "1.1"
12
#define VERSION "1.2"
(-)qpxtool-0.6.1/lib/include/common_functions.h (-1 / +1 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * This file is part of the QPxTool project.
2
 * This file is part of the QPxTool project.
3
 * Copyright (C) 2005 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
3
 * Copyright (C) 2005-2006 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
4
 *
4
 *
5
 * This program is free software; you can redistribute it and/or modify
5
 * This program is free software; you can redistribute it and/or modify
6
 * it under the terms of the GNU General Public License as published by
6
 * it under the terms of the GNU General Public License as published by
(-)qpxtool-0.6.1/lib/include/plextor_features.h (-1 / +1 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * This file is part of the QPxTool project.
2
 * This file is part of the QPxTool project.
3
 * Copyright (C) 2005-2006 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
3
 * Copyright (C) 2005-2007 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
4
 *
4
 *
5
 * This program is free software; you can redistribute it and/or modify
5
 * This program is free software; you can redistribute it and/or modify
6
 * it under the terms of the GNU General Public License as published by
6
 * it under the terms of the GNU General Public License as published by
(-)qpxtool-0.6.1/lib/include/qpx_mmc.h (-1 / +1 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * This file is part of the QPxTool project.
2
 * This file is part of the QPxTool project.
3
 * Copyright (C) 2005-2006 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
3
 * Copyright (C) 2005-2007 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
4
 *
4
 *
5
 * This program is free software; you can redistribute it and/or modify
5
 * This program is free software; you can redistribute it and/or modify
6
 * it under the terms of the GNU General Public License as published by
6
 * it under the terms of the GNU General Public License as published by
(-)qpxtool-0.6.1/lib/include/qpx_opcodes.h (-1 / +1 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * This file is part of the QPxTool project.
2
 * This file is part of the QPxTool project.
3
 * Copyright (C) 2005-2006 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
3
 * Copyright (C) 2005-2007 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
4
 *
4
 *
5
 * This program is free software; you can redistribute it and/or modify
5
 * This program is free software; you can redistribute it and/or modify
6
 * it under the terms of the GNU General Public License as published by
6
 * it under the terms of the GNU General Public License as published by
(-)qpxtool-0.6.1/lib/qpxplextor/include/plextor_features.h (-1 / +1 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * This file is part of the QPxTool project.
2
 * This file is part of the QPxTool project.
3
 * Copyright (C) 2005-2006 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
3
 * Copyright (C) 2005-2007 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
4
 *
4
 *
5
 * This program is free software; you can redistribute it and/or modify
5
 * This program is free software; you can redistribute it and/or modify
6
 * it under the terms of the GNU General Public License as published by
6
 * it under the terms of the GNU General Public License as published by
(-)qpxtool-0.6.1/lib/qpxplextor/plextor_features.cpp (-1 / +1 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * This file is part of the QPxTool project.
2
 * This file is part of the QPxTool project.
3
 * Copyright (C) 2005-2006 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
3
 * Copyright (C) 2005-2007 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
4
 *
4
 *
5
 * This program is free software; you can redistribute it and/or modify
5
 * This program is free software; you can redistribute it and/or modify
6
 * it under the terms of the GNU General Public License as published by
6
 * it under the terms of the GNU General Public License as published by
(-)qpxtool-0.6.1/lib/qpxscan/plextor_qcheck.cpp (-1 / +1 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * This file is part of the QPxTool project.
2
 * This file is part of the QPxTool project.
3
 * Copyright (C) 2005-2006 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
3
 * Copyright (C) 2005-2007 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
4
 *
4
 *
5
 *
5
 *
6
 * Some Plextor commands got from PxScan and CDVDlib (C) Alexander Noe`
6
 * Some Plextor commands got from PxScan and CDVDlib (C) Alexander Noe`
(-)qpxtool-0.6.1/lib/qpxtransport/common_functions.cpp (-1 / +1 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * This file is part of the QPxTool project.
2
 * This file is part of the QPxTool project.
3
 * Copyright (C) 2005 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
3
 * Copyright (C) 2005-2006, Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
4
 *
4
 *
5
 * This program is free software; you can redistribute it and/or modify
5
 * This program is free software; you can redistribute it and/or modify
6
 * it under the terms of the GNU General Public License as published by
6
 * it under the terms of the GNU General Public License as published by
(-)qpxtool-0.6.1/lib/qpxtransport/include/common_functions.h (-1 / +1 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * This file is part of the QPxTool project.
2
 * This file is part of the QPxTool project.
3
 * Copyright (C) 2005 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
3
 * Copyright (C) 2005-2006 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
4
 *
4
 *
5
 * This program is free software; you can redistribute it and/or modify
5
 * This program is free software; you can redistribute it and/or modify
6
 * it under the terms of the GNU General Public License as published by
6
 * it under the terms of the GNU General Public License as published by
(-)qpxtool-0.6.1/lib/qpxtransport/include/qpx_mmc.h (-1 / +1 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * This file is part of the QPxTool project.
2
 * This file is part of the QPxTool project.
3
 * Copyright (C) 2005-2006 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
3
 * Copyright (C) 2005-2007 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
4
 *
4
 *
5
 * This program is free software; you can redistribute it and/or modify
5
 * This program is free software; you can redistribute it and/or modify
6
 * it under the terms of the GNU General Public License as published by
6
 * it under the terms of the GNU General Public License as published by
(-)qpxtool-0.6.1/lib/qpxtransport/include/qpx_opcodes.h (-1 / +1 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * This file is part of the QPxTool project.
2
 * This file is part of the QPxTool project.
3
 * Copyright (C) 2005-2006 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
3
 * Copyright (C) 2005-2007 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
4
 *
4
 *
5
 * This program is free software; you can redistribute it and/or modify
5
 * This program is free software; you can redistribute it and/or modify
6
 * it under the terms of the GNU General Public License as published by
6
 * it under the terms of the GNU General Public License as published by
(-)qpxtool-0.6.1/lib/qpxtransport/qpx_transport.cpp (+5 lines)
Lines 142-153 Link Here
142
142
143
#if defined(__linux)
143
#if defined(__linux)
144
144
145
#if !defined(INT_MAX)
146
#include <limits.h>
147
#endif
148
145
#include <sys/ioctl.h>
149
#include <sys/ioctl.h>
146
#include <linux/cdrom.h>
150
#include <linux/cdrom.h>
147
#include <mntent.h>
151
#include <mntent.h>
148
#include <sys/wait.h>
152
#include <sys/wait.h>
149
#include <sys/utsname.h>
153
#include <sys/utsname.h>
150
#include <scsi/sg.h>
154
#include <scsi/sg.h>
155
151
#if !defined(SG_FLAG_LUN_INHIBIT)
156
#if !defined(SG_FLAG_LUN_INHIBIT)
152
# if defined(SG_FLAG_UNUSED_LUN_INHIBIT)
157
# if defined(SG_FLAG_UNUSED_LUN_INHIBIT)
153
#  define SG_FLAG_LUN_INHIBIT SG_FLAG_UNUSED_LUN_INHIBIT
158
#  define SG_FLAG_LUN_INHIBIT SG_FLAG_UNUSED_LUN_INHIBIT
(-)qpxtool-0.6.1/qpxtool-gui/Makefile.qmake (-2 / +2 lines)
Lines 1-6 Link Here
1
#############################################################################
1
#############################################################################
2
# Makefile for building: qpxtool
2
# Makefile for building: qpxtool
3
# Generated by qmake (1.07a) (Qt 3.3.8) on: Sun Aug 19 18:04:15 2007
3
# Generated by qmake (1.07a) (Qt 3.3.8) on: Mon Oct 22 22:52:20 2007
4
# Project:  qpxtool.pro
4
# Project:  qpxtool.pro
5
# Template: app
5
# Template: app
6
# Command: $(QMAKE) -o Makefile.qmake qpxtool.pro
6
# Command: $(QMAKE) -o Makefile.qmake qpxtool.pro
Lines 16-22 Link Here
16
CXXFLAGS = -pipe -Wall -W -O2 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
16
CXXFLAGS = -pipe -Wall -W -O2 -D_REENTRANT  -DQT_NO_DEBUG -DQT_THREAD_SUPPORT -DQT_SHARED
17
LEXFLAGS = 
17
LEXFLAGS = 
18
YACCFLAGS= -d
18
YACCFLAGS= -d
19
INCPATH  = -I/usr/lib/qt/mkspecs/default -I. -I../lib/include -I. -Iinclude -I$(QTDIR)/include
19
INCPATH  = -I/usr/lib/qt/mkspecs/default -I. -I../lib/include -I. -Iinclude -Iui -I$(QTDIR)/include
20
LINK     = g++
20
LINK     = g++
21
LFLAGS   =  -Wl,-rpath,../lib/lib  -Wl,-rpath,$(QTDIR)/lib
21
LFLAGS   =  -Wl,-rpath,../lib/lib  -Wl,-rpath,$(QTDIR)/lib
22
LIBS     = $(SUBLIBS) -L../lib/lib -L$(QTDIR)/lib -L/usr/X11R6/lib -lqpxtransport -lqpxplextor -lqpxpioneer -lqpxscan -lqt-mt -lXext -lX11 -lm -lpthread
22
LIBS     = $(SUBLIBS) -L../lib/lib -L$(QTDIR)/lib -L/usr/X11R6/lib -lqpxtransport -lqpxplextor -lqpxpioneer -lqpxscan -lqt-mt -lXext -lX11 -lm -lpthread
(-)qpxtool-0.6.1/qpxtool-gui/QPxTool.cpp (-1 / +1 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * This file is part of the QPxTool project.
2
 * This file is part of the QPxTool project.
3
 * Copyright (C) 2005-2006 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
3
 * Copyright (C) 2005-2007 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
4
 *
4
 *
5
 * This program is free software; you can redistribute it and/or modify
5
 * This program is free software; you can redistribute it and/or modify
6
 * it under the terms of the GNU General Public License as published by
6
 * it under the terms of the GNU General Public License as published by
(-)qpxtool-0.6.1/qpxtool-gui/main.cpp (-1 / +1 lines)
Lines 31-37 Link Here
31
{
31
{
32
//     const char *program_name = argv[0];
32
//     const char *program_name = argv[0];
33
	printf("\n________________________________________");
33
	printf("\n________________________________________");
34
	printf("\n QPxTool-%s\n (c) 2005-2006, Gennady \"ShultZ\" Kozlov",VERSION);
34
	printf("\n QPxTool-%s\n (c) 2005-2007, Gennady \"ShultZ\" Kozlov",VERSION);
35
	printf("\n________________________________________");
35
	printf("\n________________________________________");
36
	printf("\ncurrent system:");
36
	printf("\ncurrent system:");
37
	uname(&sys);	
37
	uname(&sys);	
(-)qpxtool-0.6.1/qpxtool-gui/qcheck/test_threads.cpp (-1 / +1 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * This file is part of the QPxTool project.
2
 * This file is part of the QPxTool project.
3
 * Copyright (C) 2005-2006 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
3
 * Copyright (C) 2005-2007 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
4
 *
4
 *
5
 * This program is free software; you can redistribute it and/or modify
5
 * This program is free software; you can redistribute it and/or modify
6
 * it under the terms of the GNU General Public License as published by
6
 * it under the terms of the GNU General Public License as published by
(-)qpxtool-0.6.1/qpxtool-gui/version.h (-1 / +1 lines)
Lines 1-6 Link Here
1
/*
1
/*
2
 * This file is part of the QPxTool project.
2
 * This file is part of the QPxTool project.
3
 * Copyright (C) 2005-2006 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
3
 * Copyright (C) 2005-2007 Gennady "ShultZ" Kozlov <qpxtool@mail.ru>
4
 *
4
 *
5
 * This program is free software; you can redistribute it and/or modify
5
 * This program is free software; you can redistribute it and/or modify
6
 * it under the terms of the GNU General Public License as published by
6
 * it under the terms of the GNU General Public License as published by

Return to bug 196321