Date: Sat, 17 Jun 2006 10:10:32 GMT From: "Nikolai Saoukh" <nms@otdel-1.org> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/99075: www/quickie: Due to wrong patch invalid Content-Length: header generated Message-ID: <200606171010.k5HAAWp7074154@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/99075; it has been noted by GNATS. From: "Nikolai Saoukh" <nms@otdel-1.org> To: <bug-followup@FreeBSD.org> Cc: Subject: Re: ports/99075: www/quickie: Due to wrong patch invalid Content-Length: header generated Date: Sat, 17 Jun 2006 14:09:53 +0400 This is a multi-part message in MIME format. ------=_NextPart_000_0026_01C69217.B6823ED0 Content-Type: multipart/mixed; boundary="----=_NextPart_001_0027_01C69217.B6823ED0" ------=_NextPart_001_0027_01C69217.B6823ED0 Content-Type: text/plain; format=flowed; charset="koi8-r"; reply-type=original Content-Transfer-Encoding: 7bit Well, attached is the new version of patch. ------=_NextPart_001_0027_01C69217.B6823ED0 Content-Type: application/octet-stream; name="patch-lib_file_regular.cc" Content-Transfer-Encoding: quoted-printable Content-Disposition: attachment; filename="patch-lib_file_regular.cc" --- lib/file/regular.cc.orig Mon Jun 13 12:21:49 2005=0A= +++ lib/file/regular.cc Tue May 16 15:38:03 2006=0A= @@ -29,6 +29,11 @@=0A= #include <fcntl.h>=0A= #include <unistd.h>=0A= =0A= +#ifdef __FreeBSD__=0A= +#include <sys/types.h>=0A= +#include <sys/stat.h>=0A= +#endif=0A= +=0A= #include <careful.h>=0A= #include <cgi.h>=0A= #include <configuration.h>=0A= @@ -384,11 +389,8 @@=0A= return;=0A= }=0A= output_stdout op;=0A= - op << "Content-Type: text/html\n"=0A= - "Content-Length: "=0A= - << st.st_size=0A= - << "\n"=0A= - "\n";=0A= + op << "Content-Type: text/html\n";=0A= + op.printf("Content-Length: %llu\n\n", st.st_size);=0A= for (;;)=0A= {=0A= char buffer[1 << 14];=0A= ------=_NextPart_001_0027_01C69217.B6823ED0-- ------=_NextPart_000_0026_01C69217.B6823ED0 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIOQTCCBHAw ggNYoAMCAQICEB+0zZj6uUmxQ2K5VZ1P12EwDQYJKoZIhvcNAQEFBQAwga4xCzAJBgNVBAYTAlVT MQswCQYDVQQIEwJVVDEXMBUGA1UEBxMOU2FsdCBMYWtlIENpdHkxHjAcBgNVBAoTFVRoZSBVU0VS VFJVU1QgTmV0d29yazEhMB8GA1UECxMYaHR0cDovL3d3dy51c2VydHJ1c3QuY29tMTYwNAYDVQQD Ey1VVE4tVVNFUkZpcnN0LUNsaWVudCBBdXRoZW50aWNhdGlvbiBhbmQgRW1haWwwHhcNMDUwNjA3 MDgwOTEwWhcNMTkwNzA5MTczNjU4WjBlMQswCQYDVQQGEwJTRTEUMBIGA1UEChMLQWRkVHJ1c3Qg QUIxHTAbBgNVBAsTFEFkZFRydXN0IFRUUCBOZXR3b3JrMSEwHwYDVQQDExhBZGRUcnVzdCBDbGFz cyAxIENBIFJvb3QwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCWltQhSWDia+hBBwze xODcEyPNwTXH+9ZOEQpnXvUGW2ulCDtbKRY654eyNAbFvAWlA3yCyykQruGIgb3WntP+LVbBFc7j Jp0VLhD7Bo8wBN6ntGO0/7Gcrjyvd7ZWxbWroulpOj0OM3kyP3CCkplhbY0wCI9xP6ZIVxn4JdxL ZlyldI+Yrsj5wAYi56xz36Uu+1LcsRVlIPo1Zmne3yzxbrww2ywkEtvrNTVokMsAsJchPXQhI2U0 K7t4WaPW4XY5mqRJjox0r26kmqPZm9I4XJuiGMx1I4S+6+JNM3GOGvDC+Mcdoq0Dlyz4zyXG9rgk MbFjXZJ/Y/AlyVMuH79NAgMBAAGjgdEwgc4wHwYDVR0jBBgwFoAUiYJnfc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BDEWBBQYukEZiGFK2qwv JY1zrH3kqHSn9TBZBgsqhkiG9w0BCRACATFKMEgELjc5NzM3NC0yMDA2IDY2MTcxMCA5NTY5MjMt MDA4MjAxMDEwMDU4MDAzMjAxMTKAAQAwEzARgQ9ubXNAb3RkZWwtMS5vcmcwWwYJKoZIhvcNAQkP MU4wTDAKBggqhkiG9w0DBzAOBggqhkiG9w0DAgICAIAwDQYIKoZIhvcNAwICAUAwBwYFKw4DAgcw DQYIKoZIhvcNAwICASgwBwYFKw4DAh0wDQYJKoZIhvcNAQEBBQAEgYDLNGowopGvxZ48uTxqG41e y6Rut9Tx9mAU9KzmjyhsIBDpmzejUGhdZ90nnEVv3nnbEzNeFN9d+Vdm0dPZA8S5X7P3BdynW273 yXiOEJFPNNFnXpI4JZk5lOput15jsYjfzKWqC7IYU88aTWwG4VJlntPi62yJJ/tXUjD/BGIt2wAA AAAAAA== ------=_NextPart_000_0026_01C69217.B6823ED0--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200606171010.k5HAAWp7074154>