_error->Error("func","Text"), apt-https varia
- To: Jason Gunthorpe <jgg@debian.org>
- Cc: APT Development Team <deity@lists.debian.org>
- Subject: _error->Error("func","Text"), apt-https varia
- From: Tomas Pospisek <tpo_deb@sourcepole.ch>
- Date: Tue, 21 May 2002 16:43:53 +0200 (CEST)
- Message-id: <Pine.LNX.4.44.0205211639070.7052-100000@tpo2.sourcepole>
1) I'm using:
return _error->Errno("ssl","Could not create a ssl structure");
which is wrong [1], but IMO useful. Should I leave it that way or
should I replace it by:
return _error->Errno("Could not create a ssl structure");
2) Should a make a new Package/Target apt-https (containing one single
binary :-/
*t
PS: Jason, should I be sending questions about apt-https to you with a Cc:
to the list?
[1] // GlobalError::Errno - Get part of the error string from errno
// ---------------------------------------------------------------------
/* Function indicates the stdlib function that failed and Description
is a user string that leads the text. Form is:
Description - Function (errno: strerror)
Carefull of the buffer overrun, sprintf.
-----------------------------------------------------------------------
Tomas Pospisek
sourcepole - Linux & Open Source Solutions
http://sourcepole.com
Elestastrasse 18, 7310 Bad Ragaz, Switzerland
Tel:+41 (81) 330 77 13, Fax:+41 (81) 330 77 12
------------------------------------------------------------------------
--
To UNSUBSCRIBE, email to deity-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Reply to: