Commit Graph

1989 Commits

Author SHA1 Message Date
Derrick Brashear
36ac69eedc vol-linux-dont-assume-ext2-20031208
to deal simply with /usr/include/linux potentially having 2.6 kernel headers
in newer linuxes. given that we might not have ext2 as root, this check
probably wasn't sufficient anyway.
2003-12-08 07:31:57 +00:00
Jeffrey Altman
4b01f15c0c format-fix-for-fs-windows-20031208
spacing errors in List Quota command
2003-12-08 06:18:46 +00:00
Derrick Brashear
6dc76e27f0 fssync-extern-loglevel-20031208
wanna use LogLevel to determine whether to log? make sure it's declared.
2003-12-08 06:09:12 +00:00
Jeffrey Altman
a3339d2545 winnt-afsd-fs-header-fix-20031208
Improper prototype declaration
2003-12-08 06:08:45 +00:00
Derrick Brashear
3f98530173 protoize-buffer-20031208
we need a definition for struct buffer. while we're at it, protoize the
whole file.
2003-12-08 06:03:58 +00:00
Derrick Brashear
35192ba9e3 ptserver-prototype-ubik-20031208
since ubik got prototypes, we have to make our shadow functions the same
2003-12-08 05:50:39 +00:00
Jeffrey Altman
2ea2e4deba import-fs-formatting-to-windows-20031207
TICKET 2651

Import string formating from venus/fs.c
2003-12-08 04:32:27 +00:00
Jeffrey Altman
705241efee set-service-error-condition-afsd-20031207
TICKET 2619

If the service crashes unexpectedly (eg, when the network adapter list
changes) we should return an error code so that system policy can be
used to determine if the service should be automatically restarted.
When there is an error GlobalStatus gets set to a non-zero value.
If GlobalStatus is set, we will return ERROR_EXCEPTION_IN_SERVICE
to the Service Manager.
2003-12-08 04:01:20 +00:00
Jeffrey Altman
8bdaee9e18 remove-int64-conversion-warnings-20031207
Use casting to avoid repeated conversion warnings resulting in data loss.
2003-12-08 03:14:08 +00:00
Jeffrey Altman
85f6cefe70 jbuehler-add-missing-extern-c-patch-20031207
Add extern C modifiers to non-C++ functions in Windows files
2003-12-08 02:54:14 +00:00
Jeffrey Altman
d5070bd9a0 more-must-returns-20031207
More must returns value warnings cleaned up
2003-12-08 02:41:17 +00:00
Jeffrey Altman
0c23b6fd77 ntmakefile-fix-20031207
remove extraneous include of src/config/NTMakefile.version
2003-12-08 02:37:55 +00:00
Jeffrey Altman
3dc648d761 add-missing-return-values-20031207
Add missing return values producing warnings on Windows
2003-12-08 01:45:23 +00:00
Jeffrey Altman
08248560ea ticket-2618-corrections-20031207
Remove extraneous declarations in dir.c
2003-12-07 23:18:33 +00:00
Jeffrey Altman
21caaae64f ticket-2618-patches-20031207
TICKET 2618

flexelint patches for prototype handling from Joe Beuhler

>>>>>>>>>>>>>>>>>>>>>>>>>>>>

This patch adds a bunch of missing prototypes, makes various
corrections to global prototypes, and removes global declarations that
are not needed.

One set of added prototypes is commented out because it applies to
some printf-like functions that are implemented the way it used to be
done before varargs existed, and they need to be unprototyped or the
code will fail to compile.  (There are a number of functions in the
OpenAFS code that need to be converted to use varargs...)

There is one place of note in src/WINNT/afsd/fs.c where typedefs for
afs_int32 and afs_uint32 conflict with afs/stds.h.  I just added a
note to that effect.

Prototypes in src/WINNT/afsd/fs.c are incorrect for Windows NT.  I
don't know whether the return type involved changes from platform to
platform -- they come from .xg files.

Some prototypes are now commented out or #ifdef'd to match the code
that uses them.

Some global variables conflict between modules and have been made static.
The bufferBlock variable was of two completely different types...

In src/config/stds.h, I changed the declaration of afs_intmax_t to
reflect the fact that the Windows platform supports 64 bit integers.
This may be incorrect semantically, but I believe it is needed for the
%llx format to match afs_intmax_t arguments (for printing of inodes
mainly, I believe).

There were two different declarations for the rxkad_stats structure --
I synced them up.

- Joe

Removed the conflicting typedefs from src/WINNT/afsd/fs.c

Removed the changes to src/config/stds.h.  Added declaration of
AFS_64BIT_CLIENT to src/config/NTMakefile.i386_nt40 instead.

Do not remove unused variables which are defintions of data type
values.  Instead comment them out to avoid space utilization and
warnings.
2003-12-07 22:49:00 +00:00
Jeffrey Altman
4ceaebdbda afssvrcfg-updates-20031206
Replace the mechanism used to register drives with WNetAddConnection2.
This will hopefully be more reliable than then older code which was
unable to register drive mappings.

Corrected error string formatting.
2003-12-07 03:39:50 +00:00
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