[BACK]Return to help.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2000 / builtin

Diff for /OpenXM_contrib2/asir2000/builtin/help.c between version 1.10 and 1.11

version 1.10, 2015/08/08 14:19:41 version 1.11, 2015/08/14 13:51:54
Line 45 
Line 45 
  * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,   * DEVELOPER SHALL HAVE NO LIABILITY IN CONNECTION WITH THE USE,
  * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.   * PERFORMANCE OR NON-PERFORMANCE OF THE SOFTWARE.
  *   *
  * $OpenXM: OpenXM_contrib2/asir2000/builtin/help.c,v 1.9 2015/08/06 10:01:52 fujimoto Exp $   * $OpenXM: OpenXM_contrib2/asir2000/builtin/help.c,v 1.10 2015/08/08 14:19:41 fujimoto Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "parse.h"  #include "parse.h"
Line 110  char *s;
Line 110  char *s;
         if ( !s )          if ( !s )
                 ghelp();                  ghelp();
         else {          else {
 #if !defined(VISUAL) && !defined(__MINGW32__) && !defined(__MINGW64__)  #if !defined(VISUAL) && !defined(__MINGW32__)
                 int i;                  int i;
                 FUNC f;                  FUNC f;
                 char name[BUFSIZ],com[BUFSIZ];                  char name[BUFSIZ],com[BUFSIZ];
Line 136  char *s;
Line 136  char *s;
                         fprintf(stderr,"%s\n",f->f.usrf->desc);                          fprintf(stderr,"%s\n",f->f.usrf->desc);
   
 #endif  #endif
 #if defined(__MINGW32__) || defined(__MINGW64__)  
                 fflush(stderr);  
 #endif  
         }          }
 }  }
   
Line 147  void ghelp() {
Line 144  void ghelp() {
   
         for ( i = 0; ghelpstr[i]; i++ )          for ( i = 0; ghelpstr[i]; i++ )
                 fprintf(stderr,"%s\n",ghelpstr[i]);                  fprintf(stderr,"%s\n",ghelpstr[i]);
 #if defined(__MINGW32__) || defined(__MINGW64__)  
         fflush(stderr);  
 #endif  
 }  }

Legend:
Removed from v.1.10  
changed lines
  Added in v.1.11

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>