m4-commit
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Changes to m4/m4/path.c,v


From: Eric Blake
Subject: Changes to m4/m4/path.c,v
Date: Sat, 13 Jan 2007 13:55:39 +0000

CVSROOT:        /sources/m4
Module name:    m4
Changes by:     Eric Blake <ericb>      07/01/13 13:55:37

Index: m4/path.c
===================================================================
RCS file: /sources/m4/m4/m4/path.c,v
retrieving revision 1.23
retrieving revision 1.24
diff -u -b -r1.23 -r1.24
--- m4/path.c   9 Oct 2006 21:06:33 -0000       1.23
+++ m4/path.c   13 Jan 2007 13:55:37 -0000      1.24
@@ -1,6 +1,6 @@
 /* GNU m4 -- A simple macro processor
 
-   Copyright (C) 1989, 1990, 1991, 1992, 1993, 1998, 2004, 2006
+   Copyright (C) 1989, 1990, 1991, 1992, 1993, 1998, 2004, 2006, 2007
    Free Software Foundation, Inc.
 
    This program is free software; you can redistribute it and/or modify
@@ -102,7 +102,7 @@
 {
   char *m4path;
 
-  if (m4_get_no_gnu_extensions_opt (context))
+  if (m4_get_posixly_correct_opt (context))
     return;
 
   m4path = getenv ("M4PATH");
@@ -115,7 +115,7 @@
 void
 m4_add_include_directory (m4 *context, const char *dir, bool prepend)
 {
-  if (m4_get_no_gnu_extensions_opt (context))
+  if (m4_get_posixly_correct_opt (context))
     return;
 
   search_path_add (m4__get_search_path (context), dir, prepend);
@@ -153,7 +153,7 @@
 
   /* If file is absolute, or if we are not searching a path, a single
      lookup will do the trick.  */
-  if (IS_ABSOLUTE_FILE_NAME (file) || m4_get_no_gnu_extensions_opt (context))
+  if (IS_ABSOLUTE_FILE_NAME (file) || m4_get_posixly_correct_opt (context))
     {
       fp = fopen (file, "r");
       if (fp != NULL)




reply via email to

[Prev in Thread] Current Thread [Next in Thread]