Sisyphus repository
Last update: 1 october 2023 | SRPMs: 18631 | Visits: 37729093
en ru br
ALT Linux repos
S:1.07.1-alt1
5.0: 1.06-alt2
4.1: 1.06-alt2
4.0: 1.06-alt2
3.0: 1.06-ipl6mdk

Group :: Sciences/Mathematics
RPM: bc

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs and FR  Repocop 

Patch: 01_typo_in_bc.diff
Download


Description: Fix a typo in bc
Author: Ryan Kavanagh <rak@debian.org>
Origin: vendor
Forwarded: no
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
Index: bc/bc/bc.c
===================================================================
--- bc.orig/bc/bc.c	2017-07-24 15:04:36.797244137 -0400
+++ bc/bc/bc.c	2017-07-24 15:04:53.193346967 -0400
@@ -2062,7 +2062,7 @@
 #line 470 "../../bc/bc.y" /* yacc.c:1646  */
     {
 			      if ((yyvsp[0].i_value) & EX_COMP)
-				ct_warn ("comparison in return expresion");
+				ct_warn ("comparison in return expression");
 			      if (!((yyvsp[0].i_value) & EX_PAREN))
 				ct_warn ("return expression requires parenthesis");
 			      if ((yyvsp[0].i_value) & EX_VOID)
Index: bc/bc/bc.y
===================================================================
--- bc.orig/bc/bc.y	2017-07-10 13:40:18.727030635 -0400
+++ bc/bc/bc.y	2017-07-24 15:04:48.557317891 -0400
@@ -469,7 +469,7 @@
 			| expression
 			    {
 			      if ($1 & EX_COMP)
-				ct_warn ("comparison in return expresion");
+				ct_warn ("comparison in return expression");
 			      if (!($1 & EX_PAREN))
 				ct_warn ("return expression requires parenthesis");
 			      if ($1 & EX_VOID)
 
design & coding: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
current maintainer: Michael Shigorin