[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gnuastro-commits] master 02deeba: Corrected default filename for stdin
From: |
Mohammad Akhlaghi |
Subject: |
[gnuastro-commits] master 02deeba: Corrected default filename for stdin in Statistics |
Date: |
Tue, 6 Nov 2018 13:37:11 -0500 (EST) |
branch: master
commit 02deebadc475231b11a9c8bf3d4991ee85fdc107
Author: Mohammad Akhlaghi <address@hidden>
Commit: Mohammad Akhlaghi <address@hidden>
Corrected default filename for stdin in Statistics
When the input is from Standard input, the default filename for the
Statistics program was "Standard input". This was very bad: has a captial
character and also includes space! It has been corrected to the program
name (as suggested in the book).
---
bin/statistics/ui.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/bin/statistics/ui.c b/bin/statistics/ui.c
index 3cedec1..295753e 100644
--- a/bin/statistics/ui.c
+++ b/bin/statistics/ui.c
@@ -757,7 +757,7 @@ ui_read_columns(struct statisticsparams *p)
/* If the input was from standard input, we can actually write this into
it (for future reporting). */
if(p->inputname==NULL)
- gal_checkset_allocate_copy("Standard input", &p->inputname);
+ gal_checkset_allocate_copy("statistics", &p->inputname);
/* Put the columns into the proper gal_data_t. */
size=cols->size;
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gnuastro-commits] master 02deeba: Corrected default filename for stdin in Statistics,
Mohammad Akhlaghi <=