(enum re_opcode_t): New opcode on_failure_jump_nastyloop.
[bpt/emacs.git] / src / vmstime.c
index a7316ff..4eec5d0 100644 (file)
@@ -15,9 +15,10 @@ GNU General Public License for more details.
 
 You should have received a copy of the GNU General Public License
 along with GNU Emacs; see the file COPYING.  If not, write to
-the Free Software Foundation, 675 Mass Ave, Cambridge, MA 02139, USA.  */
+the Free Software Foundation, Inc., 59 Temple Place - Suite 330,
+Boston, MA 02111-1307, USA.  */
 
-#include "config.h"
+#include <config.h>
 #include "vmstime.h"
 
 long timezone=0;
@@ -356,7 +357,7 @@ struct tm *sys_gmtime(time_t *clock)
   gmt.tm_hour = tmp_vectime.hour;
   gmt.tm_mday = tmp_vectime.day;
   gmt.tm_mon = tmp_vectime.month - 1;
-  gmt.tm_year = tmp_vectime.year % 100;
+  gmt.tm_year = tmp_vectime.year - 1900;
 
   tmp_operation = LIB$K_DAY_OF_WEEK;
   status = LIB$CVT_FROM_INTERNAL_TIME(&tmp_operation,