diff options
author | Yves Duret <yduret@mandriva.com> | 2001-06-11 16:02:16 +0000 |
---|---|---|
committer | Yves Duret <yduret@mandriva.com> | 2001-06-11 16:02:16 +0000 |
commit | 566af63a748fd3637b91ee12d3fa77425806e4d8 (patch) | |
tree | ded1b7728a83b5bddc791ef31528e1eb246ffe7b /transfug_oe.c | |
parent | 15e8355f51d30245e1bcdd88044c2f0371542f5b (diff) | |
download | transfugdrake-566af63a748fd3637b91ee12d3fa77425806e4d8.tar transfugdrake-566af63a748fd3637b91ee12d3fa77425806e4d8.tar.gz transfugdrake-566af63a748fd3637b91ee12d3fa77425806e4d8.tar.bz2 transfugdrake-566af63a748fd3637b91ee12d3fa77425806e4d8.tar.xz transfugdrake-566af63a748fd3637b91ee12d3fa77425806e4d8.zip |
updatedCVS: ----------------------------------------------------------------------
Diffstat (limited to 'transfug_oe.c')
-rw-r--r-- | transfug_oe.c | 28 |
1 files changed, 12 insertions, 16 deletions
diff --git a/transfug_oe.c b/transfug_oe.c index 0cf871e..45b376b 100644 --- a/transfug_oe.c +++ b/transfug_oe.c @@ -1,10 +1,9 @@ -/* transfugdrake - * (c) 2001 Yves DUret <yduret@mandrakesof.com> +/* + * transfugdrake + * (c) 2001 Yves Duret <yduret@mandrakesof.com> + * $Id */ -/* based on LIBOE 0.92 - STABLE - Copyright (C) 2000 Stephan B. Nedregård (stephan@micropop.com) */ - /* This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or @@ -20,12 +19,12 @@ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ +/* based on LIBOE 0.92 - STABLE + Copyright (C) 2000 Stephan B. Nedregård (stephan@micropop.com) */ + #include <stdio.h> #include <stdlib.h> #include <string.h> -#ifndef WINDOWS -#include <unistd.h> -#endif #include <sys/stat.h> #define OE_CANNOTREAD 1 @@ -34,6 +33,9 @@ #define OE_NOBODY 4 #define OE_PANIC 5 +#define SLASH '/' + + /* #define DEBUG -- uncomment to get some DEBUG output to stdout */ @@ -297,7 +299,7 @@ void oe_readbox_oe4(oe_data *data) { while (pos<data->stat->st_size) { fseek(data->oe,pos, SEEK_SET); fread(header,16,1,data->oe); - data->oput("From liboe@linux Sat Jun 17 01:08:25 2000\n"); + data->oput("From mandrake@MandrakeLinux Mon Jun 11 10:00:00 2001\n"); endpos = pos + header->include; if (endpos>data->stat->st_size) endpos=data->stat->st_size; pos+=4; @@ -396,14 +398,8 @@ oe_data* oe_readmbox(char* filename,void (*oput)(char*)) { fclose(data->oe); return data; } -/* based on OE2MBX 1.21 - Copyright (C) 2000 Stephan B. Nedregaard (stephan@micropop.com) */ -#ifdef WINDOWS -#define SLASH '\\' -#else -#define SLASH '/' -#endif +/****************************************/ FILE *mbox = NULL; char *filename = NULL, *fn; |