projects
/
platform
/
upstream
/
libaec.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d8286da
)
drop .aec extension in favor of ccsds .rz
author
Mathis Rosenhauer
<rosenhauer@dkrz.de>
Tue, 4 Feb 2014 08:05:45 +0000
(09:05 +0100)
committer
Mathis Rosenhauer
<rosenhauer@dkrz.de>
Tue, 4 Feb 2014 08:05:45 +0000
(09:05 +0100)
src/aec.c
patch
|
blob
|
history
diff --git
a/src/aec.c
b/src/aec.c
index
f438b95
..
86e6a5b
100644
(file)
--- a/
src/aec.c
+++ b/
src/aec.c
@@
-180,16
+180,16
@@
int main(int argc, char *argv[])
if (dflag)
{
- if ((ext = strstr(infn, ".
aec
")) == NULL)
+ if ((ext = strstr(infn, ".
rz
")) == NULL)
{
- fprintf(stderr, "Error: input file needs to end with .
aec
\n");
+ fprintf(stderr, "Error: input file needs to end with .
rz
\n");
exit(-1);
}
strncpy(outfn, infn, ext - infn);
}
else
{
- sprintf(outfn, "%s.
aec
", infn);
+ sprintf(outfn, "%s.
rz
", infn);
}
if ((outfp = fopen(outfn, "w")) == NULL)