summaryrefslogtreecommitdiff
path: root/soltools/ldump
diff options
context:
space:
mode:
authorJens-Heiner Rechtien <hr@openoffice.org>2003-03-18 11:47:38 +0000
committerJens-Heiner Rechtien <hr@openoffice.org>2003-03-18 11:47:38 +0000
commit9a129a649ad7b8380d4c764d6d4ea7dd5c9003a0 (patch)
tree9ade899f036a4f8d04014c74d4a1d888322480cc /soltools/ldump
parent4397c6150f8bce263d62d93180d83d39059e081f (diff)
MWS_SRX644: migrate branch mws_srx644 -> HEAD
Diffstat (limited to 'soltools/ldump')
-rw-r--r--soltools/ldump/ldump.cxx10
-rw-r--r--soltools/ldump/makefile.mk8
2 files changed, 10 insertions, 8 deletions
diff --git a/soltools/ldump/ldump.cxx b/soltools/ldump/ldump.cxx
index b06c508abe8e..fd1a4637a762 100644
--- a/soltools/ldump/ldump.cxx
+++ b/soltools/ldump/ldump.cxx
@@ -2,9 +2,9 @@
*
* $RCSfile: ldump.cxx,v $
*
- * $Revision: 1.4 $
+ * $Revision: 1.5 $
*
- * last change: $Author: hjs $ $Date: 2002-06-20 12:40:46 $
+ * last change: $Author: hr $ $Date: 2003-03-18 12:47:36 $
*
* The Contents of this file are made available subject to the terms of
* either of the following licenses
@@ -470,7 +470,7 @@ bool LibDump::PrintDataBase()
FILE *pFp;
pFp = fopen (cBName,"w+");
if (!pFp)
- DumpError( 600 );
+ fprintf( stderr, "Error opening DataBase File\n" );
LibExport *pData;
for ( unsigned long i=0; i < nBaseLines+10; i++ )
@@ -618,7 +618,7 @@ bool LibDump::DumpError( unsigned long n )
case 610: p = "Overflow in base database table\n"; break;
default: p = "Unspecified error";
}
- fprintf( stderr, "Error\n\n%s\n", p );
+ fprintf( stdout, "%s\n", p );
exit (1);
return false;
}
@@ -628,7 +628,7 @@ bool LibDump::DumpError( unsigned long n )
*********************************************************************/
-int usage()
+usage()
{
LibDump::DumpError(99);
exit(0);
diff --git a/soltools/ldump/makefile.mk b/soltools/ldump/makefile.mk
index 6aacc9cd9311..6c5e3489fbc6 100644
--- a/soltools/ldump/makefile.mk
+++ b/soltools/ldump/makefile.mk
@@ -2,9 +2,9 @@
#
# $RCSfile: makefile.mk,v $
#
-# $Revision: 1.3 $
+# $Revision: 1.4 $
#
-# last change: $Author: hr $ $Date: 2002-02-22 10:20:06 $
+# last change: $Author: hr $ $Date: 2003-03-18 12:47:37 $
#
# The Contents of this file are made available subject to the terms of
# either of the following licenses
@@ -65,13 +65,15 @@ PRJ=..
PRJNAME=ldump
TARGET=ldump
TARGETTYPE=CUI
-NO_DEFAULT_STL=TRUE
# --- Settings -----------------------------------------------------
.INCLUDE : $(PRJ)$/util$/makefile.pmk
.INCLUDE : settings.mk
+UWINAPILIB=$(0)
+LIBSALCPPRT=$(0)
+
# --- Files --------------------------------------------------------
# ldump only supports windows environment