Changeset a3bc95e in git for Singular/utils.cc


Ignore:
Timestamp:
Oct 9, 2001, 6:36:27 PM (23 years ago)
Author:
Hans Schönemann <hannes@…>
Branches:
(u'spielwiese', 'fe61d9c35bf7c61f2b6cbf1b56e25e2f08d536cc')
Children:
7497ef3773fc1afff892546445b1d82b1cf0fb05
Parents:
e58c4abd91b68d128331a23f3f9dd76dff924048
Message:
*hannes: namespaces ->ns


git-svn-id: file:///usr/local/Singular/svn/trunk@5651 2c84dea3-7e68-4137-9b89-c4e89433aadc
File:
1 edited

Legend:

Unmodified
Added
Removed
  • Singular/utils.cc

    re58c4a ra3bc95e  
    3232  exit(1);
    3333}
    34  
     34
    3535static char* lib_file = NULL;
    3636
     
    7070  }
    7171  if (texinfo_out || category_out) lpverbose = 0;
    72    
     72
    7373  if(lib_file!=NULL) {
    7474    yylpin = fopen( lib_file, "rb" );
    75     if (! (texinfo_out || category_out)) 
     75    if (! (texinfo_out || category_out))
    7676      printf("Checking library '%s'\n", lib_file);
    7777    else if (! category_out)
     
    8080    while(argc>fe_optind && yylpin==NULL) {
    8181      yylpin = fopen( argv[fe_optind], "rb" );
    82       if(yylpin!=NULL) 
     82      if(yylpin!=NULL)
    8383      {
    8484        lib_file = argv[fe_optind];
     
    155155  if (pos_start <= 0 || pos_end - pos_start <= 4) return;
    156156  char c = 0;
    157  
     157
    158158  fseek(fd, pos_start, SEEK_SET);
    159   while (pos_start++ <= pos_end) 
     159  while (pos_start++ <= pos_end)
    160160  {
    161161    if (c == '\\')
     
    180180  FILE *fp = fopen( lib_file, "rb");
    181181
    182   if (fp == NULL) 
     182  if (fp == NULL)
    183183  {
    184184    printf("Can not open %s\n", lib_file);
     
    232232    }
    233233  }
    234  
     234
    235235  if (fp != NULL) fclose(fp);
    236236
Note: See TracChangeset for help on using the changeset viewer.