rpms/pilot-link/FC-4 pilot-link-0.11.8-realpath.path, NONE, 1.1 pilot-link.spec, 1.30, 1.31

fedora-cvs-commits at redhat.com fedora-cvs-commits at redhat.com
Tue Apr 18 12:28:19 UTC 2006


Author: than

Update of /cvs/dist/rpms/pilot-link/FC-4
In directory cvs.devel.redhat.com:/tmp/cvs-serv26709

Modified Files:
	pilot-link.spec 
Added Files:
	pilot-link-0.11.8-realpath.path 
Log Message:
- fix pilot-xfer crash on missing device node #186779
- don't include unnecessary man page #185147



--- NEW FILE pilot-link-0.11.8-realpath.path ---
--- pilot-link-0.11.8/libpisock/connect.c.orig	2006-04-14 17:58:37.000000000 +0200
+++ pilot-link-0.11.8/libpisock/connect.c	2006-04-14 18:01:37.000000000 +0200
@@ -24,6 +24,12 @@
 #include <errno.h>
 #include <unistd.h>
 #include <sys/stat.h>
+#include <limits.h>
+
+/* PATH_MAX is not defined in limits.h on some platforms */
+#ifndef PATH_MAX
+#define PATH_MAX 4096
+#endif
 
 #include "pi-socket.h"
 #include "pi-dlp.h"
@@ -106,7 +112,7 @@
 
 
 		if (portname) {
-			char realport[50];
+			char realport[PATH_MAX];
 			realpath(portname, realport);
 			errno = save_errno;
 


Index: pilot-link.spec
===================================================================
RCS file: /cvs/dist/rpms/pilot-link/FC-4/pilot-link.spec,v
retrieving revision 1.30
retrieving revision 1.31
diff -u -r1.30 -r1.31
--- pilot-link.spec	29 Mar 2006 20:28:18 -0000	1.30
+++ pilot-link.spec	18 Apr 2006 12:28:16 -0000	1.31
@@ -4,7 +4,7 @@
 Summary: File transfer utilities between Linux and PalmPilots.
 Name: pilot-link
 Version: 0.11.8
-Release: 11.2.fc4
+Release: 11.3.fc4
 Source: pilot-link-%{version}.tar.bz2
 Url: http://www.pilot-link.org/
 Patch1: pilot-link-0.11.0-perlmd5.patch
@@ -15,6 +15,7 @@
 Patch7: pilot-link-0.11.8-readfile.patch
 Patch8: pilot-link-0.11.8-underquoted.patch
 Patch9: pilot-link-0.11.8-misc1.patch
+Patch10: pilot-link-0.11.8-realpath.path
 Epoch: 2
 License: GPL
 Group: Applications/Communications
@@ -69,6 +70,7 @@
 %patch7 -p1 -b .read
 %patch8 -p1 -b .underquoted
 %patch9 -p1 -b .misc1
+%patch10 -p1 -b .realpath
 
 %build
 CFLAGS="$RPM_OPT_FLAGS" %configure \
@@ -106,6 +108,8 @@
   make install -C bindings/Perl
   rm -f %{buildroot}%{_libdir}/perl5/vendor_perl/%{perl_version}/*/auto/PDA/Pilot/Pilot.bs \
         %{buildroot}%{_libdir}/perl5/site_perl/*/*/*/PDA/Pilot/.packlist
+%else
+  rm -f %{buildroot}%{_mandir}/man1/ietf2datebook*
 %endif
 
 # remove files we don't want to include
@@ -141,6 +145,10 @@
 %{_datadir}/aclocal/*.m4
 
 %changelog
+* Tue Apr 18 2006 Than Ngo <than at redhat.com> 2:0.11.8-11.3.fc4
+- fix pilot-xfer crash on missing device node #186779
+- don't include unnecessary man page #185147
+
 * Wed Mar 29 2006 Than Ngo <than at redhat.com> 2:0.11.8-11.2.fc4 
 - rebuild to get rid of libpisock.so.9 
 




More information about the fedora-cvs-commits mailing list