X-Git-Url: https://git.hcoop.net/bpt/guile.git/blobdiff_plain/b958141cdb081ceb16ca5828abda71f772fe0c57..d21ef2683860561e7b7fdcf2e4ab5523ea320534:/test-suite/tests/regexp.test diff --git a/test-suite/tests/regexp.test b/test-suite/tests/regexp.test index d25a3d42d..2446dc7c7 100644 --- a/test-suite/tests/regexp.test +++ b/test-suite/tests/regexp.test @@ -2,7 +2,7 @@ ;;;; Jim Blandy --- September 1999 ;;;; ;;;; Copyright (C) 1999, 2004, 2006, 2007, 2008, 2009, 2010, -;;;; 2012, 2013 Free Software Foundation, Inc. +;;;; 2012, 2013, 2014 Free Software Foundation, Inc. ;;;; ;;;; This library is free software; you can redistribute it and/or ;;;; modify it under the terms of the GNU Lesser General Public @@ -23,8 +23,8 @@ #:use-module (srfi srfi-1) #:use-module (ice-9 regex)) -(if (defined? 'setlocale) - (setlocale LC_ALL "C")) +(when (defined? 'setlocale) + (setlocale LC_ALL "C")) ;; Don't fail if we can't display a test name to stdout/stderr. (set-port-conversion-strategy! (current-output-port) 'escape)