Memcached TODO list?
Lisa Marie Seelye
lisa@gentoo.org
Wed, 27 Aug 2003 14:55:47 -0400
--=-SdEeIDAlz8JwaeQqXxjO
Content-Type: multipart/mixed; boundary="=-0BibJWWxZ15pbsJJr1T/"
--=-0BibJWWxZ15pbsJJr1T/
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable
Ack. I forgot I took out the need for errno.h, here's a better patch
that removes it.
--=20
Regards,
-Lisa
<Vix ulla tam iniqua pax, quin bello vel aequissimo sit potior>
--=-0BibJWWxZ15pbsJJr1T/
Content-Disposition: attachment; filename=setuid.patch
Content-Transfer-Encoding: base64
Content-Type: text/x-patch; name=setuid.patch; charset=ISO-8859-1
Q29tbW9uIHN1YmRpcmVjdG9yaWVzOiBjdnMvLmRlcHMgYW5kIGN2cy1kaWZmLy5kZXBzDQpDb21t
b24gc3ViZGlyZWN0b3JpZXM6IGN2cy9DVlMgYW5kIGN2cy1kaWZmL0NWUw0KZGlmZiAtdU4gY3Zz
L01ha2VmaWxlLmFtIGN2cy1kaWZmL01ha2VmaWxlLmFtDQotLS0gY3ZzL01ha2VmaWxlLmFtCTIw
MDMtMDgtMjcgMTQ6NTI6MjkuMDAwMDAwMDAwIC0wNDAwDQorKysgY3ZzLWRpZmYvTWFrZWZpbGUu
YW0JMjAwMy0wOC0yNyAxMzo0ODozMS4wMDAwMDAwMDAgLTA0MDANCkBAIC0xLDYgKzEsNiBAQA0K
IGJpbl9QUk9HUkFNUyA9IG1lbWNhY2hlZA0KIA0KLW1lbWNhY2hlZF9TT1VSQ0VTID0gbWVtY2Fj
aGVkLmMgc2xhYnMuYyBpdGVtcy5jIG1lbWNhY2hlZC5oIGFzc29jLmMNCittZW1jYWNoZWRfU09V
UkNFUyA9IG1lbWNhY2hlZC5jIHNsYWJzLmMgaXRlbXMuYyBtZW1jYWNoZWQuaCBhc3NvYy5jIHNl
dHVpZC5jIHNldHVpZC5oIGVycm9ycy5oDQogDQogRElTVF9TVUJESVJTID0gZG9jDQogRVhUUk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2Vu
dG9vLm9yZz4sIGZvciBtZW1jYWNoZWQNCisgKioqKioqKioqKioqKioqKioqKioqKioqKioqKioq
KioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKioqKi8NCisNCisNCisj
ZGVmaW5lIFBVU0VSSUQgIm1lbWNhY2hlZCINCkNvbW1vbiBzdWJkaXJlY3RvcmllczogY3ZzL3dl
YnNpdGUgYW5kIGN2cy1kaWZmL3dlYnNpdGUNCg==
--=-0BibJWWxZ15pbsJJr1T/--
--=-SdEeIDAlz8JwaeQqXxjO
Content-Type: application/pgp-signature; name=signature.asc
Content-Description: This is a digitally signed message part
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
iD8DBQA/TP6yy0a1Vh5Jb8URAuzLAJ4nztlFhpqB6AwO1ljWabmsq5UrnQCg47kF
YFmf3w+iCIuHdNbRqI+ItRw=
=rUQ1
-----END PGP SIGNATURE-----
--=-SdEeIDAlz8JwaeQqXxjO--