]> cygwin.com Git - cygwin-apps/setup.git/commitdiff
2005-09-27 Igor Pechtchanski <pechtcha@cs.nyu.edu>
authorIgor Peshansky <pechtcha@cs.nyu.edu>
Fri, 14 Oct 2005 04:05:13 +0000 (04:05 +0000)
committerIgor Peshansky <pechtcha@cs.nyu.edu>
Fri, 14 Oct 2005 04:05:13 +0000 (04:05 +0000)
* io_stream_cygfile.cc (io_stream_cygfile::io_stream_cygfile):
Better log message on error.

CHANGES
ChangeLog
io_stream_cygfile.cc

diff --git a/CHANGES b/CHANGES
index 3afda8e8d36e567425b25daa8498a8b25318f747..1ae45d0e60f75140bbd9872ec3f9bde15cba38b6 100644 (file)
--- a/CHANGES
+++ b/CHANGES
@@ -3,6 +3,8 @@ Note: For easier maintenance try to keep items in reverse chronological
 
 Version 2.5xx (HEAD)
 
+ - Slightly improve logged error messages.
+
  - Run postinstall scripts in dependency order.
 
  - Fix problem of FTP connections timing out and not being retried.
index 2607bf53bc1d0e0a3915fdf6f7255b1e3483b54f..19911a489811236087044cb79c6f13e4c125eef4 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2005-09-27  Igor Pechtchanski  <pechtcha@cs.nyu.edu>
+
+       * io_stream_cygfile.cc (io_stream_cygfile::io_stream_cygfile):
+       Better log message on error.
+
 2005-09-27  Igor Pechtchanski  <pechtcha@cs.nyu.edu>
 
        * script.cc (Script::isAScript): Fix string comparison.
index 55bb3180a738b0573934af70cea23d1fedc8b766..b7628a51744e38d131fb70f6b06b30d7ca4ab0f0 100644 (file)
@@ -144,7 +144,7 @@ io_stream_cygfile::io_stream_cygfile (String const &name, String const &mode) :
   if (!fp)
   {
     lasterr = errno;
-    log(LOG_TIMESTAMP) << "io_stream_cygfile: fopen failed " << errno << " "
+    log(LOG_TIMESTAMP) << "io_stream_cygfile: fopen(" << name << ") failed " << errno << " "
       << strerror(errno) << endLog;
   }
 }
This page took 0.041023 seconds and 5 git commands to generate.