|
From: Carlo W. <li...@us...> - 2002-02-14 18:43:39
|
CVSROOT : /cvsroot/libcw
Module : src
Commit time: 2002-01-14 18:43:33 UTC
Modified files:
libcwd/NEWS libcwd/bfd.cc libcwd/documentation/Makefile
Log message:
Temporary fix for reported bug.
---------------------- diff included ----------------------
Index: src/libcwd/NEWS
diff -u src/libcwd/NEWS:1.68 src/libcwd/NEWS:1.69
--- src/libcwd/NEWS:1.68 Sun Feb 10 19:00:24 2002
+++ src/libcwd/NEWS Thu Feb 14 10:43:23 2002
@@ -13,7 +13,7 @@
New are environment variables that influence libcwd.
At the moment there are two:
LIBCWD_NO_STARTUP_MSGS : Don't print anything before main().
- LIBCWD_ALWAYS_PRINT_LOADING : Print messages about loading
+ LIBCWD_PRINT_LOADING : Print messages about loading
the shared libraries, even when this is done before libcw_do
is turned on (except when LIBCWD_NO_STARTUP_MSGS is defined).
Index: src/libcwd/bfd.cc
diff -u src/libcwd/bfd.cc:1.101 src/libcwd/bfd.cc:1.102
--- src/libcwd/bfd.cc:1.101 Sat Feb 9 18:42:16 2002
+++ src/libcwd/bfd.cc Thu Feb 14 10:43:23 2002
@@ -1,4 +1,4 @@
-// $Header: /cvsroot/l/li/libcw/src/libcwd/bfd.cc,v 1.101 2002/02/10 02:42:16 libcw Exp $
+// $Header: /cvsroot/l/li/libcw/src/libcwd/bfd.cc,v 1.102 2002/02/14 18:43:23 libcw Exp $
//
// Copyright (C) 2000 - 2001, by
//
@@ -782,7 +782,8 @@
DoutFatal(dc::fatal|error_cf, "Failed to execute \"" << ps_prog << "\"");
}
- if (argv0.find('/') == _private_::ST_internal_string::npos)
+ //std::cerr << "argv0 = \"" << argv0 << '"' << std::endl;
+ if (argv0.find('/') != 0)
{
_private_::ST_internal_string prog_name(argv0);
_private_::ST_internal_string path_list(getenv("PATH"));
Index: src/libcwd/documentation/Makefile
diff -u src/libcwd/documentation/Makefile:1.2 src/libcwd/documentation/Makefile:1.3
--- src/libcwd/documentation/Makefile:1.2 Sat Dec 29 20:17:47 2001
+++ src/libcwd/documentation/Makefile Thu Feb 14 10:43:23 2002
@@ -15,7 +15,12 @@
-e 's/"sys\.h"/"<a class="code" href="#preparation_step2">sys.h<\/a>"/' \
> html/preparation.html
rm html/preparation.tmp
-
+ for i in `grep -l '<h2>Modules</h2>' html/*.html`; do \
+ mv $$i $$i.tmp; \
+ cat $$i.tmp | \
+ sed -e 's%<h2>Modules</h2>%<h2>Related</h2>%' > $$i; \
+ rm $$i.tmp; \
+ done
external: external/INSTALL external/sys.h external/debug.h external/debug.cc
----------------------- End of diff -----------------------
|