diff options
author | Sebastien Fabbro <bicatali@gentoo.org> | 2011-03-14 17:22:50 +0000 |
---|---|---|
committer | Sebastien Fabbro <bicatali@gentoo.org> | 2011-03-14 17:22:50 +0000 |
commit | e32e21e9bd67d3d98cf2b2a9c819db5c0b4f2c64 (patch) | |
tree | d262eafd1d375d1fa0afebb821d75a874b0a6875 /sci-libs/dsdp/files | |
parent | Removed this one for now. Patch failed to apply (diff) | |
download | gentoo-2-e32e21e9bd67d3d98cf2b2a9c819db5c0b4f2c64.tar.gz gentoo-2-e32e21e9bd67d3d98cf2b2a9c819db5c0b4f2c64.tar.bz2 gentoo-2-e32e21e9bd67d3d98cf2b2a9c819db5c0b4f2c64.zip |
Fixed leak in one of the examples
(Portage version: 2.1.9.42/cvs/Linux x86_64)
Diffstat (limited to 'sci-libs/dsdp/files')
-rw-r--r-- | sci-libs/dsdp/files/dsdp-5.8-readsdpa.patch | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/sci-libs/dsdp/files/dsdp-5.8-readsdpa.patch b/sci-libs/dsdp/files/dsdp-5.8-readsdpa.patch new file mode 100644 index 000000000000..f555e50ba0ce --- /dev/null +++ b/sci-libs/dsdp/files/dsdp-5.8-readsdpa.patch @@ -0,0 +1,11 @@ +--- examples/readsdpa.c.orig 2011-03-14 16:49:10.000000000 +0000 ++++ examples/readsdpa.c 2011-03-14 17:05:52.000000000 +0000 +@@ -87,7 +87,7 @@ + double ddobj,ppobj,scl,dpot; + char problemname[100],thisline[100], filename[300],savefile[100]; + char directory[100]="/home/benson/sdpexamples/sdplib/"; +- char outputfile[50]="",suffix[20]=".dat-s", tablename[20]="results-dsdp-5.8"; ++ char outputfile[50]="",suffix[20]=".dat-s", tablename[100]="results-dsdp-5.8"; + char success='s',sformat; + FILE *fp1=0,*fp2=0,*fout; + DSDPData dddd; |