Репозитории ALT
S: | 4.0.43-alt1 |
5.1: | 4.0.10-alt3 |
4.1: | 3.9.11.20070601-alt1 |
4.0: | 3.9.10.20060626-alt1 |
3.0: | 3.9.10-alt1 |
Группа :: Работа с файлами
Пакет: mtools
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: mtools-3.9.10-20050317.diff
Скачать
Скачать
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/Changelog mtools/Changelog
--- mtools-3.9.10/Changelog 2005-03-02 22:18:39.000000000 +0100
+++ mtools/Changelog 2005-03-17 20:45:23.000000000 +0100
@@ -1,3 +1,5 @@
+v20050317
+ Solaris 8 compatibility
v20050302
Released 3.9.10
v20050228
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/config.h.in mtools/config.h.in
--- mtools-3.9.10/config.h.in 2005-02-28 23:10:39.000000000 +0100
+++ mtools/config.h.in 2005-03-17 20:47:11.000000000 +0100
@@ -126,6 +126,9 @@
/* Define to 1 if you have the `random' function. */
#undef HAVE_RANDOM
+/* Define to 1 if you have the `setenv' function. */
+#undef HAVE_SETENV
+
/* Define to 1 if you have the `seteuid' function. */
#undef HAVE_SETEUID
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/configure mtools/configure
--- mtools-3.9.10/configure 2005-02-28 23:10:33.000000000 +0100
+++ mtools/configure 2005-03-17 20:47:08.000000000 +0100
@@ -5171,9 +5171,11 @@
+
for ac_func in strerror random srandom strchr strrchr lockf flock \
strcasecmp strncasecmp atexit on_exit getpass memmove \
-strdup strcspn strspn strtoul strtol memcpy strpbrk memset seteuid setresuid \
+strdup strcspn strspn strtoul strtol memcpy strpbrk memset setenv \
+seteuid setresuid \
tcsetattr tcflush basename fchdir media_oldaliases llseek lseek64 \
snprintf stat64
do
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/configure.in mtools/configure.in
--- mtools-3.9.10/configure.in 2003-02-16 16:13:25.000000000 +0100
+++ mtools/configure.in 2005-03-17 20:44:48.000000000 +0100
@@ -135,7 +135,8 @@
AC_TYPE_SIGNAL
AC_CHECK_FUNCS(strerror random srandom strchr strrchr lockf flock \
strcasecmp strncasecmp atexit on_exit getpass memmove \
-strdup strcspn strspn strtoul strtol memcpy strpbrk memset seteuid setresuid \
+strdup strcspn strspn strtoul strtol memcpy strpbrk memset setenv \
+seteuid setresuid \
tcsetattr tcflush basename fchdir media_oldaliases llseek lseek64 \
snprintf stat64)
AC_FUNC_SETPGRP
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/floppyd.1 mtools/floppyd.1
--- mtools-3.9.10/floppyd.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/floppyd.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH floppyd 1 "28Feb05" mtools-3.9.10
+.TH floppyd 1 "02Mar05" mtools-3.9.10
.SH Name
floppyd - floppy daemon for remote access to floppy drive
floppyd_installtest - tests whether floppyd is installed and running
@@ -81,7 +81,7 @@
.PP
\&\fIdevicenames\fR is a list of device nodes to be opened. Default
is \fR\&\f(CW/dev/fd0\fR. Multiple devices are only supported on mtools
-versions newer than February 28th 2005
+versions newer than 3.9.10.
.PP
.SH Connecting\ to\ floppyd
.PP
@@ -94,7 +94,7 @@
\&\fIbaseport\fR+\fIdisplaynumber\fR at \fIhostname\fR. By default
\&\fIbaseport\fR is 5703. The drive parameter is to distinguish among
multiple drives associated with a single display (only mtools versions
-more recent than February 28th 2005)
+more recent than 3.9.10)
.PP
.SH Examples:
.PP
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/floppyd.c mtools/floppyd.c
--- mtools-3.9.10/floppyd.c 2005-02-28 00:33:37.000000000 +0100
+++ mtools/floppyd.c 2005-03-17 22:36:23.000000000 +0100
@@ -384,6 +384,7 @@
static char *dispName;
+static char XAUTHORITY[]="XAUTHORITY";
char do_auth(io_buffer sock, int *version)
{
@@ -452,7 +453,17 @@
destroyPacket(mit_cookie);
return 0;
}
- setenv("XAUTHORITY", authFile, 1);
+#ifdef HAVE_SETENV
+ setenv(XAUTHORITY, authFile, 1);
+#else
+ {
+ char *buffer=malloc(strlen(XAUTHORITY)+strlen(authFile)+2);
+ strcpy(buffer, XAUTHORITY);
+ strcat(buffer, "=");
+ strcat(buffer, authFile);
+ putenv(buffer);
+ }
+#endif
ptr = template;
ptr[4095] = 0;
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/floppyd_installtest.1 mtools/floppyd_installtest.1
--- mtools-3.9.10/floppyd_installtest.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/floppyd_installtest.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH floppyd_installtest 1 "28Feb05" mtools-3.9.10
+.TH floppyd_installtest 1 "02Mar05" mtools-3.9.10
.SH Name
floppyd_installtest - tests whether floppyd is installed and running
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mattrib.1 mtools/mattrib.1
--- mtools-3.9.10/mattrib.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mattrib.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mattrib 1 "28Feb05" mtools-3.9.10
+.TH mattrib 1 "02Mar05" mtools-3.9.10
.SH Name
mattrib - change MSDOS file attribute flags
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mbadblocks.1 mtools/mbadblocks.1
--- mtools-3.9.10/mbadblocks.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mbadblocks.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mbadblocks 1 "28Feb05" mtools-3.9.10
+.TH mbadblocks 1 "02Mar05" mtools-3.9.10
.SH Name
mbadblocks - tests a floppy disk, and marks the bad blocks in the FAT
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mcat.1 mtools/mcat.1
--- mtools-3.9.10/mcat.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mcat.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mcat 1 "28Feb05" mtools-3.9.10
+.TH mcat 1 "02Mar05" mtools-3.9.10
.SH Name
mcat - dump raw disk image
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mcd.1 mtools/mcd.1
--- mtools-3.9.10/mcd.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mcd.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mcd 1 "28Feb05" mtools-3.9.10
+.TH mcd 1 "02Mar05" mtools-3.9.10
.SH Name
mcd - change MSDOS directory
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mclasserase.1 mtools/mclasserase.1
--- mtools-3.9.10/mclasserase.1 2005-02-28 23:14:33.000000000 +0100
+++ mtools/mclasserase.1 2005-03-02 21:56:05.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mclasserase 1 "28Feb05" mtools-3.9.10
+.TH mclasserase 1 "02Mar05" mtools-3.9.10
.SH Name
mclasserase - erase memory cards
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mcopy.1 mtools/mcopy.1
--- mtools-3.9.10/mcopy.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mcopy.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mcopy 1 "28Feb05" mtools-3.9.10
+.TH mcopy 1 "02Mar05" mtools-3.9.10
.SH Name
mcopy - copy MSDOS files to/from Unix
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mdel.1 mtools/mdel.1
--- mtools-3.9.10/mdel.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mdel.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mdel 1 "28Feb05" mtools-3.9.10
+.TH mdel 1 "02Mar05" mtools-3.9.10
.SH Name
mdel - delete an MSDOS file
mdeltree - recursively delete an MSDOS directory and its contents
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mdeltree.1 mtools/mdeltree.1
--- mtools-3.9.10/mdeltree.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mdeltree.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mdeltree 1 "28Feb05" mtools-3.9.10
+.TH mdeltree 1 "02Mar05" mtools-3.9.10
.SH Name
mdeltree - recursively delete an MSDOS directory and its contents
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mdir.1 mtools/mdir.1
--- mtools-3.9.10/mdir.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mdir.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mdir 1 "28Feb05" mtools-3.9.10
+.TH mdir 1 "02Mar05" mtools-3.9.10
.SH Name
mdir - display an MSDOS directory
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mdu.1 mtools/mdu.1
--- mtools-3.9.10/mdu.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mdu.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mdu 1 "28Feb05" mtools-3.9.10
+.TH mdu 1 "02Mar05" mtools-3.9.10
.SH Name
mdu - display the amount of space occupied by an MSDOS directory
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mformat.1 mtools/mformat.1
--- mtools-3.9.10/mformat.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mformat.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mformat 1 "28Feb05" mtools-3.9.10
+.TH mformat 1 "02Mar05" mtools-3.9.10
.SH Name
mformat - add an MSDOS filesystem to a low-level formatted floppy disk
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/minfo.1 mtools/minfo.1
--- mtools-3.9.10/minfo.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/minfo.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH minfo 1 "28Feb05" mtools-3.9.10
+.TH minfo 1 "02Mar05" mtools-3.9.10
.SH Name
minfo - print the parameters of a MSDOS filesystem
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mkmanifest.1 mtools/mkmanifest.1
--- mtools-3.9.10/mkmanifest.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mkmanifest.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mkmanifest 1 "28Feb05" mtools-3.9.10
+.TH mkmanifest 1 "02Mar05" mtools-3.9.10
.SH Name
mkmanifest - makes list of file names and their DOS 8+3 equivalent
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mlabel.1 mtools/mlabel.1
--- mtools-3.9.10/mlabel.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mlabel.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mlabel 1 "28Feb05" mtools-3.9.10
+.TH mlabel 1 "02Mar05" mtools-3.9.10
.SH Name
mlabel - make an MSDOS volume label
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mmd.1 mtools/mmd.1
--- mtools-3.9.10/mmd.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mmd.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mmd 1 "28Feb05" mtools-3.9.10
+.TH mmd 1 "02Mar05" mtools-3.9.10
.SH Name
mmd - make an MSDOS subdirectory
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mmount.1 mtools/mmount.1
--- mtools-3.9.10/mmount.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mmount.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mmount 1 "28Feb05" mtools-3.9.10
+.TH mmount 1 "02Mar05" mtools-3.9.10
.SH Name
mmount - mount an MSDOS disk
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mmove.1 mtools/mmove.1
--- mtools-3.9.10/mmove.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mmove.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mmove 1 "28Feb05" mtools-3.9.10
+.TH mmove 1 "02Mar05" mtools-3.9.10
.SH Name
mmove - move or rename an MSDOS file or subdirectory
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mpartition.1 mtools/mpartition.1
--- mtools-3.9.10/mpartition.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mpartition.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mpartition 1 "28Feb05" mtools-3.9.10
+.TH mpartition 1 "02Mar05" mtools-3.9.10
.SH Name
mpartition - partition an MSDOS hard disk
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mrd.1 mtools/mrd.1
--- mtools-3.9.10/mrd.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mrd.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mrd 1 "28Feb05" mtools-3.9.10
+.TH mrd 1 "02Mar05" mtools-3.9.10
.SH Name
mrd - remove an MSDOS subdirectory
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mren.1 mtools/mren.1
--- mtools-3.9.10/mren.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mren.1 2005-03-02 21:56:04.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mren 1 "28Feb05" mtools-3.9.10
+.TH mren 1 "02Mar05" mtools-3.9.10
.SH Name
mren - rename an existing MSDOS file
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mshowfat.1 mtools/mshowfat.1
--- mtools-3.9.10/mshowfat.1 2005-02-28 23:14:32.000000000 +0100
+++ mtools/mshowfat.1 2005-03-02 21:56:05.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mshowfat 1 "28Feb05" mtools-3.9.10
+.TH mshowfat 1 "02Mar05" mtools-3.9.10
.SH Name
mshowfat - shows FAT clusters allocated to file
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mtools.1 mtools/mtools.1
--- mtools-3.9.10/mtools.1 2005-02-28 23:14:33.000000000 +0100
+++ mtools/mtools.1 2005-03-02 21:56:05.000000000 +0100
@@ -1,5 +1,5 @@
'\" t
-.TH mtools.1 3 "28Feb05" mtools-3.9.10
+.TH mtools.1 3 "02Mar05" mtools-3.9.10
.SH Name
mtools - utilities to access DOS disks in Unix.
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mtools.5 mtools/mtools.5
--- mtools-3.9.10/mtools.5 2005-02-28 23:14:33.000000000 +0100
+++ mtools/mtools.5 2005-03-02 21:56:05.000000000 +0100
@@ -1,5 +1,5 @@
'\" t
-.TH mtools.1 3 "28Feb05" MTOOLS MTOOLS
+.TH mtools.1 3 "02Mar05" MTOOLS MTOOLS
.SH Name
mtools.conf - mtools configuration files
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mtoolstest.1 mtools/mtoolstest.1
--- mtools-3.9.10/mtoolstest.1 2005-02-28 23:14:33.000000000 +0100
+++ mtools/mtoolstest.1 2005-03-02 21:56:05.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mtoolstest 1 "28Feb05" mtools-3.9.10
+.TH mtoolstest 1 "02Mar05" mtools-3.9.10
.SH Name
mtoolstest - tests and displays the configuration
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mtype.1 mtools/mtype.1
--- mtools-3.9.10/mtype.1 2005-02-28 23:14:33.000000000 +0100
+++ mtools/mtype.1 2005-03-02 21:56:05.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mtype 1 "28Feb05" mtools-3.9.10
+.TH mtype 1 "02Mar05" mtools-3.9.10
.SH Name
mtype - display contents of an MSDOS file
'\" t
diff -ur --new-file --exclude-from=/home/aknaff/floppy/exclude mtools-3.9.10/mzip.1 mtools/mzip.1
--- mtools-3.9.10/mzip.1 2005-02-28 23:14:33.000000000 +0100
+++ mtools/mzip.1 2005-03-02 21:56:05.000000000 +0100
@@ -1,4 +1,4 @@
-.TH mzip 1 "28Feb05" mtools-3.9.10
+.TH mzip 1 "02Mar05" mtools-3.9.10
.SH Name
mzip - change protection mode and eject disk on Zip/Jaz drive
'\" t