[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [RP] string.h
From: |
Jonathan Walther |
Subject: |
Re: [RP] string.h |
Date: |
Tue Feb 19 11:18:05 2002 |
User-agent: |
Mutt/1.3.27i |
Thanks for the patch, Sven. Unfortunately, you got the order of the
files wrong when you were running "diff".
It should have been
diff -r -U4 ratpoison.orig ratpoison.patch
I suspect that what you did was
diff -r -U4 ratpoison.patch ratpoison.orig
Jonathan
On Tue, Feb 19, 2002 at 04:24:08PM +0100, Sven Hartrumpf wrote:
Hi.
Four files need to include string.h (as reported by gcc 3.0.3).
See trivial patch below. Greetings
diff -p ratpoison.patch/communications.c ratpoison.orig/communications.c
*** ratpoison.patch/communications.c Tue Feb 19 16:12:34 2002
--- ratpoison.orig/communications.c Tue Feb 19 16:12:23 2002
***************
*** 25,32 ****
#include <X11/Xatom.h>
#include <X11/Xproto.h>
- #include <string.h>
-
#include "ratpoison.h"
--- 25,30 ----
diff -p ratpoison.patch/events.c ratpoison.orig/events.c
*** ratpoison.patch/events.c Tue Feb 19 16:13:26 2002
--- ratpoison.orig/events.c Tue Feb 19 16:21:24 2002
***************
*** 27,33 ****
#include <stdio.h>
#include <stdlib.h>
- #include <string.h>
#include <signal.h>
#include <errno.h>
#include <unistd.h>
--- 27,32 ----
diff -p ratpoison.patch/sbuf.c ratpoison.orig/sbuf.c
*** ratpoison.patch/sbuf.c Tue Feb 19 16:14:49 2002
--- ratpoison.orig/sbuf.c Fri Dec 21 12:58:56 2001
***************
*** 19,26 ****
* Boston, MA 02111-1307 USA
*/
- #include <string.h>
-
#include "ratpoison.h"
#include "sbuf.h"
--- 19,24 ----
diff -p ratpoison.patch/split.c ratpoison.orig/split.c
*** ratpoison.patch/split.c Tue Feb 19 16:15:33 2002
--- ratpoison.orig/split.c Sun Dec 9 03:04:49 2001
***************
*** 21,27 ****
* Functions for handling window splitting and tiling.
*/
- #include <string.h>
#include <unistd.h>
#include "ratpoison.h"
--- 21,26 ----
_______________________________________________
Ratpoison-devel mailing list
address@hidden
https://lists.sourceforge.net/lists/listinfo/ratpoison-devel
--
Geek House Productions, Ltd.
Providing Unix & Internet Contracting and Consulting,
QA Testing, Technical Documentation, Systems Design & Implementation,
General Programming, E-commerce, Web & Mail Services since 1998
Phone: 604-435-1205
Email: address@hidden
Address: 2459 E 41st Ave, Vancouver, BC V5R2W2
pgpXCPBQDc3hD.pgp
Description: PGP signature