sm-commit AT lists.ibiblio.org
Subject: Source Mage code commit list
List archive
[SM-Commit] GIT changes to master sorcery by Jaka Kranjc (baa454b0500ec8af760ed6e2307c08ff0e12d787)
- From: Jaka Kranjc <scm AT sourcemage.org>
- To: sm-commit AT lists.ibiblio.org
- Subject: [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (baa454b0500ec8af760ed6e2307c08ff0e12d787)
- Date: Fri, 1 Feb 2008 12:30:29 -0600
GIT changes to master sorcery by Jaka Kranjc <lynxlynxlynx AT sourcemage.org>:
ChangeLog | 1 +
usr/sbin/gaze | 5 +++++
2 files changed, 6 insertions(+)
New commits:
commit baa454b0500ec8af760ed6e2307c08ff0e12d787
Author: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
Commit: Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
gaze from didn't check its parameters, causing bug #14219
diff --git a/ChangeLog b/ChangeLog
index 36f5a4a..d6cf0b9 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -2,6 +2,7 @@
* libcodex: bail out of codex_check_cache if the grimoire dir is not
listable (executable) #13508
* gaze: gaze size could bark on files with glob paterns in their name
#14183
+ gaze from didn't check its parameters, causing bug #14219
2008-01-31 Jaka Kranjc <lynxlynxlynx AT sourcemage.org>
* libmisc: added error_message, a message() that also outputs to
stderr
diff --git a/usr/sbin/gaze b/usr/sbin/gaze
index e1e3942..63e342f 100755
--- a/usr/sbin/gaze
+++ b/usr/sbin/gaze
@@ -586,6 +586,11 @@ function older() {
#-----
function show_from() {
+ if [[ -z $1 ]]; then
+ error_message "${PROBLEM_COLOR}Missing search string
parameter!$DEFAULT_COLOR"
+ exit 1
+ fi
+
cd $INSTALL_LOGS
find . -printf "%f\n" | xargs grep "`esc_str $1`$" |
seperate_state_files /dev/stdin /dev/stdout /dev/null | sort
- [SM-Commit] GIT changes to master sorcery by Jaka Kranjc (baa454b0500ec8af760ed6e2307c08ff0e12d787), Jaka Kranjc, 02/01/2008
Archive powered by MHonArc 2.6.24.