Soft'N'Design Software
/
projects
/
fm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6a38ace
)
all debug messages sent to stderr
author
Laurent Mazet
<mazet@softndesign.org>
Sat, 25 Jan 2025 08:16:12 +0000
(09:16 +0100)
committer
Laurent Mazet
<mazet@softndesign.org>
Sat, 25 Jan 2025 08:16:12 +0000
(09:16 +0100)
function.c
patch
|
blob
|
blame
|
history
diff --git
a/function.c
b/function.c
index 8a2feb813ab020688ad909a3c166dd66ee3b1be2..927a0cd0610c3a02823bcca994de79f9812c61dc 100644
(file)
--- a/
function.c
+++ b/
function.c
@@
-680,7
+680,7
@@
char *loadfile (char *name, int *length)
int status = -1;
char *buffer = NULL;
- VERBOSE (DEBUG, fprintf (std
out
, "open file: %s\n", name));
+ VERBOSE (DEBUG, fprintf (std
err
, "open file: %s\n", name));
FILE *fd = fopen (name, "rb");
if (fd != NULL) {
buffer = _readstream (fd, length);
@@
-725,7
+725,7
@@
char **splitlines (char *buffer, int max)
} else {
free (line);
}
- VERBOSE (DEBUG, fprintf (std
out
, "split lines: %d\n", n));
+ VERBOSE (DEBUG, fprintf (std
err
, "split lines: %d\n", n));
return lines;
}