Commit Graph

1923 Commits

Author SHA1 Message Date
Jeffrey Altman
8d0d3f16c3 add-multiple-interface-support-20031206
The ubik support on Windows only verified against the first
address on the system even if that address was assigned to
a disabled interface.
2003-12-06 21:17:39 +00:00
Jeffrey Altman
b2d84ee047 reorg-ntbuild-20031206
Reorganize ntbuild.bat to place all of the user edits at the front
2003-12-06 20:11:12 +00:00
Jeffrey Altman
334f5f00f1 fix-memory-alloc-srv-cfg-wizard-20031206
The Windows AFS Server Config Wizard would produce an invalid memory
deallocation error from the memory management routines due to the
failure to allocate PROGRESSDISPLAY objects with the same tools used
to deallocate them.
2003-12-06 19:29:31 +00:00
Jeffrey Altman
999ec32f9d more-NSIS-fixes-20031206
from Rob Murawski
2003-12-06 19:01:41 +00:00
Jeffrey Altman
46b23d72d2 add-pdb-files-to-server-nsis-20031206
Add PDB files for debugging to NSIS Server install
2003-12-06 17:41:53 +00:00
Jeffrey Altman
6e667ed9d1 more-vc-net-installer-fixes-20031206
Make sure we get the included libraries correct for install
2003-12-06 17:01:30 +00:00
Jeffrey Altman
53e72a1ec1 another-correction-ntbuild-bat-20031206
I wish .BAT files had IF-THEN-ELSE instead of just IF
2003-12-06 16:01:03 +00:00
Jeffrey Altman
6826cde0a6 no-debug-for-free-builds-20031206
Reorganize makefile to not generate debug files for free builds.
2003-12-06 15:41:38 +00:00
Jeffrey Altman
7bcb1e53bf correct-include-for-cl1300-20031206
CL 1300 uses the mfcatl paths just like CL 1310
2003-12-06 15:40:17 +00:00
Jeffrey Altman
235cd101fd nsis-installer-updates-20031205
Remove need for MakeCommon.bat

Produce nsi-includes.nsi from NTMakefile

Update OpenAFS.nsi to use MFC70.DLL and MFC71.DLL as needed.
(Need to confirm with Rob Murawski)
2003-12-06 06:19:03 +00:00
Jeffrey Altman
ad9367a9ad product-version-number-update-20031205
Modify the variables used to construct the product version numbers
to allow these same values to be used with the NSIS installer
2003-12-06 06:15:46 +00:00
Jeffrey Altman
090f882fd9 typo-correction-ntmakefile-20031205
Fix a typo in msvcrtd.dll reference
2003-12-05 23:17:20 +00:00
Jeffrey Altman
492387b8d2 updates-to-NSIS-to-support-debug-crt-20031205
Updates to NSIS installer scripts to conditionally build with
debug or non-debug CRT libraries; also, now supports conditional
library usage based upon the MS Compiler version used
2003-12-05 23:10:04 +00:00
Jeffrey Altman
c6c8034322 i386_nt40-lex-macro-fix-20031205
Not that anyone has used it in forever and therefore would not notice
but the LEX macro was a version number "1.2.2 a" instead of a program
name.  Changed to "flex -l" but it really depends on which lex type
program is being used
2003-12-05 22:19:50 +00:00
Jeffrey Altman
7a60256d58 NSIS-installer-debug-mode-20031205
NSIS installer debug mode activiation based upon AFSDEV_BUILDTYPE
2003-12-05 21:59:31 +00:00
Jeffrey Altman
5d0958127a pdb-files-for-checked-builds-20031205
Produce PDB files in the DEST/CHECKED tree for use by NSIS installer
2003-12-05 21:56:33 +00:00
Jeffrey Altman
fb7ed4bf35 fix-ntbuild-bat-20031205
Fix conditional contruction of AFSDEV_LIB variable
2003-12-05 20:07:26 +00:00
R. Lindsay Todd
333b371389 largefile-support-continued-20031205
FIXES 1493

configure switch and minor largefile cleanup. not done.
2003-12-05 08:35:57 +00:00
Derrick Brashear
afb1b03e75 vos-full-listvol-on-by-default-20031204
at the suggestion of miles@cs.stanford.edu
2003-12-04 19:53:37 +00:00
Derrick Brashear
ebe5567b3b salvager-remove-orphaned-header-20031204
FIXES 2522

this should be fixed for the global case, but that's harder to test
2003-12-04 17:02:38 +00:00
Nathan Neulinger
0935f3838f libafsrpc-fix-objdir-breakage-20031204
FIXES 2615

