projects
/
libc-test
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
use fgetwc on wide oriented streams
[libc-test]
/
src
/
functional
/
crypt.c
diff --git
a/src/functional/crypt.c
b/src/functional/crypt.c
index
c23a1f9
..
9629651
100644
(file)
--- a/
src/functional/crypt.c
+++ b/
src/functional/crypt.c
@@
-5,6
+5,7
@@
static char *p;
#define T(h,s,k) p = crypt(k,s); \
+ if (!p) p ="*"; \
if (strcmp(p,h)!=0) t_error("crypt(%s, \"%s\") failed: got \"%s\" want \"%s\"\n", #k, s, p, h);
int main()