[BACK]Return to glob.c CVS log [TXT][DIR] Up to [local] / OpenXM_contrib2 / asir2018 / parse

Diff for /OpenXM_contrib2/asir2018/parse/glob.c between version 1.7 and 1.8

version 1.7, 2020/06/20 05:56:08 version 1.8, 2020/10/06 06:31:20
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/asir2018/parse/glob.c,v 1.6 2020/06/19 08:14:38 noro Exp $   * $OpenXM: OpenXM_contrib2/asir2018/parse/glob.c,v 1.7 2020/06/20 05:56:08 fujimoto Exp $
 */  */
 #include "ca.h"  #include "ca.h"
 #include "al.h"  #include "al.h"
Line 332  void cppname_init()
Line 332  void cppname_init()
   char oxcpp[BUFSIZ];    char oxcpp[BUFSIZ];
 #define OXCPP "/bin/ox_cpp"  #define OXCPP "/bin/ox_cpp"
   
   if ( oxhome = getenv("OpenXM_HOME") ) {    if ( ( oxhome = getenv("OpenXM_HOME") ) != 0 ) {
     if ( strlen(oxhome)+strlen(OXCPP)<BUFSIZ ) {      if ( strlen(oxhome)+strlen(OXCPP)<BUFSIZ ) {
       sprintf(oxcpp,"%s%s",oxhome,OXCPP);        sprintf(oxcpp,"%s%s",oxhome,OXCPP);
       if ( access(oxcpp,X_OK&R_OK) == 0 ) {        if ( access(oxcpp,X_OK&R_OK) == 0 ) {

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

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