FreeBSD Bugzilla – Attachment 53221 Details for
Bug 80524
[MAINTAINER] archivers/sharutils: update to 4.3.80
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
sharutils-4.3.80_1.patch
sharutils-4.3.80_1.patch (text/plain), 2.68 KB, created by
Sylvio Cesar
on 2005-05-02 05:10:04 UTC
(
hide
)
Description:
sharutils-4.3.80_1.patch
Filename:
MIME Type:
Creator:
Sylvio Cesar
Created:
2005-05-02 05:10:04 UTC
Size:
2.68 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/archivers/sharutils/Makefile,v >retrieving revision 1.27 >diff -u -r1.27 Makefile >--- Makefile 22 Apr 2005 02:12:54 -0000 1.27 >+++ Makefile 2 May 2005 04:00:04 -0000 >@@ -6,11 +6,11 @@ > # > > PORTNAME= sharutils >-PORTVERSION= 4.3.77 >+PORTVERSION= 4.3.80 > PORTREVISION= 1 > CATEGORIES= archivers > MASTER_SITES= ${MASTER_SITE_GNU} >-MASTER_SITE_SUBDIR= ${PORTNAME}/${PORTVERSION} >+MASTER_SITE_SUBDIR= ${PORTNAME}/REL-4.3.80 > > MAINTAINER= sylvioc@gmail.com > COMMENT= Pack, send and unpack shell archives; synchronize via e-mail >Index: distinfo >=================================================================== >RCS file: /home/ncvs/ports/archivers/sharutils/distinfo,v >retrieving revision 1.6 >diff -u -r1.6 distinfo >--- distinfo 20 Apr 2005 20:55:03 -0000 1.6 >+++ distinfo 2 May 2005 04:00:04 -0000 >@@ -1,2 +1,2 @@ >-MD5 (sharutils-4.3.77.tar.gz) = 813e7d2d119fc807286b1e01448cf450 >-SIZE (sharutils-4.3.77.tar.gz) = 686211 >+MD5 (sharutils-4.3.80.tar.gz) = 1a9e41753998cb20cfa4484ed21d7fc9 >+SIZE (sharutils-4.3.80.tar.gz) = 799351 >Index: files/patch-src_unshar.c >=================================================================== >RCS file: files/patch-src_unshar.c >diff -N files/patch-src_unshar.c >--- files/patch-src_unshar.c 20 Apr 2005 20:55:03 -0000 1.1 >+++ /dev/null 1 Jan 1970 00:00:00 -0000 >@@ -1,36 +0,0 @@ >---- src/unshar.c.orig 1995-11-21 17:22:14.000000000 +0100 >-+++ src/unshar.c 2004-09-29 15:09:44.682469264 +0200 >-@@ -346,8 +346,8 @@ >- { >- size_t size_read; >- FILE *file; >-- char name_buffer[NAME_BUFFER_SIZE]; >-- char copy_buffer[NAME_BUFFER_SIZE]; >-+ char name_buffer[NAME_BUFFER_SIZE] = {'\0'}; >-+ char copy_buffer[NAME_BUFFER_SIZE] = {'\0'}; >- int optchar; >- >- program_name = argv[0]; >-@@ -409,14 +409,14 @@ >- if (optind < argc) >- for (; optind < argc; optind++) >- { >-- if (argv[optind][0] == '/') >-- stpcpy (name_buffer, argv[optind]); >-- else >-- { >-- char *cp = stpcpy (name_buffer, current_directory); >-- *cp++ = '/'; >-- stpcpy (cp, argv[optind]); >-- } >-+ if (argv[optind][0] == '/') { >-+ strncpy (name_buffer, argv[optind], sizeof(name_buffer)); >-+ name_buffer[sizeof(name_buffer)-1] = '\0'; >-+ } >-+ else { >-+ snprintf(name_buffer, sizeof(name_buffer),"%s/%s", current_directory, argv[optind]); >-+ name_buffer[sizeof(name_buffer)-1] = '\0'; >-+ } >- if (file = fopen (name_buffer, "r"), !file) >- error (EXIT_FAILURE, errno, name_buffer); >- unarchive_shar_file (name_buffer, file);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 80524
: 53221