httpd-cvs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From wr...@locus.apache.org
Subject cvs commit: apache-2.0/src/lib/apr/file_io/win32 dir.c
Date Thu, 09 Nov 2000 21:04:22 GMT
wrowe       00/11/09 13:04:21

  Modified:    src/lib/apr/file_io/win32 dir.c
  Log:
    Guess math isn't my strongest subject at midnight.  Fortunately, I just
    tuned this down to 4 places to make this mistake, checked 'em all, and
    it looks like we are good from here on out.  Now, why doesn't autoindex
    actually output anything ???
  
  Revision  Changes    Path
  1.35      +1 -1      apache-2.0/src/lib/apr/file_io/win32/dir.c
  
  Index: dir.c
  ===================================================================
  RCS file: /home/cvs/apache-2.0/src/lib/apr/file_io/win32/dir.c,v
  retrieving revision 1.34
  retrieving revision 1.35
  diff -u -r1.34 -r1.35
  --- dir.c	2000/11/09 19:55:29	1.34
  +++ dir.c	2000/11/09 21:04:20	1.35
  @@ -98,7 +98,7 @@
           apr_wchar_t *wch;
           (*new) = apr_pcalloc(cont, sizeof(apr_dir_t));
           (*new)->w.entry = apr_pcalloc(cont, sizeof(WIN32_FIND_DATAW));
  -        (*new)->w.dirname = apr_palloc(cont, dirremains + 7);
  +        (*new)->w.dirname = apr_palloc(cont, (dirremains + 7) * 2);
           wcscpy((*new)->w.dirname, L"\\\\?\\");
           if (conv_utf8_to_ucs2(dirname, &srcremains,
                                 (*new)->w.dirname + 4, &dirremains) || srcremains)
  
  
  

Mime
View raw message