~ubuntu-branches/ubuntu/hardy/lighttpd/hardy

« back to all changes in this revision

Viewing changes to src/buffer.c

  • Committer: Bazaar Package Importer
  • Author(s): Jeremie Corbier
  • Date: 2006-09-22 19:16:08 UTC
  • mfrom: (1.1.3 upstream)
  • Revision ID: james.westby@ubuntu.com-20060922191608-i9jngvf1wtf3j5rd
Tags: 1.4.12~20060907-1ubuntu1
Merge from debian unstable:
-> Keep the additional dependency on libterm-readline-perl-perl.

Show diffs side-by-side

added added

removed removed

Lines of Context:
914
914
        start = dest->ptr;
915
915
        out   = dest->ptr;
916
916
        slash = dest->ptr;
 
917
 
 
918
 
 
919
#if defined(__WIN32) || defined(__CYGWIN__)
 
920
        /* cygwin is treating \ and / the same, so we have to that too
 
921
         */
 
922
 
 
923
        for (walk = src->ptr; *walk; walk++) {
 
924
                if (*walk == '\\') *walk = '/';
 
925
        }
 
926
        walk = src->ptr;
 
927
#endif
 
928
        
917
929
        while (*walk == ' ') {
918
930
                walk++;
919
931
        }