Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 94552 Details for
Bug 144329
sci-chemistry/caver-0.99.4 (update)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch file to caver-0.99.4
caver-0.99.4-001.patch (text/plain), 1.81 KB, created by
Richard Daigle
on 2006-08-18 09:12:27 UTC
(
hide
)
Description:
patch file to caver-0.99.4
Filename:
MIME Type:
Creator:
Richard Daigle
Created:
2006-08-18 09:12:27 UTC
Size:
1.81 KB
patch
obsolete
>diff -Naur caver_unix_v0.99.4/src/cav_io.cpp caver_unix_v0.99.4-patch001/src/cav_io.cpp >--- caver_unix_v0.99.4/src/cav_io.cpp 2006-01-15 11:41:49.000000000 +0100 >+++ caver_unix_v0.99.4-patch001/src/cav_io.cpp 2006-07-27 10:19:08.000000000 +0200 >@@ -2,6 +2,7 @@ > #include "StdAfx.h" > #include "cav_io.h" > >+//#define SHOWIOOPERATIONS > FILE *Fopen(const char *path, const char *mode) > { > >@@ -14,8 +15,10 @@ > exit(1); > > } else { >-// for (int i=0;i<nopenfiles;i++) fprintf(stderr," "); >-// fprintf(stderr,"Opening -> %p ('%s') mode: %s\n",f,path,mode); >+#ifdef SHOWIOOPERATIONS >+ for (int i=0;i<nopenfiles;i++) fprintf(stderr," "); >+ fprintf(stderr,"Opening -> %p ('%s') mode: %s no=%d\n",f,path,mode,nopenfiles); >+#endif > } > return f; > >@@ -24,9 +27,11 @@ > int Fclose(FILE *stream) > { > int res=fclose(stream); >-// for (int i=0;i<nopenfiles;i++) fprintf(stderr," "); >-// fprintf(stderr,"Closing -> %p\n",stream); >+ for (int i=0;i<nopenfiles;i++) fprintf(stderr," "); > nopenfiles--; >+#ifdef SHOWIOOPERATIONS >+ fprintf(stderr,"Closing -> %p no=%d\n",stream,nopenfiles); >+#endif > return res; > } > >diff -Naur caver_unix_v0.99.4/src/CSearch.cpp caver_unix_v0.99.4-patch001/src/CSearch.cpp >--- caver_unix_v0.99.4/src/CSearch.cpp 2006-04-20 12:07:13.000000000 +0200 >+++ caver_unix_v0.99.4-patch001/src/CSearch.cpp 2006-07-27 10:37:13.000000000 +0200 >@@ -876,14 +876,7 @@ > } > clock.End (); > clock.Print (); >- printf >- ("-----------------------------------------------------------------\n"); >- fflush (stdout); >- } > >- >- Fclose (fout); >- Fclose (fin); > > if (Cfg.mEnableOutputVMD) { > >@@ -908,6 +901,15 @@ > > > } >+ >+ printf >+ ("-----------------------------------------------------------------\n"); >+ fflush (stdout); >+ } >+ >+ >+ Fclose (fout); >+ Fclose (fin); > // fclose (fout2); > >
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 144329
:
94551
| 94552