the not gmake workaround broke objdir builds. sigh.
2003-12-04 16:47:05 +00:00
Kris Van Hees
f0c992107a solaris-kdump-build-rationalization-20031204
make kdump64 and kdump32 get built with sanity on solaris
2003-12-04 16:33:54 +00:00
Kris Van Hees
8be29dc516 salvager-fix-misparented-vnode-1-20031204
if vnode 1 gets a parent (which is incorrect) arrange for it to be cleaned
up properly
2003-12-04 16:23:28 +00:00
Douglas Engert
90f461c912 hpux-1123-update-20031204
update the hpux 11.23 on ia64 support
don't build libuafs. make kernel modules build. fix afsd.
2003-12-04 16:10:43 +00:00
Jeffrey Altman
2fba10f163 fix-checked-build-libraries-20031203
checked builds were linking against non-debug versions of the MFC libraries
which produced warnings at link time.  Replaced with the debug versions.
2003-12-03 23:28:50 +00:00
Jeffrey Altman
708b147ba5 typo-20031203 2003-12-03 20:07:55 +00:00
Jeffrey Altman
877a7bd741 more-missing-crtdbg-includes-20031203
For when you are debugging ...
2003-12-03 20:06:37 +00:00
Jeffrey Altman
c46ebfb07e add-missing-include-file-afsd-windows-20031203
ctrdbg.h but only when _DEBUG is defined
2003-12-03 19:44:59 +00:00
Jeffrey Altman
2542d907f1 i-hate-bat-files-20031203
Add missing % at end of variable names to be compatible with cmd.exe
2003-12-03 19:24:38 +00:00
Jeffrey Altman
79b9432758 do-not-make-commits-after-24hrs-awake-20031203
.BAT files do not use the same syntax as makefiles.
don't make commits after being up more than 24 hours straight.
2003-12-03 15:58:55 +00:00
Jeffrey Altman
dfed0829dd ntbuild-support-for-visual-studio-net-2003-20031202
Add LIB and INCLUDE files for Visual Studio .NET 2003
(Thanks to Rob Murawski for details)
2003-12-03 04:53:12 +00:00
Derrick Brashear
1c5a7b4ea1 rpc-rename-avoid-loop-20031201
enumerated solution (n vnodes cannot yield n+1 loop passes) suggested by
jhutz@cmu.edu. avoid looping forever on a corrupt parent.
2003-12-01 20:16:02 +00:00
Derrick Brashear
6b81e7a4bb tvolser-update-20031121
add transaction mutex to handle global list of transactions
2003-12-01 05:35:04 +00:00
Jeffrey Altman
6b375af14f remove-duplicate-include-from-shell-ext-cpp-20031130
Remove atlconv.h include the second time it is listed
2003-11-30 15:39:33 +00:00
Jeffrey Altman
a42c100005 update-version-number-for-windows-20031129
Updated the version number to 1.3.51 for both nt40 and win95
However, it is unlike that win95 will build at this point in time.
Its version of the makefile had not been touched since 1.2.2b
2003-11-30 03:52:59 +00:00
Jeffrey Altman
1b618cd71f jaltman-missing-variable-20031129
jbuehler left out a variable declaration
2003-11-29 22:50:14 +00:00
Jeffrey Altman
61cf9fa731 jbeuhler-flexelint-bugs-found-20031128
This patch covers bugs found by running flexelint on
the CVS code on Windows NT.

