Changeset 378fa14


Ignore:
Timestamp:
Jun 5, 2003, 5:33:55 PM (21 years ago)
Author:
James M. Kretchmar <kretch@mit.edu>
Branches:
master, barnowl_perlaim, debian, owl, release-1.10, release-1.4, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
Children:
22fcd366
Parents:
884c272
Message:
Fixed bug in 'startup' command
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • ChangeLog

    r884c272 r378fa14  
    11$Id$
    22
     32.0.2
     4        Fixed bug in 'startup' command.
     5       
    362.0.1
    47        Hacked the Perl build stuff not to link with iconv
  • functions.c

    raac889a r378fa14  
    29172917  filename=owl_sprintf("%s/%s", owl_global_get_homedir(&g), OWL_STARTUP_FILE);
    29182918  file=fopen(filename, "a");
    2919   owl_free(filename);
    29202919  if (!file) {
    29212920    owl_function_makemsg("Error opening startupfile for new command");
     2921    owl_free(filename);
    29222922    return;
    29232923  }
     
    29252925  /* delete earlier copies */
    29262926  owl_util_file_deleteline(filename, buff, 1);
     2927  owl_free(filename);
    29272928
    29282929  /* add this line */
  • owl.h

    r884c272 r378fa14  
    1414static const char owl_h_fileIdent[] = "$Id$";
    1515
    16 #define OWL_VERSION         2.0.1
    17 #define OWL_VERSION_STRING "2.0.1"
     16#define OWL_VERSION         2.0.2-pre-1
     17#define OWL_VERSION_STRING "2.0.2-pre-1"
    1818
    1919#define OWL_DEBUG 0
  • util.c

    r65ad073 r378fa14  
    672672    backupfilename=owl_sprintf("%s.backup", filename);
    673673    backupfile=fopen(backupfilename, "w");
    674     owl_free(backupfilename);
    675674    if (!backupfile) {
    676675      owl_function_makemsg("Error opening file %s for writing", backupfilename);
     676      owl_free(backupfilename);
    677677      return;
    678678    }
     679    owl_free(backupfilename);
    679680  }
    680681
Note: See TracChangeset for help on using the changeset viewer.