Changeset 2afef4 in git for Singular/febase.cc
- Timestamp:
- Jun 15, 1998, 5:47:59 PM (26 years ago)
- Branches:
- (u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
- Children:
- 4d6470fe58d551b765bfa08826264f20581e5a3c
- Parents:
- 388317006f4f6037f2c4d3755506bbcc36118877
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
Singular/febase.cc
r388317 r2afef4 2 2 * Computer Algebra System SINGULAR * 3 3 ****************************************/ 4 /* $Id: febase.cc,v 1.5 2 1998-06-15 12:58:59 pohlExp $ */4 /* $Id: febase.cc,v 1.53 1998-06-15 15:47:57 obachman Exp $ */ 5 5 /* 6 6 * ABSTRACT: i/o system … … 243 243 // bindir/../doc/singular.hlp 244 244 // bindir/../info/singular.hlp 245 // bindir/../../doc/singular.hlp 245 // bindir/../../Singular/doc/$version/singular.hlp 246 // bindir/../../Singular/doc/singular.hlp 246 247 // bindir/../../info/singular.hlp 247 // ROOTDIR/doc/singular.hlp 248 // ROOTDIR/Singular/doc/$version/singular.hlp 249 // ROOTDIR/Singular/doc/singular.hlp 248 250 // ROOTDIR/info/singular.hlp 249 251 #ifdef WINNT … … 274 276 if (bindir != NULL) 275 277 { 278 // bindir/../doc/singular.hlp 276 279 sprintf(hlpfile,"%s/../doc/singular.hlp", bindir); 277 280 #ifdef PATH_DEBUG … … 280 283 if (! access(hlpfile, R_OK)) return feFixFileName(hlpfile); 281 284 285 // bindir/../info/singular.hlp 282 286 sprintf(hlpfile,"%s/../info/singular.hlp", bindir); 283 287 #ifdef PATH_DEBUG … … 286 290 if (! access(hlpfile, R_OK)) return feFixFileName(hlpfile); 287 291 288 sprintf(hlpfile,"%s/../../doc/singular.hlp", bindir); 292 // bindir/../../Singular/doc/$version/singular.hlp 293 sprintf(hlpfile,"%s/../../Singular/doc/%s/singular.hlp",bindir,S_VERSION1); 289 294 #ifdef PATH_DEBUG 290 295 Print("trying %s -- %s\n", hlpfile, ( access(hlpfile, R_OK) ? "no" : "yes")); … … 292 297 if (! access(hlpfile, R_OK)) return feFixFileName(hlpfile); 293 298 299 // bindir/../../Singular/doc/singular.hlp 300 sprintf(hlpfile,"%s/../../Singular/doc/singular.hlp", bindir); 301 #ifdef PATH_DEBUG 302 Print("trying %s -- %s\n", hlpfile, ( access(hlpfile, R_OK) ? "no" : "yes")); 303 #endif 304 if (! access(hlpfile, R_OK)) return feFixFileName(hlpfile); 305 306 // bindir/../../info/singular.hlp 294 307 sprintf(hlpfile,"%s/../../info/singular.hlp", bindir); 295 308 #ifdef PATH_DEBUG … … 298 311 if (! access(hlpfile, R_OK)) return feFixFileName(hlpfile); 299 312 300 sprintf(hlpfile,"%s/doc/singular.hlp", SINGULAR_ROOT_DIR); 313 // ROOTDIR/Singular/doc/$version/singular.hlp 314 sprintf(hlpfile,"%s/Singular/doc/%s/singular.hlp", SINGULAR_ROOT_DIR, S_VERSION1); 301 315 #ifdef PATH_DEBUG 302 316 Print("trying %s -- %s\n", hlpfile, ( access(hlpfile, R_OK) ? "no" : "yes")); … … 304 318 if (! access(hlpfile, R_OK)) return feFixFileName(hlpfile); 305 319 320 // ROOTDIR/Singular/doc/singular.hlp 321 sprintf(hlpfile,"%s/Singular/doc/singular.hlp", SINGULAR_ROOT_DIR); 322 #ifdef PATH_DEBUG 323 Print("trying %s -- %s\n", hlpfile, ( access(hlpfile, R_OK) ? "no" : "yes")); 324 #endif 325 if (! access(hlpfile, R_OK)) return feFixFileName(hlpfile); 326 327 // ROOTDIR/info/singular.hlp 306 328 sprintf(hlpfile,"%s/info/singular.hlp", SINGULAR_ROOT_DIR); 307 329 #ifdef PATH_DEBUG
Note: See TracChangeset
for help on using the changeset viewer.