[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[mtools] diff
From: |
Federico G. Schwindt |
Subject: |
[mtools] diff |
Date: |
Fri, 6 Jun 2003 04:37:40 -0300 |
User-agent: |
Mutt/1.4.1i |
hi,
there are 2 patches here. the first (llong.h) fixes what i believe
a cut & paste error, fixing the 'MT_OFF_T redefined' error. the second
fixes a warning.
can this be integrated into the main distro?
cheers,
f.-
--- llong.h.orig Sun May 25 22:28:33 2003
+++ llong.h Sun May 25 22:28:42 2003
@@ -8,7 +8,7 @@
/* if off_t is already 64 bits, be happy, and don't worry about the
* loff_t and llseek stuff */
#define MT_OFF_T off_t
-#define MT_OFF_T size_t
+#define MT_SIZE_T size_t
#endif
#ifndef MT_OFF_T
--- precmd.c.orig Sun May 20 15:18:13 2001
+++ precmd.c Sat Oct 5 15:55:51 2002
@@ -21,7 +21,7 @@ void precmd(struct device *dev)
exit(1);
break;
case 0: /* the son */
- execl("/bin/sh", "sh", "-c", dev->precmd, 0);
+ execl("/bin/sh", "sh", "-c", dev->precmd, (char *)NULL);
break;
default:
wait(&status);
_______________________________________________
mtools mailing list
address@hidden
http://www.tux.org/mailman/listinfo/mtools
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [mtools] diff,
Federico G. Schwindt <=