~ubuntu-branches/debian/sid/octave3.0/sid

« back to all changes in this revision

Viewing changes to liboctave/oct-time.cc

  • Committer: Bazaar Package Importer
  • Author(s): Thomas Weber
  • Date: 2008-08-12 22:28:01 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20080812222801-b3myaxymt2k5m709
Tags: 1:3.0.1-6lenny1
Allow libhdf5-openmpi-dev to satisfy Octave's hdf5 dependency (closes:
#494139)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
/*
2
2
 
3
 
Copyright (C) 1999, 2000, 2002, 2005, 2006, 2007 John W. Eaton
 
3
Copyright (C) 1999, 2000, 2002, 2005, 2006, 2007, 2008 John W. Eaton
4
4
 
5
5
This file is part of Octave.
6
6
 
291
291
void
292
292
octave_base_tm::init (void *p)
293
293
{
 
294
  if (! p)
 
295
    return;
 
296
 
294
297
  struct tm *t = static_cast<struct tm*> (p);
295
298
  
296
299
  tm_sec = t->tm_sec;