diff -Naur ext2ed-0.2.orig/doc/ext2ed.8 ext2ed-0.2/doc/ext2ed.8 --- ext2ed-0.2.orig/doc/ext2ed.8 1995-08-23 10:13:00 +0400 +++ ext2ed-0.2/doc/ext2ed.8 2002-10-31 13:45:22 +0300 @@ -42,26 +42,14 @@ .I /usr/bin/ext2ed The program itself. .TP -.I /var/lib/ext2ed/ext2ed.conf +.I /etc/ext2ed.conf ext2ed's configuration file. .TP -.I /var/lib/ext2ed/ext2.descriptors -Definition of the various objects for the ext2 filesystem. -.TP .I /var/lib/ext2ed/ext2ed.log Log file of actual changes made to the filesystem. .TP -.I /usr/man/man8/ext2ed.8 -The manual page. -.TP -.I /usr/doc/ext2ed/user-guide-0.1.ps -The user's guide. -.TP -.I /usr/doc/ext2ed/Ext2fs-overview-0.1.ps -Technical overview of the ext2 filesystem. -.TP -.I /usr/doc/ext2ed/ext2ed-design-0.1.ps -EXT2ED design notes. +.I /usr/share/doc/ext2ed-0.1/ +The user and technical documentation. .SH BUGS Filesystems bigger than 2 GB aren't yet supported. diff -Naur ext2ed-0.2.orig/init.c ext2ed-0.2/init.c --- ext2ed-0.2.orig/init.c 2002-10-31 13:42:16 +0300 +++ ext2ed-0.2/init.c 2002-10-31 13:45:22 +0300 @@ -457,15 +457,12 @@ int process_configuration_file (void) { - char buffer [300]; + const char config[] = CONFIG_FILE; char option [80],value [80]; FILE *fp; - strcpy (buffer,VAR_DIR); - strcat (buffer,"/ext2ed.conf"); - - if ((fp=fopen (buffer,"rt"))==NULL) { - fprintf (stderr,"Error - Unable to open configuration file %s\n",buffer); + if ( !(fp = fopen( config, "rt" )) ) { + fprintf( stderr, "Error - Unable to open configuration file %s\n", config ); return (0); }