1 |
bicatali 11/01/30 21:52:38 |
2 |
|
3 |
Added: cernlib-2006-fgets.patch |
4 |
Log: |
5 |
Fixed a small leak (bug #340911). Added prefix. |
6 |
|
7 |
(Portage version: 2.1.9.35/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.1 sci-physics/cernlib/files/cernlib-2006-fgets.patch |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/cernlib/files/cernlib-2006-fgets.patch?rev=1.1&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sci-physics/cernlib/files/cernlib-2006-fgets.patch?rev=1.1&content-type=text/plain |
14 |
|
15 |
Index: cernlib-2006-fgets.patch |
16 |
=================================================================== |
17 |
--- src/packlib/cspack/tcpaw/tcpaw.c.old 2011-01-30 21:18:35.326089059 +0000 |
18 |
+++ src/packlib/cspack/tcpaw/tcpaw.c 2011-01-30 21:18:01.876081979 +0000 |
19 |
@@ -984,7 +984,7 @@ |
20 |
int s, addrlen; |
21 |
int sx, nn = 0; /* REXEC */ |
22 |
#ifndef IBM |
23 |
- char get[50], *getp = get; /* REXEC */ |
24 |
+ char get[80], *getp = get; /* REXEC */ |
25 |
#endif /*^IBM */ |
26 |
char sys[30]; |
27 |
register int i, j, k; |
28 |
@@ -1036,7 +1036,7 @@ |
29 |
char buff[100]; |
30 |
char *get; |
31 |
char *getp; |
32 |
- char getbuf[50]; /* REXEC */ |
33 |
+ char getbuf[80]; /* REXEC */ |
34 |
getp = getbuf; /* REXEC */ |
35 |
get = getbuf; /* REXEC */ |
36 |
/* j = 80; */ /* (crude kludge) length of srvc in Fortran */ |