1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-23 17:34:34 +03:00

r2835: Since we always have -I. and -I$(srcdir) in CFLAGS, we can get rid of

'..' from all #include preprocessor commands.   This fixes bugzilla #1880
where OpenVMS gets confused about the '.' characters.
(This used to be commit 7f161702fa)
This commit is contained in:
Tim Potter 2004-10-07 04:01:18 +00:00 committed by Gerald (Jerry) Carter
parent 66e689478a
commit b4cf9e9505
33 changed files with 35 additions and 35 deletions

View File

@ -4,7 +4,7 @@
#include <unistd.h> #include <unistd.h>
#include <sys/stat.h> #include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include "../include/byteorder.h" #include "include/byteorder.h"
#define PARSE_SCALARS (1<<0) #define PARSE_SCALARS (1<<0)
#define PARSE_BUFFERS (1<<1) #define PARSE_BUFFERS (1<<1)

View File

@ -23,7 +23,7 @@
#define NO_SYSLOG #define NO_SYSLOG
#include "includes.h" #include "includes.h"
#include "../client/client_proto.h" #include "client/client_proto.h"
#ifndef REGISTER #ifndef REGISTER
#define REGISTER 0 #define REGISTER 0
#endif #endif

View File

@ -37,7 +37,7 @@
#include "includes.h" #include "includes.h"
#include "clitar.h" #include "clitar.h"
#include "../client/client_proto.h" #include "client/client_proto.h"
static int clipfind(char **aret, int ret, char *tok); static int clipfind(char **aret, int ret, char *tok);

View File

@ -793,9 +793,9 @@ extern int errno;
#include "ubi_sLinkList.h" #include "ubi_sLinkList.h"
#include "ubi_dLinkList.h" #include "ubi_dLinkList.h"
#include "dlinklist.h" #include "dlinklist.h"
#include "../tdb/tdb.h" #include "tdb/tdb.h"
#include "../tdb/spinlock.h" #include "tdb/spinlock.h"
#include "../tdb/tdbutil.h" #include "tdb/tdbutil.h"
#include "talloc.h" #include "talloc.h"
#include "nt_status.h" #include "nt_status.h"
#include "ads.h" #include "ads.h"

View File

