at 24.11-pre 204 lines 6.7 kB view raw
1diff --git a/cint/cint/src/loadfile.cxx b/cint/cint/src/loadfile.cxx 2--- a/cint/cint/src/loadfile.cxx 3+++ b/cint/cint/src/loadfile.cxx 4@@ -1365,92 +1365,6 @@ int G__statfilename(const char *filenamein, struct stat *statBuf, 5 } 6 } 7 #endif /* G__EDU_VERSION */ 8- 9-#ifdef G__VISUAL 10- /********************************************** 11- * try /msdev/include 12- **********************************************/ 13- if('\0'!=G__cintsysdir[0]) { 14- workname.Format("/msdev/include/%s%s",filename(),addpost[i2]); 15- res = stat( workname, statBuf ); 16- if (res==0) { 17- if (fullPath) fullPath->Swap(workname); 18- return res; 19- } 20- } 21-#endif /* G__VISUAL */ 22- 23-#ifdef G__SYMANTEC 24- /********************************************** 25- * try /sc/include 26- **********************************************/ 27- if('\0'!=G__cintsysdir[0]) { 28- workname.Format("/sc/include/%s%s",filename(),addpost[i2]); 29- res = stat( workname, statBuf ); 30- if (res==0) { 31- if (fullPath) fullPath->Swap(workname); 32- return res; 33- } 34- } 35-#endif // G__SYMANTEC 36- 37-#ifndef G__WIN32 38- /********************************************** 39- * try /usr/include/filename 40- **********************************************/ 41- if('\0'!=G__cintsysdir[0]) { 42- workname.Format("/usr/include/%s%s",filename(),addpost[i2]); 43- res = stat( workname, statBuf ); 44- if (res==0) { 45- if (fullPath) fullPath->Swap(workname); 46- return res; 47- } 48- } 49-#endif 50- 51-#ifdef __GNUC__ 52- /********************************************** 53- * try /usr/include/g++/filename 54- **********************************************/ 55- if('\0'!=G__cintsysdir[0]) { 56- workname.Format("/usr/include/g++/%s%s",filename(),addpost[i2]); 57- res = stat( workname, statBuf ); 58- if (res==0) { 59- if (fullPath) fullPath->Swap(workname); 60- return res; 61- } 62- } 63-#endif /* __GNUC__ */ 64- 65-#ifndef G__WIN32 66- /* #ifdef __hpux */ 67- /********************************************** 68- * try /usr/include/CC/filename 69- **********************************************/ 70- if('\0'!=G__cintsysdir[0]) { 71- workname.Format("/usr/include/CC/%s%s",filename(),addpost[i2]); 72- res = stat( workname, statBuf ); 73- if (res==0) { 74- if (fullPath) fullPath->Swap(workname); 75- return res; 76- } 77- } 78-#endif 79- 80-#ifndef G__WIN32 81- /********************************************** 82- * try /usr/include/codelibs/filename 83- **********************************************/ 84- if('\0'!=G__cintsysdir[0]) { 85- workname.Format("/usr/include/codelibs/%s%s" 86- ,filename(),addpost[i2]); 87- res = stat( workname, statBuf ); 88- if (res==0) { 89- if (fullPath) fullPath->Swap(workname); 90- return res; 91- } 92- } 93-#endif 94 } 95 return -1; 96 } 97@@ -1960,107 +1874,6 @@ int G__loadfile(const char *filenamein) 98 } 99 if(G__ifile.fp) break; 100 #endif /* G__EDU_VERSION */ 101- 102-#ifdef G__VISUAL 103- /********************************************** 104- * try /msdev/include 105- **********************************************/ 106- if('\0'!=G__cintsysdir[0]) { 107- G__snprintf(G__ifile.name,G__MAXFILENAME,"/msdev/include/%s%s",filename(),addpost[i2]); 108-#ifndef G__WIN32 109- G__ifile.fp = fopen(G__ifile.name,"r"); 110-#else 111- G__ifile.fp = fopen(G__ifile.name,"rb"); 112-#endif 113- G__globalcomp=G__store_globalcomp; 114- } 115- if(G__ifile.fp) break; 116-#endif /* G__VISUAL */ 117- 118-#ifdef G__SYMANTEC 119- /********************************************** 120- * try /sc/include 121- **********************************************/ 122- if('\0'!=G__cintsysdir[0]) { 123- G__snprintf(G__ifile.name,G__MAXFILENAME,"/sc/include/%s%s",filename(),addpost[i2]); 124-#ifndef G__WIN32 125- G__ifile.fp = fopen(G__ifile.name,"r"); 126-#else 127- G__ifile.fp = fopen(G__ifile.name,"rb"); 128-#endif 129- G__globalcomp=G__store_globalcomp; 130- } 131- if(G__ifile.fp) break; 132-#endif /* G__SYMANTEC */ 133- 134-#ifndef G__WIN32 135- /********************************************** 136- * try /usr/include/filename 137- **********************************************/ 138- if('\0'!=G__cintsysdir[0]) { 139- G__snprintf(G__ifile.name,G__MAXFILENAME,"/usr/include/%s%s",filename(),addpost[i2]); 140-#ifndef G__WIN32 141- G__ifile.fp = fopen(G__ifile.name,"r"); 142-#else 143- G__ifile.fp = fopen(G__ifile.name,"rb"); 144-#endif 145- G__globalcomp=G__store_globalcomp; 146- } 147- if(G__ifile.fp) break; 148-#endif 149- 150-#ifdef __GNUC__ 151- /********************************************** 152- * try /usr/include/g++/filename 153- **********************************************/ 154- if('\0'!=G__cintsysdir[0]) { 155- G__snprintf(G__ifile.name,G__MAXFILENAME,"/usr/include/g++/%s%s",filename(),addpost[i2]); 156-#ifndef G__WIN32 157- G__ifile.fp = fopen(G__ifile.name,"r"); 158-#else 159- G__ifile.fp = fopen(G__ifile.name,"rb"); 160-#endif 161- G__globalcomp=G__store_globalcomp; 162- } 163- if(G__ifile.fp) break; 164-#endif /* __GNUC__ */ 165- 166-#ifndef G__WIN32 167-/* #ifdef __hpux */ 168- /********************************************** 169- * try /usr/include/CC/filename 170- **********************************************/ 171- if('\0'!=G__cintsysdir[0]) { 172- G__snprintf(G__ifile.name,G__MAXFILENAME,"/usr/include/CC/%s%s",filename(),addpost[i2]); 173-#ifndef G__WIN32 174- G__ifile.fp = fopen(G__ifile.name,"r"); 175-#else 176- G__ifile.fp = fopen(G__ifile.name,"rb"); 177-#endif 178- G__globalcomp=G__store_globalcomp; 179- } 180- if(G__ifile.fp) break; 181-/* #endif __hpux */ 182-#endif 183- 184-#ifndef G__WIN32 185-/* #ifdef __hpux */ 186- /********************************************** 187- * try /usr/include/codelibs/filename 188- **********************************************/ 189- if('\0'!=G__cintsysdir[0]) { 190- G__snprintf(G__ifile.name,G__MAXFILENAME,"/usr/include/codelibs/%s%s" 191- ,filename(),addpost[i2]); 192-#ifndef G__WIN32 193- G__ifile.fp = fopen(G__ifile.name,"r"); 194-#else 195- G__ifile.fp = fopen(G__ifile.name,"rb"); 196-#endif 197- G__globalcomp=G__store_globalcomp; 198- } 199- if(G__ifile.fp) break; 200-/* #endif __hpux */ 201-#endif 202 } 203 } 204