{"thread":{"id":"6531","subject":"[PATCH] Use inttypes.h rather than stdint.h.","startedAt":"2007-01-25T21:11:40Z","lastAt":"2007-01-26T06:55:06Z","messageCount":3,"participants":["Jason Riedy","Randal L. Schwartz","Simon 'corecode' Schubert"],"isPatch":true,"patchVersion":1,"patchTotal":null},"messages":[{"id":"32638","messageId":"24182.1169759500@lotus.CS.Berkeley.EDU","threadId":"6531","inReplyTo":null,"subject":"[PATCH] Use inttypes.h rather than stdint.h.","fromName":"Jason Riedy","fromEmail":"ejr@eecs.berkeley.edu","sentAt":"2007-01-25T21:11:40Z","receivedAt":"2007-01-25T21:11:40Z","isPatch":true,"sender":{"key":"ejr@eecs.berkeley.edu","avatar":"https://gravatar.com/avatar/547fa56f887cab01599edab4e9f813c949c1269e02714f20e0496c56185d9837?d=mp&s=160"},"body":"Older Solaris machines lack stdint.h but have inttypes.h.\nThe standard has inttypes.h including stdint.h, so at worst\nthis pollutes the namespace a bit.\n\nSigned-off-by: Jason Riedy <ejr@cs.berkeley.edu>\n---\n   There's a simple work-around (-I. and a symlink), so I'll\n   understand if this is dropped for being too damn stupid.  But\n   I'm pretty sure Solaris 5.8 is still widespread (relatively\n   speaking).\n\n git-compat-util.h |    2 +-\n 1 files changed, 1 insertions(+), 1 deletions(-)\n\ndiff --git a/git-compat-util.h b/git-compat-util.h\nindex bf3ceb8..c1bcb00 100644\n--- a/git-compat-util.h\n+++ b/git-compat-util.h\n@@ -46,7 +46,7 @@\n #include <arpa/inet.h>\n #include <netdb.h>\n #include <pwd.h>\n-#include <stdint.h>\n+#include <inttypes.h>\n #undef _ALL_SOURCE /* AIX 5.3L defines a struct list with _ALL_SOURCE. */\n #include <grp.h>\n #define _ALL_SOURCE 1\n-- \n1.5.0.rc1.g6f729\n"},{"id":"32647","messageId":"868xfqrcvb.fsf@blue.stonehenge.com","threadId":"6531","inReplyTo":"24182.1169759500@lotus.CS.Berkeley.EDU","subject":"Re: [PATCH] Use inttypes.h rather than stdint.h.","fromName":"Randal L. Schwartz","fromEmail":"merlyn@stonehenge.com","sentAt":"2007-01-25T21:54:32Z","receivedAt":"2007-01-25T21:54:32Z","isPatch":true,"sender":{"key":"merlyn@stonehenge.com","avatar":"https://gravatar.com/avatar/dc528d210743ff0333e6213f9ee7b33b23f1b7bc1f3c5a8c2d819074ecd7ab19?d=mp&s=160"},"body":">>>>> \"Jason\" == Jason Riedy <ejr@EECS.Berkeley.EDU> writes:\n\nJason> Older Solaris machines lack stdint.h but have inttypes.h.\nJason> The standard has inttypes.h including stdint.h, so at worst\nJason> this pollutes the namespace a bit.\n\nHeh... I just ran into this for $client.  Nice.\n\n-- \nRandal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095\n<merlyn@stonehenge.com> <URL:http://www.stonehenge.com/merlyn/>\nPerl/Unix/security consulting, Technical writing, Comedy, etc. etc.\nSee PerlTraining.Stonehenge.com for onsite and open-enrollment Perl training!\n"},{"id":"32689","messageId":"45B9A5CA.1020801@fs.ei.tum.de","threadId":"6531","inReplyTo":"24182.1169759500@lotus.CS.Berkeley.EDU","subject":"Re: [PATCH] Use inttypes.h rather than stdint.h.","fromName":"Simon 'corecode' Schubert","fromEmail":"corecode@fs.ei.tum.de","sentAt":"2007-01-26T06:55:06Z","receivedAt":"2007-01-26T06:55:06Z","isPatch":true,"sender":{"key":"corecode@fs.ei.tum.de","avatar":"https://gravatar.com/avatar/eff9dbf0cdac0d1e6a6cd7ed0e50763edcb376b493b5253a35ff167918ad79e1?d=mp&s=160"},"body":"Jason Riedy wrote:\n> Older Solaris machines lack stdint.h but have inttypes.h.\n> The standard has inttypes.h including stdint.h, so at worst\n> this pollutes the namespace a bit.\n\nmy appologies for not researching enough.  thanks for this correction.\n\ncheers\n  simon\n\n-- \nServe - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /\"\\\nWork - Mac      +++  space for low €€€ NOW!1  +++      Campaign     \\ /\nParty Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \\\nDude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \\\n\n"}]}