search for: eai_system

Displaying 12 results from an estimated 12 matches for "eai_system".

Did you mean: as_system
2008 Oct 20
2
[PATCH] Compilation of tftp-hpa's Git HEAD with no IPv6, and misc
...returned address type.. */ +#endif + #ifndef EAI_NONAME #define EAI_NONAME -2 /* NAME or SERVICE is unknown. */ #endif @@ -335,15 +340,16 @@ const char *gai_strerror(int); #define EAI_MEMORY -10 /* Memory allocation failure. */ #endif #ifndef EAI_SYSTEM -#define EAI_SYSTEM -11 /* System error returned in rrno'. */ +#define EAI_SYSTEM -11 /* System error returned in `errno'. */ #endif #endif -#ifndef HAVE_INET_NTOP -const char *inet_ntop(int, const void *, char *, socklen_t); #ifndef INET6_ADDRSTRLEN -#define INET6_ADDRS...
2013 Jun 24
4
[Bug 2122] New: ssh: Could not resolve hostname nohost: Success
...ch.conf: hosts: files dns xyz $ ssh nohost ssh: Could not resolve hostname nohost: Success The message "Success" doesn't make sense given that it's in fact a system error. It's an issue of ssh_gai_strerror() which can't handle a situation when getaddrinfo() returns EAI_SYSTEM but errno is not set/is set to 0. A potential fix: --- a/misc.c +++ b/misc.c @@ -127,7 +127,7 @@ unset_nonblock(int fd) const char * ssh_gai_strerror(int gaierr) { - if (gaierr == EAI_SYSTEM) + if (gaierr == EAI_SYSTEM && errno != 0) return strerror(errno);...
2007 Dec 21
4
[Bug 1417] New: Better error message when hostname resolution fails.
https://bugzilla.mindrot.org/show_bug.cgi?id=1417 Summary: Better error message when hostname resolution fails. Classification: Unclassified Product: Portable OpenSSH Version: 4.7p1 Platform: Other OS/Version: Mac OS X Status: NEW Severity: normal Priority: P2 Component: Miscellaneous
2006 Jan 11
1
HELP!! - ActiveRecord derivates in AWS :expects method
...de of the API ... ------ class HarvesterApi < ActionWebService::API::Base api_method :send_measurand, :expects => [{:measurand => Measurand}, {:eaiSystemName => :string}] end ------ ... and this of my Model ------ class Measurand < ActiveRecord::Base belongs_to :eai_system belongs_to :measurement_error acts_as_tree :order => "genId" # Constants for validation of measurand scope CLASSIFICATION_BEAN = "Bean" CLASSIFICATION_APPLICATION = "Application" CLASSIFICATION_WORKFLOW = "Workflow" # Validation part va...
2004 Jan 19
0
rsync 2.6.0 and Solaris 8
...nted by the defines. Bryan --- lib/addrinfo.h.orig 2001-12-05 06:19:16.000000000 -0700 +++ lib/addrinfo.h 2004-01-16 21:45:44.678112000 -0700 @@ -52,10 +52,12 @@ #define EAI_SERVICE 9 /* servname not supported for ai_socktype */ #define EAI_SOCKTYPE 10 /* ai_socktype not supported */ #define EAI_SYSTEM 11 /* system error returned in errno */ +#endif /* ndef EAI_ADDRFAMILY */ +#ifndef EAI_BADHINTS #define EAI_BADHINTS 12 #define EAI_PROTOCOL 13 #define EAI_MAX 14 -#endif /* ndef EAI_ADDRFAMILY */ +#endif /* ndef EAI_BADHINTS */ /* * Flag values for getaddrinfo() @@ -66,8 +68,6 @@ #define...
2008 Feb 18
1
[PATCH] Build problem in current portable CVS
...h additionally has this definition of gai_strerror: #define gai_strerror(a) (ssh_gai_strerror(a)) OTOH, misc.c defines the function ssh_gai_strerror unconditionally, and ssh_gai_strerror is used throughout the ssh sources. Since the ssh_gai_strerror implementation in misc.c special cases EAI_SYSTEM, and since it calls gai_strerror, the above define appears to be wrong. Patch below. Thanks, Corinna Index: openbsd-compat/fake-rfc2553.h =================================================================== RCS file: /cvs/openssh/openbsd-compat/fake-rfc2553.h,v retrieving revision 1.13 diff -p...
2006 Jan 05
3
ActiveRecord model classes not allowed in :expects
...e of the API ... ------ class HarvesterApi < ActionWebService::API::Base api_method :send_measurand, :expects => [{:measurand => Measurand}, {:eaiSystemName => :string}] end ------ ... and this of my Model ------ class Measurand < ActiveRecord::Base belongs_to :eai_system belongs_to :measurement_error acts_as_tree :order => "genId" # Constants for validation of measurand scope CLASSIFICATION_BEAN = "Bean" CLASSIFICATION_APPLICATION = "Application" CLASSIFICATION_WORKFLOW = "Workflow" # Validation part va...
2013 Dec 17
0
kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
On Dec 16, 2013, at 10:11 PM, David C. Rankin wrote: > On 12/16/2013 08:01 PM, Charles Lepple wrote: >> On Dec 16, 2013, at 4:19 PM, David C. Rankin wrote: >> >>>> Dec 16 14:05:16 phoinix upsd[369]: getaddrinfo: Servname not supported for >>>> ai_socktype >> [...] >>>> The kernel update was from linux (3.12.1-3 -> 3.12.5-1), I don't
2013 Dec 17
2
kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
On 12/16/2013 08:01 PM, Charles Lepple wrote: > On Dec 16, 2013, at 4:19 PM, David C. Rankin wrote: > >> > Dec 16 14:05:16 phoinix upsd[369]: getaddrinfo: Servname not supported for >> > ai_socktype > [...] >> > The kernel update was from linux (3.12.1-3 -> 3.12.5-1), I don't see what >> > could have changed. How do I attempt to further
2013 Dec 17
4
kernel update to 3.12.5-1, now: upsd[617]: getaddrinfo: Servname not supported for ai_socktype
...fprintf(stderr, "hints.ai_family : %d\n", hints.ai_family); fprintf(stderr, "hints.ai_socktype : %d\n", hints.ai_socktype); fprintf(stderr, "hints.ai_protocol : %d\n", hints.ai_protocol); if (v == EAI_SYSTEM) { fatal_with_errno(EXIT_FAILURE, "getaddrinfo"); } fatalx(EXIT_FAILURE, "getaddrinfo: %s", gai_strerror(v)); } I rebuilt nut and ran it, the error log contained: Dec 17 10:21:01 phoinix upsd[27151]: ===========...
2007 Jan 23
2
Re: [nut-commits] svn commit r731
...cktype = SOCK_STREAM; > + hints.ai_protocol = IPPROTO_TCP; > + hints.ai_addrlen = 0; > + hints.ai_addr = NULL; > + hints.ai_canonname = NULL; > + hints.ai_next = NULL; > + > + if ((v = getaddrinfo(serv->addr, serv->port, &hints, &res))) { > + if (v == EAI_SYSTEM) > + fatal_with_errno("getaddrinfo"); > + > + fatalx("getaddrinfo: %s\n", gai_strerror(v)); > + } > + > + for (ai = res; ai != NULL; ai = ai->ai_next) { > + int sock_fd; > + > + if ((ai->ai_so...
2014 Jan 03
0
Wine release 1.7.10
...ws2_32: Use a helper function to set the IPX packet type. ws2_32: Add extended IPX protocol support. ws2_32: Cope with invalid hints in getaddrinfo/GetAddrInfoW. Dmitry Timoshkov (22): taskschd: Add new dll. ws2_32: Add a workaround for broken versions of glibc which return EAI_SYSTEM and set errno to 0 instead returning of EAI_NONAME. ws2_32: Add translation for AI_V4MAPPED. ws2_32: Add more traces. ws2_32/tests: Add a test for inet_ntoa called from two threads. ws2_32: Move the buffer used by inet_ntoa into the per-thread data. ntdll: Implement Nt...