You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@apr.apache.org by bj...@apache.org on 2001/10/04 05:00:16 UTC
cvs commit: apr/build aplibtool.c
bjh 01/10/03 20:00:16
Modified: build aplibtool.c
Log:
Quote library name in generated def file in case it turns out to be a reserved
word. I hit this with mod_include as "include" is reserved.
Revision Changes Path
1.9 +1 -1 apr/build/aplibtool.c
Index: aplibtool.c
===================================================================
RCS file: /home/cvs/apr/build/aplibtool.c,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -r1.8 -r1.9
--- aplibtool.c 2001/08/23 01:49:56 1.8
+++ aplibtool.c 2001/10/04 03:00:16 1.9
@@ -671,7 +671,7 @@
hDef = fopen(def_file, "w");
if (hDef != NULL) {
- fprintf(hDef, "LIBRARY %s INITINSTANCE\n", nameof(cmd_data->output_name));
+ fprintf(hDef, "LIBRARY '%s' INITINSTANCE\n", nameof(cmd_data->output_name));
fprintf(hDef, "DATA NONSHARED\n");
fprintf(hDef, "EXPORTS\n");
fclose(hDef);