[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#107024: marked as done ([patch] osh using strerror)



Your message dated Mon, 06 Aug 2001 15:00:06 -0400
with message-id <E15Tpbi-0007yu-00@auric.debian.org>
and subject line Bug#107024: fixed in osh 1.7-8
has caused the attached Bug report to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what I am
talking about this indicates a serious mail system misconfiguration
somewhere.  Please contact me immediately.)

Darren Benham
(administrator, Debian Bugs database)

--------------------------------------
Received: (at submit) by bugs.debian.org; 29 Jul 2001 21:27:20 +0000
>From ja2morri@student.math.uwaterloo.ca Sun Jul 29 16:27:20 2001
Return-path: <ja2morri@student.math.uwaterloo.ca>
Received: from student.math.uwaterloo.ca [::ffff:129.97.204.16] 
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 15Qy5o-0000Sl-00; Sun, 29 Jul 2001 16:27:20 -0500
Received: from bacon.math.uwaterloo.ca (ja2morri@bacon.math.uwaterloo.ca [129.97.204.93])
	by student.math.uwaterloo.ca (8.8.8/8.8.8) with ESMTP id RAA25996
	for <submit@bugs.debian.org>; Sun, 29 Jul 2001 17:27:16 -0400 (EDT)
From: James A Morrison <ja2morri@student.math.uwaterloo.ca>
Received: (from ja2morri@localhost)
	by bacon.math.uwaterloo.ca (8.9.3/8.9.3) id RAA04148
	for submit@bugs.debian.org; Sun, 29 Jul 2001 17:27:16 -0400 (EDT)
Date: Sun, 29 Jul 2001 17:27:16 -0400 (EDT)
Message-Id: <200107292127.RAA04148@bacon.math.uwaterloo.ca>
To: submit@bugs.debian.org
Subject: [patch] osh using strerror
Delivered-To: submit@bugs.debian.org

Package: osh 
Version: 1.7-7
Severity: important

	I have replaced sys_errlist with strerror wihich is more portable.
It also allows osh to compile and run on GNU HURD.

James Morrison


--- handlers.old.c	Sun Jul 29 13:25:18 2001
+++ handlers.c	Sun Jul 29 13:26:19 2001
@@ -569,10 +569,6 @@
 
 {
   int x;
-  /* Removed to compile for debian
-  extern char *sys_errlist[];
-  */
-   
   
   if (argc>2) {
     fprintf(stderr,"cd: Too many arguments\n");
@@ -584,7 +580,7 @@
     else
       x=chdir(getenv("HOME"));
     if (x) {
-      fprintf(stderr,"cd: %s\n",sys_errlist[errno]);
+      fprintf(stderr,"cd: %s\n",strerror(errno));
       logit('-');
     }
     else
@@ -602,9 +598,6 @@
   FILE *input_file;
   FILE *k;
   char *file_name;
-  /* Removed to compile on debian
-  extern char *sys_errlist[];
-  */
   char temp[255], temp2[255];
   char c;
   int x,y;
@@ -628,7 +621,7 @@
     }
     if (input_file==NULL) {
       logit('-');
-      fprintf(stderr,"more: %s\n",sys_errlist[errno]);
+      fprintf(stderr,"more: %s\n",strerror(errno));
       return;
     }
     k=fopen("/dev/tty","r");

---------------------------------------
Received: (at 107024-close) by bugs.debian.org; 6 Aug 2001 19:26:52 +0000
>From troup@auric.debian.org Mon Aug 06 14:26:52 2001
Return-path: <troup@auric.debian.org>
Received: from auric.debian.org [206.246.226.45] (mail)
	by master.debian.org with esmtp (Exim 3.12 1 (Debian))
	id 15Tq1c-0007h5-00; Mon, 06 Aug 2001 14:26:52 -0500
Received: from troup by auric.debian.org with local (Exim 3.12 1 (Debian))
	id 15Tpbi-0007yu-00; Mon, 06 Aug 2001 15:00:06 -0400
From: Matej Vela <vela@debian.org>
To: 107024-close@bugs.debian.org
X-Katie: $Revision: 1.55 $
Subject: Bug#107024: fixed in osh 1.7-8
Message-Id: <E15Tpbi-0007yu-00@auric.debian.org>
Sender: James Troup <troup@auric.debian.org>
Date: Mon, 06 Aug 2001 15:00:06 -0400
Delivered-To: 107024-close@bugs.debian.org

We believe that the bug you reported is fixed in the latest version of
osh, which has been installed in the Debian FTP archive:

osh_1.7-8_i386.deb
  to pool/main/o/osh/osh_1.7-8_i386.deb
osh_1.7-8.dsc
  to pool/main/o/osh/osh_1.7-8.dsc
osh_1.7-8.diff.gz
  to pool/main/o/osh/osh_1.7-8.diff.gz



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 107024@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Matej Vela <vela@debian.org> (supplier of updated osh package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Format: 1.7
Date: Mon,  6 Aug 2001 15:10:44 +0200
Source: osh
Binary: osh
Architecture: source i386
Version: 1.7-8
Distribution: unstable
Urgency: medium
Maintainer: Debian QA Group <packages@qa.debian.org>
Changed-By: Matej Vela <vela@debian.org>
Description: 
 osh        - Operator's Shell
Closes: 107024
Changes: 
 osh (1.7-8) unstable; urgency=medium
 .
   * handlers.c: Applied James Morrison's patch to use strerror rather
     than sys_errlist (the latter is unavailable on the Hurd).
     Closes: #107024.
   * Install osh into /usr/sbin -- it is not meant to be used by
     normal users.
   * Install osh.8.
   * Switched to debhelper 3.  Removed cruft.
   * Conforms to Standards version 3.5.6:
     * Added build dependencies.
     * Added suidmanager (<< 0.50) to Conflicts.
     * Removed dpkg-statoverride calls from maintainer scripts.
     * debian/rules: Support the `debug' build option.
   * Removed dependency on base-files (>= 2.1.6) since it's in potato.
   * Added overrides for Lintian permissions warnings.
Files: 
 c22ff92313c7ad7b64b01a08970a303c 594 shells extra osh_1.7-8.dsc
 a584dc21665a926fdd3defba9ea79c69 28033 shells extra osh_1.7-8.diff.gz
 d257a3cef34e3de31b6bf7398316455a 46460 shells extra osh_1.7-8_i386.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.0.6 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjtul5AACgkQxBYivKllgY9O2ACg1km4Couzzr3ldGyU9WW11HLr
GP0An0A1cM1CciHAv6lqVArGUy7XXWIh
=qztQ
-----END PGP SIGNATURE-----



Reply to: