John Poltorak
2004-05-04 10:19:05 UTC
Looking at some old patches made by KUR, they seem to have a different
format to others I've see. That's probably due to different diff options
used. Here is an example:-
diff -cbBwr orig/lib/gethostname.c new/lib/gethostname.c
*** orig/lib/gethostname.c Mon Sep 26 23:25:26 1994
--- new/lib/gethostname.c Sat Dec 17 00:09:12 1994
***************
*** 22,28 ****
#endif
#ifdef HAVE_UNAME
! #include <sys/utsname.h>
#endif
/* Put up to LEN chars of the host name into NAME.
--- 22,28 ----
#endif
#ifdef HAVE_UNAME
! #include <utsname.h>
#endif
/* Put up to LEN chars of the host name into NAME.
Can anyone explain any reason for this format?
format to others I've see. That's probably due to different diff options
used. Here is an example:-
diff -cbBwr orig/lib/gethostname.c new/lib/gethostname.c
*** orig/lib/gethostname.c Mon Sep 26 23:25:26 1994
--- new/lib/gethostname.c Sat Dec 17 00:09:12 1994
***************
*** 22,28 ****
#endif
#ifdef HAVE_UNAME
! #include <sys/utsname.h>
#endif
/* Put up to LEN chars of the host name into NAME.
--- 22,28 ----
#endif
#ifdef HAVE_UNAME
! #include <utsname.h>
#endif
/* Put up to LEN chars of the host name into NAME.
Can anyone explain any reason for this format?
--
John
John