@ -6,7 +6,7 @@
#define SMBC_DIR_MODE (S_IFDIR | 0555) #define SMBC_DIR_MODE (S_IFDIR | 0555)
#include "../include/libsmbclient.h" #include "include/libsmbclient.h"
struct _SMBCSRV { struct _SMBCSRV {

View File

@ -27,7 +27,7 @@
* Define this to get the real SMBCFILE and SMBCSRV structures * Define this to get the real SMBCFILE and SMBCSRV structures
*/ */
#define _SMBC_INTERNAL #define _SMBC_INTERNAL
#include "../include/libsmbclient.h" #include "include/libsmbclient.h"
/* /*
* Structure we use if internal caching mechanism is used * Structure we use if internal caching mechanism is used

View File

@ -25,7 +25,7 @@
#include "includes.h" #include "includes.h"
#include "../include/libsmb_internal.h" #include "include/libsmb_internal.h"
struct smbc_compat_fdlist { struct smbc_compat_fdlist {
SMBCFILE * file; SMBCFILE * file;

View File

@ -24,7 +24,7 @@
#include "includes.h" #include "includes.h"
#include "../include/libsmb_internal.h" #include "include/libsmb_internal.h"
/* /*
* Internal flags for extended attributes * Internal flags for extended attributes

View File

@ -230,7 +230,7 @@ struct winbindd_idmap_methods {
void (*status)(void); void (*status)(void);
}; };
#include "../nsswitch/winbindd_proto.h" #include "nsswitch/winbindd_proto.h"
#include "rpc_parse.h" #include "rpc_parse.h"
#include "rpc_client.h" #include "rpc_client.h"

View File

@ -38,7 +38,7 @@
/*****************************************************/ /*****************************************************/
#include "includes.h" #include "includes.h"
#include "../utils/net.h" #include "utils/net.h"
/***********************************************************************/ /***********************************************************************/
/* Beginning of internationalization section. Translatable constants */ /* Beginning of internationalization section. Translatable constants */

View File

@ -17,7 +17,7 @@
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "../utils/net_proto.h" #include "utils/net_proto.h"
#define NET_FLAGS_MASTER 1 #define NET_FLAGS_MASTER 1
#define NET_FLAGS_DMB 2 #define NET_FLAGS_DMB 2

View File

@ -21,7 +21,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "../utils/net.h" #include "utils/net.h"
#ifdef HAVE_ADS #ifdef HAVE_ADS

View File

@ -20,7 +20,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "../utils/net.h" #include "utils/net.h"
#ifdef HAVE_ADS #ifdef HAVE_ADS

View File

@ -22,7 +22,7 @@
#include "includes.h" #include "includes.h"
#include "../utils/net.h" #include "utils/net.h"
/********************************************************* /*********************************************************

View File

@ -19,7 +19,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "../utils/net.h" #include "utils/net.h"
int net_common_methods_usage(int argc, const char**argv) int net_common_methods_usage(int argc, const char**argv)
{ {

View File

@ -18,7 +18,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "includes.h" #include "includes.h"
#include "../utils/net.h" #include "utils/net.h"
/*********************************************************** /***********************************************************

View File

@ -18,7 +18,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "includes.h" #include "includes.h"
#include "../utils/net.h" #include "utils/net.h"
int net_lookup_usage(int argc, const char **argv) int net_lookup_usage(int argc, const char **argv)
{ {

View File

@ -24,7 +24,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "includes.h" #include "includes.h"
#include "../utils/net.h" #include "utils/net.h"
/* The following messages were for error checking that is not properly /* The following messages were for error checking that is not properly
reported at the moment. Which should be reinstated? */ reported at the moment. Which should be reinstated? */

View File

@ -19,7 +19,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "includes.h" #include "includes.h"
#include "../utils/net.h" #include "utils/net.h"
/** /**
* @file net_rpc.c * @file net_rpc.c

View File

@ -19,7 +19,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "includes.h" #include "includes.h"
#include "../utils/net.h" #include "utils/net.h"
/* Macro for checking RPC error codes to make things more readable */ /* Macro for checking RPC error codes to make things more readable */

View File

@ -18,7 +18,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "includes.h" #include "includes.h"
#include "../utils/net.h" #include "utils/net.h"
struct table_node { struct table_node {
const char *long_archi; const char *long_archi;

View File

@ -22,7 +22,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "../utils/net.h" #include "utils/net.h"
extern DOM_SID global_sid_Builtin; extern DOM_SID global_sid_Builtin;

View File

@ -18,7 +18,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "includes.h" #include "includes.h"
#include "../utils/net.h" #include "utils/net.h"
static int show_session(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf, static int show_session(TDB_CONTEXT *tdb, TDB_DATA kbuf, TDB_DATA dbuf,
void *state) void *state)

View File

@ -18,7 +18,7 @@
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "includes.h" #include "includes.h"
#include "../utils/net.h" #include "utils/net.h"
/* /*

View File

@ -23,7 +23,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "../utils/ntlm_auth.h" #include "utils/ntlm_auth.h"
#undef DBGC_CLASS #undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND #define DBGC_CLASS DBGC_WINBIND

View File

@ -17,7 +17,7 @@
along with this program; if not, write to the Free Software along with this program; if not, write to the Free Software
Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */ Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA. */
#include "../utils/ntlm_auth_proto.h" #include "utils/ntlm_auth_proto.h"
/* Some of the popt variables are needed in the diagnostics code */ /* Some of the popt variables are needed in the diagnostics code */
extern const char *opt_username; extern const char *opt_username;

View File

@ -23,7 +23,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "../utils/ntlm_auth.h" #include "utils/ntlm_auth.h"
#undef DBGC_CLASS #undef DBGC_CLASS
#define DBGC_CLASS DBGC_WINBIND #define DBGC_CLASS DBGC_WINBIND

View File

@ -19,7 +19,7 @@
#include "includes.h" #include "includes.h"
#include "../web/swat_proto.h" #include "web/swat_proto.h"
#define MAX_VARIABLES 10000 #define MAX_VARIABLES 10000

View File

@ -19,7 +19,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "../web/swat_proto.h" #include "web/swat_proto.h"
#ifdef WITH_WINBIND #ifdef WITH_WINBIND

View File

@ -20,7 +20,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "../web/swat_proto.h" #include "web/swat_proto.h"
/* /*
during a file download we first check to see if there is a language during a file download we first check to see if there is a language

View File

@ -19,7 +19,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "../web/swat_proto.h" #include "web/swat_proto.h"
#include "dynconfig.h" #include "dynconfig.h"

View File

@ -19,7 +19,7 @@
*/ */
#include "includes.h" #include "includes.h"
#include "../web/swat_proto.h" #include "web/swat_proto.h"
#define PIDMAP struct PidMap #define PIDMAP struct PidMap

View File

@ -29,7 +29,7 @@
**/ **/
#include "includes.h" #include "includes.h"
#include "../web/swat_proto.h" #include "web/swat_proto.h"
static BOOL demo_mode = False; static BOOL demo_mode = False;
static BOOL have_write_access = False; static BOOL have_write_access = False;