rpms/hplip/FC-5 hplip-0.9.10-1.patch, NONE, 1.1 hplip-strcasecmp.patch, 1.2, 1.3 hplip.spec, 1.61, 1.62
fedora-cvs-commits at redhat.com
fedora-cvs-commits at redhat.com
Tue Apr 18 15:57:37 UTC 2006
Author: twaugh
Update of /cvs/dist/rpms/hplip/FC-5
In directory cvs.devel.redhat.com:/tmp/cvs-serv1084
Modified Files:
hplip-strcasecmp.patch hplip.spec
Added Files:
hplip-0.9.10-1.patch
Log Message:
- Patchlevel 1.
hplip-0.9.10-1.patch:
device.cpp | 12 ------------
1 files changed, 12 deletions(-)
--- NEW FILE hplip-0.9.10-1.patch ---
diff -uNr hplip-0.9.10.old/io/hpiod/device.cpp hplip-0.9.10.new/io/hpiod/device.cpp
--- hplip-0.9.10.old/io/hpiod/device.cpp 2006-03-02 16:07:26.000000000 -0800
+++ hplip-0.9.10.new/io/hpiod/device.cpp 2006-04-07 16:07:07.000000000 -0700
@@ -846,8 +846,6 @@
int Device::Open(char *sendBuf, int *result)
{
- char uriModel[128];
- char model[128];
int len=0;
int config, interface, altset;
@@ -910,16 +908,6 @@
}
}
- /* Make sure uri model still matches device id model. */
- pSys->GetURIModel(URI, uriModel, sizeof(uriModel));
- pSys->GetModel(ID, model, sizeof(model));
- if (strcmp(uriModel, model) != 0)
- {
- *result = R_INVALID_DEVICE_NODE; /* found different device plugged in */
- syslog(LOG_ERR, "invalid model %s != %s Device::Open %s %d\n", uriModel, model, __FILE__, __LINE__);
- goto blackout;
- }
-
blackout:
pthread_mutex_unlock(&mutex);
hplip-strcasecmp.patch:
device.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: hplip-strcasecmp.patch
===================================================================
RCS file: /cvs/dist/rpms/hplip/FC-5/hplip-strcasecmp.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- hplip-strcasecmp.patch 18 Apr 2006 15:45:52 -0000 1.2
+++ hplip-strcasecmp.patch 18 Apr 2006 15:57:32 -0000 1.3
@@ -1,5 +1,5 @@
---- hplip-0.9.10/io/hpiod/device.cpp.strcasecmp 2006-03-03 00:07:26.000000000 +0000
-+++ hplip-0.9.10/io/hpiod/device.cpp 2006-04-18 15:44:14.000000000 +0100
+--- hplip-0.9.10/io/hpiod/device.cpp.strcasecmp 2006-04-18 16:54:40.000000000 +0100
++++ hplip-0.9.10/io/hpiod/device.cpp 2006-04-18 16:54:57.000000000 +0100
@@ -633,7 +633,7 @@
pSys->GeneralizeModel(sz, gen, sizeof(gen));
@@ -9,12 +9,3 @@
goto bugout;
if (usb_get_string_simple(hd, dev->descriptor.iSerialNumber, sz, sizeof(sz)) < 0)
-@@ -913,7 +913,7 @@
- /* Make sure uri model still matches device id model. */
- pSys->GetURIModel(URI, uriModel, sizeof(uriModel));
- pSys->GetModel(ID, model, sizeof(model));
-- if (strcmp(uriModel, model) != 0)
-+ if (strcasecmp(uriModel, model) != 0)
- {
- *result = R_INVALID_DEVICE_NODE; /* found different device plugged in */
- syslog(LOG_ERR, "invalid model %s != %s Device::Open %s %d\n", uriModel, model, __FILE__, __LINE__);
Index: hplip.spec
===================================================================
RCS file: /cvs/dist/rpms/hplip/FC-5/hplip.spec,v
retrieving revision 1.61
retrieving revision 1.62
diff -u -r1.61 -r1.62
--- hplip.spec 18 Apr 2006 15:45:52 -0000 1.61
+++ hplip.spec 18 Apr 2006 15:57:32 -0000 1.62
@@ -185,6 +185,7 @@
%changelog
* Tue Apr 18 2006 Tim Waugh <twaugh at redhat.com> 0.9.10-1.3
+- Patchlevel 1.
- Fixed another case-sensitive match.
* Tue Apr 4 2006 Tim Waugh <twaugh at redhat.com> 0.9.10-1.2
More information about the fedora-cvs-commits
mailing list