- incorrect enum used in al_creds.cpp and various other files
- use of local after it goes out of scope in al_wizard.cpp
- uninitialized class members in afsclass/*
- cm_config.c looks like it has code commented out accidentally
- useless statement in alert.cpp
- no default case handling in problems.cpp
- strange use of & on booleans in set_clone.cpp
- fgets() and fclose() on closed stream in cellconfig.c
- memory leak in cellconfig.c
- *scanf into variables of unknown length in cellconfig.c
- incorrect pointer passed to getAFSServer() in cellconfig.c
- possible buffer overflows in userok.c
- address of array in bos.c
- too many arguments for printf() in commands.c
- return code not saved in bucoord/main.c
- bad types for argv arrays in bucoord/main.c
- probably incorrect initializer list in ol_verify.c
- extra argument to TLog() in lwps.c
- memory leak in cmd/cmd.c
- lack of typecast on malloc() in a couple files
- lower-case L for long constant in touch.c (is it a 1 or an l...)
- parentheses nesting error in util_cr.c
- apparently invalid case fall-through in util_cr.c
- various memory leaks in util_cr.c
- macro missing parens in crypt.c
- macro missing parens in quad_cksum.c
- null pointer deref in kpasswd.c (CVS work in progress?)
- Print_bos_ProcessState_p() code does not look correct
- extra argument to printf() in kas.c
- typo in vsprocs.c
- macro missing parens in iomgr.c
- address of array in threadname.c
- storing result of getch() in char type in waitkey.c (may not match EOF constant)
- storing pointer to local car in global in ptserver.c (benign -- it is in main())
- address of array in rx_lwp.c
- macro missing parens in rx_packet.h
- impossible == (signed vs. unsigned?) in rxdebug.c
- bogus constants in xdr.c and xdr_array.c (possible security implications?)
- incorrect test of fd for open file in update/server.c
- dangerous unparenthesized macro in get_krbrlm.c
- buffer overrun in regex.c
- missing comma causes string concat and bad array init in vlclient.c
- comparison of string < 0 in ntops.c
- default case has no code in vos.c
--
Joe Buehler

>>>>

Comments: Several comments for FIXME left in the code - unaddressed
2003-11-29 22:07:57 +00:00
Jeffrey Altman
a95c759cd7 missing-assert-h-20031129
Missing assert.h for added assert()
2003-11-29 21:46:30 +00:00
Jeffrey Altman
21ca232974 jbeuhler-flexelint-fun-with-printf-20031128
This patch addresses a number of problems with printf-like functions.

Most of them are %x formats applied to pointers (which could be a
problem depending on the architecture I would assume).  There is a
%p format for pointers on many machines but I don't know if it
applies to all supported OpenAFS platforms so I didn't go that route.

There is a buffer overflow fix to ktime.c

There are a couple places where incorrect format characters were used.

One call had two arguments swapped.

Other fixes include the use of PrintInode() and %s formats for
printing inode numbers.  The code was inconsistent in this regard -- sometimes
PrintInode() was used, sometimes it was side-stepped.

There is one place where a local shadowed another variable, so I renamed
the local.

The last segment points out that an fdset need not be anything printable
with an integer format.
--
Joe Buehler

Comments - The fdset comment relates to a WinSock only file on which
the size is a pointer to int.  Modified the source to use a %p instead
of %x as it is supported on Windows.

Added an assert(p != NULL) to src/rx/rx_packet.c
2003-11-29 21:37:50 +00:00
Jeffrey Altman
e5a76ae386 jaltman-flexelint-aggregate-initialization-patches-20031129
Address FIXME concerns in jbuehler-flexelint-aggregate-initialization-patches-20031129
2003-11-29 20:31:49 +00:00
Jeffrey Altman
10750393dc jbuelhler-flexelint-aggregate-initialization-patches-20031129
This patch mainly makes explicit some initializations that were implicit.

There are several places where it looks like the missing initialization
may be a bug, and I have inserted comments to that effect in the
relevant patches.  Someone needs to look at them and supply
whatever is missing (if anything is).

In make_keyperm.c, an array was sized too large.
--
Joe Buehler
2003-11-29 20:23:24 +00:00
Douglas Engert
6e2f4f9df4 hpux-rx-attach-file-struct-to-socket-20031124
FIXES 2450

attach a struct file to the socket; clean up when done
2003-11-27 05:52:51 +00:00
Derrick Brashear
9ca613da43 solaris-make-hates-dollar-lessthan-20031126
the $< macro support in solaris make is different from every other make
due to POSIX not being fully specific. a perl script cleans up the mess,
and gives us a different mess.
2003-11-27 02:27:55 +00:00
Douglas Engert
cef7b6ae8c hpux-snprintf-support-20031126
FIXES 2587

need sys/socket.h on hpux
2003-11-27 01:23:13 +00:00
Douglas Engert
49ab5ed14a ia64-hpux1123-support-20031126
FIXES 2579

necessary changes to support hpux 11.23 on ia64.
2003-11-27 01:17:34 +00:00
Jeffrey Altman
93bd3784d6 ticket-2584-patches-20031126 2003-11-26 21:32:52 +00:00
Douglas Engert
d15973aa12 hpux-ia64-dont-optimize-lwp-20031124
FIXES 2450

remove -O when compiling lwp
2003-11-24 22:44:20 +00:00
Jim Rees
ff9c60a3c8 fix-joe-beuhler-patches-20031124
minor fixes to Joe Beuhler's NT patches for non-NT
2003-11-24 22:09:18 +00:00
Jeffrey Altman
fc7931f4f2 joe-beuhler-patches-20031122
Joe Beuhler's many patches merged into the tree
2003-11-23 04:52:52 +00:00
Derrick Brashear
0f7c8a0310 threaded-volserver-progress-20031114
not ready for primetime. not even close.
2003-11-22 03:11:46 +00:00