ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Evgeniy Kobzev" <evgenik@diamonds.ru>
To: <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Re: FireBird 1.0 ÏÔ AltLinux ÂÕÄÅÔ?
Date: Fri, 15 Mar 2002 08:46:48 +0300
Message-ID: <000901c1cbe4$ccb858e0$6600a8c0@ruis.ru> (raw)
In-Reply-To: <20020314221458.GC2019@mhz.mikhail.zabaluev.name>

----- Original Message -----
From: "Mikhail Zabaluev" <mhz@alt-linux.org>
To: <sisyphus@altlinux.ru>
Sent: Friday, March 15, 2002 1:14 AM
Subject: [sisyphus] Re: FireBird 1.0 от AltLinux будет?


> Хм, сомнительный код... Не означаёт ли это, что ошибки загнаны под
> ковёр? Можно взглянуть на код, на котором выдаются ошибки?

Можно. Функция в которой ругается. Это 47 строка, и далее до 110.
=====================================================================
SSHORT MISC_build_parameters_block (
    UCHAR *buffer,
    ...)
{
/**************************************
 *
 * M I S C _ b u i l d _ p a r a m e t e r s _ b l o c k
 *
 **************************************
 *
 * Functional description
 * Stuffs the passed buffer with various argument information coming via
 * va_list.  An argument type of 0 signifies the end of argument list.
 * Returns the total number of bytes put (stuffed) in the passed buffer.
 *
 **************************************/
va_list ptr;
UCHAR *p, *q;
SCHAR arg_type, ch;
USHORT sh;
SLONG l;

p = buffer;
VA_START (ptr, buffer);

/* using the argument types in the parameter list,
   pop the arguments off the call stack and put
   them into the passed buffer */

while (arg_type = va_arg (ptr, SCHAR)) // <--- misc.c:76: `SCHAR' is
promoted to `int' when passed through `...'
    switch (arg_type)
 {
 case dtype_byte: /* byte */
     ch = va_arg (ptr, SCHAR);         // <--- misc.c:80: `SCHAR' is
promoted to `int' when passed through `...'
     STUFF (p, ch);
     break;

 case dtype_short: /* short value */
     sh = va_arg (ptr, USHORT);        // <--- misc.c:85: `USHORT' is
promoted to `int' when passed through `...'
     STUFF_SHORT (p, sh);
     break;

 case dtype_long: /* long value */
     l = (SLONG) va_arg (ptr, SLONG);
     STUFF_LONG (p, l);
     break;

 case dtype_cstring: /* null-terminated string */
     q = va_arg (ptr, UCHAR*);
     STUFF_BYTES (p, q, strlen (q) + 1);
     break;

 case dtype_varying: /* short value followed by a value with that many bytes
*/
     sh = va_arg (ptr, USHORT);
     STUFF_SHORT (p, sh);
     q = va_arg (ptr, UCHAR*);
     STUFF_BYTES (p, q, sh);
     break;
 }

va_end (ptr);

return (p-buffer);
}
=====================================================================






  reply	other threads:[~2002-03-15  5:46 UTC|newest]

Thread overview: 22+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-03-14  6:59 [sisyphus] " Evgeniy Kobzev
2002-03-14  8:02 ` [sisyphus] FireBird 1.0 от AltLinux будет? Stanislav Ievlev
2002-03-14  8:31   ` DH
2002-03-14  9:16     ` Alexander Bokovoy
2002-03-14 10:19       ` DH
2002-03-14  9:46     ` [sisyphus] FireBird 1.0 ÏÔ AltLinux ÂÕÄÅÔ? Evgeniy Kobzev
2002-03-14 10:10       ` [sisyphus] FireBird 1.0 от AltLinux будет? Sir Raorn
2002-03-14 10:15       ` [sisyphus] FireBird 1.0 ПФ AltLinux ВХДЕФ? Alexander Bokovoy
2002-03-14 10:17       ` [sisyphus] Re: FireBird 1.0 от AltLinux будет? Mikhail Zabaluev
2002-03-14 10:43         ` [sisyphus] Re: FireBird 1.0 ÏÔ AltLinux ÂÕÄÅÔ? Evgeniy Kobzev
2002-03-14 11:08           ` [sisyphus] Re: FireBird 1.0 от AltLinux будет? Mikhail Zabaluev
2002-03-14 14:08             ` Aleksey Novodvorsky
2002-03-14 14:02               ` Evgeniy Kobzev
2002-03-14 22:14                 ` Mikhail Zabaluev
2002-03-15  5:46                   ` Evgeniy Kobzev [this message]
2002-03-15  8:45                     ` Mikhail Zabaluev
2002-03-14 16:02             ` Sir Raorn
2002-03-14 22:13               ` Mikhail Zabaluev
2002-03-15  7:54               ` Michael Shigorin
2002-03-15 10:26                 ` Sir Raorn
2002-03-15 11:02                   ` Mikhail Zabaluev
2002-03-14 10:26       ` Michael Shigorin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='000901c1cbe4$ccb858e0$6600a8c0@ruis.ru' \
    --to=evgenik@diamonds.ru \
    --cc=sisyphus@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git