Bugzilla – Attachment 1360 Details for
Bug 1347
LLONG_MAX v LONGLONG_MAX
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
define LLONG_MAX on AIX and HP-UX
bug1347.txt (text/plain), 761 bytes, created by
David Leonard
on 2007-09-24 23:03:11 AEST
(
hide
)
Description:
define LLONG_MAX on AIX and HP-UX
Filename:
MIME Type:
Creator:
David Leonard
Created:
2007-09-24 23:03:11 AEST
Size:
761 bytes
patch
obsolete
>Index: openssh/openbsd-compat/regress/strtonumtest.c >=================================================================== >--- openssh/openbsd-compat/regress/strtonumtest.c (revision 49) >+++ openssh/openbsd-compat/regress/strtonumtest.c (working copy) >@@ -21,6 +21,20 @@ > #include <stdio.h> > #include <stdlib.h> > >+/* LLONG_MAX is known as LONGLONG_MAX on AIX */ >+#if defined(LONGLONG_MAX) && !defined(LLONG_MAX) >+# define LLONG_MAX LONGLONG_MAX >+# define LLONG_MIN LONGLONG_MIN >+#endif >+ >+/* LLONG_MAX is known as LONG_LONG_MAX on HP-UX */ >+#if defined(LONG_LONG_MAX) && !defined(LLONG_MAX) >+# define LLONG_MAX LONG_LONG_MAX >+# define LLONG_MIN LONG_LONG_MIN >+#endif >+ >+long long strtonum(const char *, long long, long long, const char **); >+ > int fail; > > void
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 1347
:
1333
| 1360