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);
  
  
  

Reply via email to