You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

38 lines
1.3 KiB

  1. Index: fcgi-2.4.0/include/fcgio.h
  2. ===================================================================
  3. --- fcgi-2.4.0.orig/include/fcgio.h 2007-07-17 13:30:28.000000000 +0200
  4. +++ fcgi-2.4.0/include/fcgio.h 2007-07-17 13:30:28.000000000 +0200
  5. @@ -77,10 +77,10 @@
  6. virtual int sync();
  7. // Remove and return the current character.
  8. - virtual int uflow();
  9. + virtual int_type uflow();
  10. // Fill the get area (if buffered) and return the current character.
  11. - virtual int underflow();
  12. + virtual int_type underflow();
  13. // Use a buffer. The only reasons that a buffer would be useful is
  14. // to support the use of the unget()/putback() or seek() methods. Using
  15. diff -urN fcgi-2.4.0/libfcgi/fcgio.cpp fcgi-2.4.0.new/libfcgi/fcgio.cpp
  16. --- fcgi-2.4.0/libfcgi/fcgio.cpp 2002-02-24 21:12:22.000000000 +0100
  17. +++ fcgi-2.4.0.new/libfcgi/fcgio.cpp 2007-08-28 11:22:22.000000000 +0200
  18. @@ -89,7 +89,7 @@
  19. }
  20. // uflow() removes the char, underflow() doesn't
  21. -int fcgi_streambuf::uflow()
  22. +std::basic_streambuf<char>::int_type fcgi_streambuf::uflow()
  23. {
  24. int rv = underflow();
  25. if (this->bufsize) gbump(1);
  26. @@ -97,7 +97,7 @@
  27. }
  28. // Note that the expected behaviour when there is no buffer varies
  29. -int fcgi_streambuf::underflow()
  30. +std::basic_streambuf<char>::int_type fcgi_streambuf::underflow()
  31. {
  32. if (this->bufsize)
  33. {