aboutsummaryrefslogtreecommitdiffstats
path: root/util/strgutil.c
diff options
context:
space:
mode:
authorWerner Koch <[email protected]>1998-01-05 19:13:15 +0000
committerWerner Koch <[email protected]>1998-01-05 19:13:15 +0000
commite1117ae4a1bfc0bb644432b41ef90fead9a731cb (patch)
tree94318967baa939ebb198adaca70ad31caf0c1f54 /util/strgutil.c
parentadded more stuff (diff)
downloadgnupg-e1117ae4a1bfc0bb644432b41ef90fead9a731cb.tar.gz
gnupg-e1117ae4a1bfc0bb644432b41ef90fead9a731cb.zip
NT version compilesV0-0-0
Diffstat (limited to 'util/strgutil.c')
-rw-r--r--util/strgutil.c17
1 files changed, 17 insertions, 0 deletions
diff --git a/util/strgutil.c b/util/strgutil.c
index b517ed5b6..daeefe8ae 100644
--- a/util/strgutil.c
+++ b/util/strgutil.c
@@ -61,3 +61,20 @@ memistr( char *buf, size_t buflen, const char *sub )
return NULL ;
}
+
+/*********************************************
+ ********** missing string functions *********
+ *********************************************/
+
+#ifndef HAVE_STPCPY
+char *
+stpcpy(char *a,const char *b)
+{
+ while( *b )
+ *a++ = *b++;
+ *a = 0;
+
+ return (char*)a;
+}
+#endif
+