Mailinglist Archive: opensuse-es (885 mails)
| < Previous | Next > |
[opensuse-es] Re: hylafax no support for old protocol
- From: Camaleón <noelamac@xxxxxxxxx>
- Date: Thu, 25 Mar 2010 07:48:38 +0000 (UTC)
- Message-id: <pan.2010.03.25.07.48.37@xxxxxxxxx>
El Thu, 25 Mar 2010 02:27:28 +0100, Carlos E. R. escribió:
Sí, sí te leemos. Bueno, yo sí te leo.
Pero soy cabezota y quería saber por qué cascaba con la 6.0.2 y en cambio
en la 4.4.4 funciona con ese parámetro.
4.4.4
#include "port.h"
#include "InetFaxServer.h"
#if CONFIG_UNIXTRANSPORT
#include "UnixFaxServer.h"
#endif
#ifdef OLDPROTO_SUPPORT
#include "OldProtocol.h"
#endif
#ifdef SNPP_SUPPORT
#include "SNPPServer.h"
#endif
#ifdef HTTP_SUPPORT
#include "HTTPServer.h"
#endif
#include "Dispatcher.h"
#include "Array.h"
#include "Sys.h"
#include "Socket.h"
#include "config.h"
6.0.2
#include "port.h"
#include "InetFaxServer.h"
#if CONFIG_UNIXTRANSPORT
#include "UnixFaxServer.h"
#endif
#ifdef SNPP_SUPPORT
#include "SNPPServer.h"
#endif
#ifdef HTTP_SUPPORT
#include "HTTPServer.h"
#endif
#include "Dispatcher.h"
#include "Array.h"
#include "Sys.h"
#include "Socket.h"
#include "config.h"
Y efectivamente, comparando el código de ambas versiones, todo cuadra:
4.4.4:
/*
* Rescan the arguments and create the appropriate * protocol support
threads. We do this after the * above work for reasons I can no
longer remember. */
optind = 1;
opterr = 0;
while ((c = Sys::getopt(argc, argv, opts)) != -1)
switch (c) {
#ifdef OLDPROTO_SUPPORT
case 'o': handlers.append(new OldProtocolSuperServer(optarg));
break;
case 'O':
{ OldProtocolServer* server = new OldProtocolServer;
server->open();
handlers.append(server);
}
break;
#else
case 'o': case 'O':
fatal("No support for old protocol"); /*NOTREACHED*/
#endif
6.0.2:
/*
* Rescan the arguments and create the appropriate * protocol support
threads. We do this after the * above work for reasons I can no
longer remember. */
optind = 1;
opterr = 0;
while ((c = Sys::getopt(argc, argv, opts)) != -1)
switch (c) {
case 'o': case 'O':
fatal("No support for old protocol"); /*NOTREACHED*/
La 4.4.4 aún permite el parámetro de compilación "-o" mientras que en la
6.0.2 ya no se contempla esa opción. Luego el script de inicio de la 6.0.2
es erróneo.
Saludos,
--
Camaleón
--
Para dar de baja la suscripción, mande un mensaje a:
opensuse-es+unsubscribe@xxxxxxxxxxxx
Para obtener el resto de direcciones-comando, mande
un mensaje a:
opensuse-es+help@xxxxxxxxxxxx
El 2010-03-24 a las 22:44 -0000, Camaleón escribió:
Pero, je... en el manual de la 6.0.2 ese argumento *desaparece*:
http://www.hylafax.org/content/Man_Pages_6.0.4
Ya no está, no es una opción, luego no me extraña que te dé ese error
al iniciarlo con el "-o".
Es lo que he dicho hace varios mensajes (que casca con la "-o"), no me
leeis >:-)
Sí, sí te leemos. Bueno, yo sí te leo.
Pero soy cabezota y quería saber por qué cascaba con la 6.0.2 y en cambio
en la 4.4.4 funciona con ese parámetro.
4.4.4
#include "port.h"
#include "InetFaxServer.h"
#if CONFIG_UNIXTRANSPORT
#include "UnixFaxServer.h"
#endif
#ifdef OLDPROTO_SUPPORT
#include "OldProtocol.h"
#endif
#ifdef SNPP_SUPPORT
#include "SNPPServer.h"
#endif
#ifdef HTTP_SUPPORT
#include "HTTPServer.h"
#endif
#include "Dispatcher.h"
#include "Array.h"
#include "Sys.h"
#include "Socket.h"
#include "config.h"
6.0.2
#include "port.h"
#include "InetFaxServer.h"
#if CONFIG_UNIXTRANSPORT
#include "UnixFaxServer.h"
#endif
#ifdef SNPP_SUPPORT
#include "SNPPServer.h"
#endif
#ifdef HTTP_SUPPORT
#include "HTTPServer.h"
#endif
#include "Dispatcher.h"
#include "Array.h"
#include "Sys.h"
#include "Socket.h"
#include "config.h"
Y efectivamente, comparando el código de ambas versiones, todo cuadra:
4.4.4:
/*
* Rescan the arguments and create the appropriate * protocol support
threads. We do this after the * above work for reasons I can no
longer remember. */
optind = 1;
opterr = 0;
while ((c = Sys::getopt(argc, argv, opts)) != -1)
switch (c) {
#ifdef OLDPROTO_SUPPORT
case 'o': handlers.append(new OldProtocolSuperServer(optarg));
break;
case 'O':
{ OldProtocolServer* server = new OldProtocolServer;
server->open();
handlers.append(server);
}
break;
#else
case 'o': case 'O':
fatal("No support for old protocol"); /*NOTREACHED*/
#endif
6.0.2:
/*
* Rescan the arguments and create the appropriate * protocol support
threads. We do this after the * above work for reasons I can no
longer remember. */
optind = 1;
opterr = 0;
while ((c = Sys::getopt(argc, argv, opts)) != -1)
switch (c) {
case 'o': case 'O':
fatal("No support for old protocol"); /*NOTREACHED*/
La 4.4.4 aún permite el parámetro de compilación "-o" mientras que en la
6.0.2 ya no se contempla esa opción. Luego el script de inicio de la 6.0.2
es erróneo.
Saludos,
--
Camaleón
--
Para dar de baja la suscripción, mande un mensaje a:
opensuse-es+unsubscribe@xxxxxxxxxxxx
Para obtener el resto de direcciones-comando, mande
un mensaje a:
opensuse-es+help@xxxxxxxxxxxx
| < Previous | Next > |