gnuastro-commits
[Top][All Lists]
Advanced

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

[gnuastro-commits] master 008df03 2/6: Minor random small corrections


From: Mohammad Akhlaghi
Subject: [gnuastro-commits] master 008df03 2/6: Minor random small corrections
Date: Sun, 2 Oct 2016 22:23:45 +0000 (UTC)

branch: master
commit 008df03caab84128d04675c1bc2860cec97334f2
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>

    Minor random small corrections
    
    Some very small and randomly spotted correction were made to some of the
    files.
---
 configure.ac               |    2 +-
 doc/release-checklist.txt  |    2 +-
 lib/gnuastro/configfiles.h |   14 ++++++++------
 3 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/configure.ac b/configure.ac
index 4e0ff15..f4b9723 100644
--- a/configure.ac
+++ b/configure.ac
@@ -503,7 +503,7 @@ AS_IF([test x$enable_guide_message = xyes],
                AS_ECHO(["    name \`gs', was not found in your PATH 
environment variable."])
                AS_ECHO(["    If PDF outputs are desired from ConvertType, it 
will abort"])
                AS_ECHO(["    with an EPS output which you can convert to PDF 
by other means."])])
-        AS_ECHO(["  All checks related to warning(s) will be skipped."])
+        AS_ECHO(["  All checks related to the warning(s) will be skipped."])
         AS_ECHO([])
       ]
      )
diff --git a/doc/release-checklist.txt b/doc/release-checklist.txt
index 2d5e437..9ceff85 100644
--- a/doc/release-checklist.txt
+++ b/doc/release-checklist.txt
@@ -43,7 +43,7 @@ all the commits needed for this release have been completed.
                --replace --symlink-regex="s/X.X.XXX-XXXX/alpha-latest/"    \
                gnuastro-X.X.XXX-XXXX.tar.gz
 
-   For a stable release:
+   - For a stable release:
 
        $  /path/to/gnulib/build-aux/gnupload --to ftp.gnu.org:gnuastro   \
                --replace --symlink-regex                                 \
diff --git a/lib/gnuastro/configfiles.h b/lib/gnuastro/configfiles.h
index 3663486..3ef1126 100644
--- a/lib/gnuastro/configfiles.h
+++ b/lib/gnuastro/configfiles.h
@@ -122,8 +122,8 @@ __BEGIN_C_DECLS  /* From C++ preparations */
         if(cp->setusrconf)                                              \
           GAL_CONFIGFILES_SAVE_LOCAL_CONFIG(userconfig_dir);            \
         readconfig(SYSCONFIG_FILE, p);                                  \
-        free(userconfig_file);                                                \
-        free(userconfig_dir);                                                \
+        free(userconfig_file);                                          \
+        free(userconfig_dir);                                           \
       }                                                                 \
   }
 
@@ -136,11 +136,12 @@ __BEGIN_C_DECLS  /* From C++ preparations */
 #define GAL_CONFIGFILES_REPORT_NOTSET(var_name) {                       \
     if(intro==0)                                                        \
       {                                                                 \
-        fprintf(stderr, SPACK": Parameter(s) not set: %s", (var_name)); \
+        fprintf(stderr, SPACK": Parameter(s) not set: `%s'",            \
+                (var_name));                                            \
         intro=1;                                                        \
       }                                                                 \
     else                                                                \
-      fprintf(stderr, ", %s", (var_name));                              \
+      fprintf(stderr, ", `%s'", (var_name));                            \
   }
 
 
@@ -154,8 +155,9 @@ __BEGIN_C_DECLS  /* From C++ preparations */
         fprintf(stderr, ".\n\n");                                       \
         fprintf(stderr, "You can assign values in the local, user or "  \
                 "system wide default files. Otherwise you have to "     \
-                "explicitly call them each time. See `"SPACK" --help` " \
-                "or `info "SPACK"` for more information.\n\n");         \
+                "explicitly assign a value to them each time as a "     \
+                "command-line option. See `%s --help` or `info %s` for "\
+                "more information.\n\n", SPACK, SPACK);                 \
         userconfig_file=                                                \
         gal_configfiles_add_home_dir(USERCONFIG_FILEEND);               \
         fprintf(stderr, "Default files checked (existing or not):\n"    \



reply via email to

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