bring closer to the XXI century

This commit is contained in:
pvalchev 2002-12-23 07:29:30 +00:00
parent 98161b1881
commit 9f40c20fd3
5 changed files with 17 additions and 14 deletions

View File

@ -1,11 +1,10 @@
# $OpenBSD: Makefile,v 1.19 2002/12/23 00:37:49 pvalchev Exp $ # $OpenBSD: Makefile,v 1.20 2002/12/23 07:29:30 pvalchev Exp $
COMMENT= "archive files using the HSC compression method" COMMENT= "archive files using the HSC compression method"
DISTNAME= ha0999 DISTNAME= ha0999
PKGNAME= ha-0.999b PKGNAME= ha-0.999b
CATEGORIES= archivers CATEGORIES= archivers
NEED_VERSION= 1.515
MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/arcers/ MASTER_SITES= ftp://ftp.kiarchive.ru/pub/unix/arcers/
EXTRACT_SUFX= .tgz EXTRACT_SUFX= .tgz

View File

@ -1,5 +1,6 @@
--- c/asc.c.orig Thu Jan 12 01:51:34 1995 $OpenBSD: patch-c_asc_c,v 1.1 2002/12/23 07:29:30 pvalchev Exp $
+++ c/asc.c Wed Dec 15 17:17:58 1999 --- c/asc.c.orig Wed Jan 11 23:51:34 1995
+++ c/asc.c Mon Dec 23 00:26:56 2002
@@ -19,7 +19,6 @@ @@ -19,7 +19,6 @@
HA ASC method HA ASC method
***********************************************************************/ ***********************************************************************/

View File

@ -1,5 +1,6 @@
--- c/cpy.c.orig Thu Jan 12 01:51:30 1995 $OpenBSD: patch-c_cpy_c,v 1.1 2002/12/23 07:29:30 pvalchev Exp $
+++ c/cpy.c Wed Dec 15 17:17:58 1999 --- c/cpy.c.orig Wed Jan 11 23:51:30 1995
+++ c/cpy.c Mon Dec 23 00:26:56 2002
@@ -20,7 +20,6 @@ @@ -20,7 +20,6 @@
***********************************************************************/ ***********************************************************************/

View File

@ -1,5 +1,6 @@
--- c/hsc.c.orig Thu Jan 12 01:51:16 1995 $OpenBSD: patch-c_hsc_c,v 1.1 2002/12/23 07:29:30 pvalchev Exp $
+++ c/hsc.c Wed Dec 15 17:17:58 1999 --- c/hsc.c.orig Wed Jan 11 23:51:16 1995
+++ c/hsc.c Mon Dec 23 00:26:56 2002
@@ -19,7 +19,6 @@ @@ -19,7 +19,6 @@
HA HSC method HA HSC method
***********************************************************************/ ***********************************************************************/
@ -8,7 +9,7 @@
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include "ha.h" #include "ha.h"
@@ -486,7 +485,7 @@ @@ -486,7 +485,7 @@ static S16B decode_first(U16B cp) {
register U16B c; register U16B c;
register U16B tv; register U16B tv;
register U16B i; register U16B i;
@ -17,7 +18,7 @@
register unsigned char sv; register unsigned char sv;
esc=adj_escape_prob(fe[cp],cp); esc=adj_escape_prob(fe[cp],cp);
@@ -546,7 +545,7 @@ @@ -546,7 +545,7 @@ static S16B decode_rest(U16B cp) {
register U16B c; register U16B c;
register U16B tv; register U16B tv;
register U16B i; register U16B i;

View File

@ -1,6 +1,7 @@
--- nix/machine.c.orig Thu Jan 12 01:53:00 1995 $OpenBSD: patch-nix_machine_c,v 1.1 2002/12/23 07:29:30 pvalchev Exp $
+++ nix/machine.c Wed Dec 15 17:17:57 1999 --- nix/machine.c.orig Wed Jan 11 23:53:00 1995
@@ -336,7 +336,7 @@ +++ nix/machine.c Mon Dec 23 00:26:56 2002
@@ -336,7 +336,7 @@ char *md_timestring(unsigned long t) {
static char ts[22]; static char ts[22];
struct tm *tim; struct tm *tim;
@ -9,7 +10,7 @@
sprintf(ts,"%04d-%02d-%02d %02d:%02d",tim->tm_year+1900,tim->tm_mon+1, sprintf(ts,"%04d-%02d-%02d %02d:%02d",tim->tm_year+1900,tim->tm_mon+1,
tim->tm_mday,tim->tm_hour,tim->tm_min); tim->tm_mday,tim->tm_hour,tim->tm_min);
return ts; return ts;
@@ -417,7 +417,7 @@ @@ -417,7 +417,7 @@ char *md_stripname(char *mdfullpath) {
if (plainname!=NULL) free(plainname),plainname=NULL; if (plainname!=NULL) free(plainname),plainname=NULL;
if ((plainname=malloc(strlen(mdfullpath)+1))==NULL) if ((plainname=malloc(strlen(mdfullpath)+1))==NULL)
error(1,ERR_MEM,"md_stripname()"); error(1,ERR_MEM,"md_stripname()");