projects
/
ncurses.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ncurses 5.9 - patch 20130209
[ncurses.git]
/
test
/
cardfile.c
diff --git
a/test/cardfile.c
b/test/cardfile.c
index 0bcffbb1ec6a0cbd198b8888273082977d7deafa..ef224c9b9006e82418ac53a92cee0ea759d968be 100644
(file)
--- a/
test/cardfile.c
+++ b/
test/cardfile.c
@@
-29,7
+29,7
@@
/*
* Author: Thomas E. Dickey
*
/*
* Author: Thomas E. Dickey
*
- * $Id: cardfile.c,v 1.4
0 2012/10/27 19:37:56
tom Exp $
+ * $Id: cardfile.c,v 1.4
1 2012/11/03 19:26:50
tom Exp $
*
* File format: text beginning in column 1 is a title; other text is content.
*/
*
* File format: text beginning in column 1 is a title; other text is content.
*/
@@
-76,20
+76,6
@@
failed(const char *s)
ExitProgram(EXIT_FAILURE);
}
ExitProgram(EXIT_FAILURE);
}
-#if !HAVE_STRDUP
-#define strdup my_strdup
-static char *
-strdup(const char *s)
-{
- char *p = typeMalloc(char, strlen(s) + 1);
- if (p)
- strcpy(p, s);
- else
- failed("strdup");
- return (p);
-}
-#endif /* not HAVE_STRDUP */
-
static const char *
skip(const char *buffer)
{
static const char *
skip(const char *buffer)
{