This commit is contained in:
parent
2d6bf71622
commit
825d478439
@ -1 +1,2 @@
|
|||||||
which-2.16.tar.gz
|
which-2.16.tar.gz
|
||||||
|
which-2.18.tar.gz
|
||||||
|
2
sources
2
sources
@ -1 +1 @@
|
|||||||
830b83af48347a9a3520f561e47cbc9b which-2.16.tar.gz
|
42d51938e48b91f6e19fabf216f5c3e9 which-2.18.tar.gz
|
||||||
|
@ -12,22 +12,3 @@
|
|||||||
result = xmalloc (result_size = (strlen (string) + 16));
|
result = xmalloc (result_size = (strlen (string) + 16));
|
||||||
else
|
else
|
||||||
result = xmalloc (result_size = (strlen (string) + 1));
|
result = xmalloc (result_size = (strlen (string) + 1));
|
||||||
--- which-2.14/which.c.orig Mon Dec 9 18:58:28 2002
|
|
||||||
+++ which-2.14/which.c Mon Dec 9 18:59:52 2002
|
|
||||||
@@ -22,6 +22,7 @@
|
|
||||||
#include "getopt.h"
|
|
||||||
#include "tilde/tilde.h"
|
|
||||||
#include "bash.h"
|
|
||||||
+#include <ctype.h>
|
|
||||||
|
|
||||||
static const char *progname;
|
|
||||||
|
|
||||||
@@ -536,7 +537,7 @@
|
|
||||||
while (fgets(buf, sizeof(buf), stdin))
|
|
||||||
{
|
|
||||||
int looks_like_function_start = 0;
|
|
||||||
- int function_start_version_205b;
|
|
||||||
+ int function_start_version_205b = 0;
|
|
||||||
if (read_functions)
|
|
||||||
{
|
|
||||||
// bash version 2.0.5a and older output a pattern for `str' like
|
|
||||||
|
@ -50,7 +50,7 @@ rm -rf $RPM_BUILD_ROOT
|
|||||||
|
|
||||||
%files
|
%files
|
||||||
%defattr(-,root,root)
|
%defattr(-,root,root)
|
||||||
%doc COPYING AUTHORS LICENSE EXAMPLES README AUTHORS NEWS
|
%doc COPYING EXAMPLES README AUTHORS NEWS
|
||||||
/etc/profile.d/which-2.*
|
/etc/profile.d/which-2.*
|
||||||
%{_bindir}/*
|
%{_bindir}/*
|
||||||
%{_infodir}/which.info.gz
|
%{_infodir}/which.info.gz
|
||||||
|
Loading…
Reference in New Issue
Block a user