- Timestamp:
- Apr 22, 2010, 7:18:13 PM (15 years ago)
- Location:
- branches/client-1.6/src
- Files:
-
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
branches/client-1.6/src/Makefile.kmk
r441 r445 129 129 130 130 # substitute macros in version.h 131 version.h: Config.kmk version. h_132 $(SED) "s;_VERSION_;$(VERSION);g" version. h_\131 version.h: Config.kmk version.tpl 132 $(SED) "s;_VERSION_;$(VERSION);g" version.tpl \ 133 133 | $(SED) "s;_WPIVERSION_;$(subst .,\\\,$(VERSION));g" \ 134 134 | $(SED) "s;_BUILD_;$(BUILD);g" \ -
branches/client-1.6/src/debug.c
r441 r445 29 29 #include <sys/time.h> 30 30 #include <sys/stat.h> 31 #include "version.h" 31 32 32 33 int debuglevel = 9; // we set it to 9, so we get all messages … … 35 36 char logfilename[] = "log.ndpsmb"; 36 37 BOOL do_logging = FALSE; 38 BOOL firstLogLine = TRUE; 37 39 38 40 int debuglvl(int level) … … 101 103 f = stdout; 102 104 } 105 106 // in the first log line we write our version of the client 107 if (firstLogLine) 108 { 109 fprintf(f, "samba client %s build %s\n", VERSION, BUILD); 110 firstLogLine = FALSE; 111 } 112 103 113 gettimeofday(&tv, NULL); 104 114 strftime(buf,sizeof(buf)-1,"%Y/%m/%d %H:%M:%S", localtime((time_t *)&tv.tv_sec)); -
branches/client-1.6/src/version.tpl
r401 r445 6 6 #define NDPSMB_BUILD _BUILD_ 7 7 #define NDPSMB_INSTALL _WPIVERSION_ 8 #define VERSION "_VERSION_" 9 #define BUILD "_BUILD_" 8 10 9 11 #endif // __Version__H
Note:
See TracChangeset
for help on using the changeset viewer.