FreeBSD Bugzilla – Attachment 98732 Details for
Bug 137684
[PATCH] x11-fm/gnome-commander2: BUMP PORTREVISION.
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
gnome-commander2-1.2.8_1,1.patch
gnome-commander2-1.2.8_1,1.patch (text/plain), 1.39 KB, created by
Sylvio César Teixeira Amorim
on 2009-08-12 01:40:01 UTC
(
hide
)
Description:
gnome-commander2-1.2.8_1,1.patch
Filename:
MIME Type:
Creator:
Sylvio César Teixeira Amorim
Created:
2009-08-12 01:40:01 UTC
Size:
1.39 KB
patch
obsolete
>Index: Makefile >=================================================================== >RCS file: /home/ncvs/ports/x11-fm/gnome-commander2/Makefile,v >retrieving revision 1.46 >diff -u -u -r1.46 Makefile >--- Makefile 2 Aug 2009 19:36:13 -0000 1.46 >+++ Makefile 12 Aug 2009 00:21:12 -0000 >@@ -7,6 +7,7 @@ > > PORTNAME= gnome-commander > PORTVERSION= 1.2.8 >+PORTREVISION= 1 > PORTEPOCH= 1 > CATEGORIES= x11-fm gnome > MASTER_SITES= GNOME >Index: files/patch-src-owner.cc >=================================================================== >RCS file: files/patch-src-owner.cc >diff -N files/patch-src-owner.cc >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ files/patch-src-owner.cc 12 Aug 2009 00:21:12 -0000 >@@ -0,0 +1,17 @@ >+--- src/owner.cc.orig 2009-06-29 06:57:46.000000000 -0300 >++++ src/owner.cc 2009-08-10 20:51:05.000000000 -0300 >+@@ -62,7 +62,13 @@ >+ >+ if (!buff) >+ { >+- buffsize = max(sysconf(_SC_GETPW_R_SIZE_MAX), sysconf(_SC_GETGR_R_SIZE_MAX)); >++ long int pw_size = sysconf(_SC_GETPW_R_SIZE_MAX); >++ long int gr_size = sysconf(_SC_GETGR_R_SIZE_MAX); >++ >++ if (pw_size==-1) pw_size = 4096; // `sysconf' does not support _SC_GETPW_R_SIZE_MAX. Try a moderate value. >++ if (gr_size==-1) gr_size = 4096; // `sysconf' does not support _SC_GETGR_R_SIZE_MAX. Try a moderate value. >++ >++ buffsize = max(pw_size, gr_size); >+ buff = g_new0 (char, buffsize); >+ } >+
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 137684
: 98732