~ubuntu-branches/ubuntu/hardy/file-roller/hardy-updates

« back to all changes in this revision

Viewing changes to src/fr-command-cpio.c

  • Committer: Bazaar Package Importer
  • Author(s): Baptiste Mille-Mathias
  • Date: 2007-06-19 18:59:05 UTC
  • mfrom: (1.2.30 upstream)
  • Revision ID: james.westby@ubuntu.com-20070619185905-kd35yjkfr0gn3tfa
Tags: 2.19.3-0ubuntu1
* New upstream release:
  - Added support for Drag&Drop among file-roller windows.
  - Added a folders pane.  
  - Fixed daylight saving time calculation.
  - Save and restore the filename column width.
  - Can not open a file whose name is in non-ascii encoding.

Show diffs side-by-side

added added

removed removed

Lines of Context:
53
53
                                   "Jul", "Aug", "Sep", "Oct", "Nov", "Dec" };
54
54
        struct tm     tm = {0, };
55
55
 
 
56
        tm.tm_isdst = -1;
 
57
 
56
58
        if (month != NULL) {
57
59
                int i;
58
60
                for (i = 0; i < 12; i++)
68
70
                        time_t      now;
69
71
                        struct tm  *now_tm;
70
72
 
71
 
                        tm.tm_hour = atoi (fields[0]) - 1;
 
73
                        tm.tm_hour = atoi (fields[0]);
72
74
                        tm.tm_min = atoi (fields[1]);
73
75
          
74
76
                        now = time(NULL);
139
141
        if (*fdata->name == 0)
140
142
                file_data_free (fdata);
141
143
        else 
142
 
                comm->file_list = g_list_prepend (comm->file_list, fdata);
 
144
                fr_command_add_file (comm, fdata);
143
145
}
144
146
 
145
147