Commit Graph

42 Commits

Author SHA1 Message Date
Simon Wilkinson
b9eaf43bbe Don't cast the pointer past to memset
memset() takes a void * as it's first argument. Don't explicitly cast
what we're passing in to (char *), as this may mask other errors.

Reviewed-on: http://gerrit.openafs.org/701
Reviewed-by: Derrick Brashear <shadow@dementia.org>
Tested-by: Derrick Brashear <shadow@dementia.org>
2009-10-21 11:34:12 -07:00
Andrew Deason
f149a3c54b Correct ctime arguments
Corrects a few places throughout the tree where ctime() is incorrectly passed a
pointer to an afs_uint32 or similar fixed-width datatype, instead of a pointer
to a time_t.

FIXES 124538

Reviewed-on: http://gerrit.openafs.org/http://gerrit.openafs.org/100
Tested-by: Andrew Deason <adeason@sinenomine.net>
Tested-by: Russ Allbery <rra@stanford.edu>
Reviewed-by: Russ Allbery <rra@stanford.edu>
2009-07-21 08:14:12 -07:00
Simon Wilkinson
3bb5fa5f1b Remove the RCSID macro
The move to git means that we can no longer populate the RCSID
macro in the way that it was used with CVS. This patch simply
removes the macro from every file, except where it contains
information from upstream (and it's in a comment).

Reviewed-on: http://gerrit.openafs.org/14
Verified-by: Derrick Brashear <shadow@dementia.org>
Reviewed-by: Derrick Brashear <shadow@dementia.org>
2009-07-09 22:58:37 -06:00
Simon Wilkinson
d5081f264d Remove CVS ignore files
Now we're in git we don't need any cvsignore files any more...

Reviewed-on: http://gerrit.openafs.org/1
Verified-by: Derrick Brashear <shadow@gmail.com>
Reviewed-by: Derrick Brashear <shadow@gmail.com>
2009-07-06 11:03:16 -06:00
Simon Wilkinson
c41a467741 gitignore-20090615
LICENSE IPL10

make gitignore files
2009-06-15 23:29:29 +00:00
Derrick Brashear
9a697699b4 vfsck-needs-fd-t-defn-20090324
LICENSE IPL10

make vfsck build again
2009-03-24 14:23:58 +00:00
Simon Wilkinson
5bd86a09eb windows-64bit-printf-sanity-20090218
LICENSE IPL10
FIXES 124265

don't assume %lld works for 64 bit ints on windows
2009-02-18 17:48:39 +00:00
Simon Wilkinson
7d05bd439e openafs-string-header-cleanup-20071030
include only what we need
2007-10-30 15:10:37 +00:00
Russ Allbery
3a34d8cb4f autoconf-likes-relative-paths-20060802
When using the install-sh that ships with the source tree, Autoconf
substitutes in a relative path just to be annoying.  Define the INSTALL
variables in each individual Makefile so that they find the proper file.
Remove the definitions from Makefile.config so that no one will
accidentally get the wrong ones.
2006-08-03 03:37:12 +00:00
Russ Allbery
8df5dcbc91 death-to-pinstall-20060801
Delete pinstall and convert the entire tree to use the install program
found by configure (falling back on install-sh in the local tree).  This
means that we have to pre-create directories with install -d.  Also redo
the install and dest rules to be lists of install rules rather than
dependencies driving separate make rules so that running make install will
always update the target directory with the current code, even if there are
files in the install area that are newer.

Stop installing libafssetpag; we're about to kill it in favor of a
different library.  Remove some djgpp rules.
2006-08-01 21:03:54 +00:00
Ed Moy
9f94892f8d darwin-x86-and-leopard-20060309
updates for darwin x86, and pre-leopard
2006-03-09 06:35:14 +00:00
Joe Buehler
aee18ed884 hpux-build-updates-20051002
FIXES 21722

ndir.h has been changed. also, pthreads header doesn't match how we used it
2005-10-03 03:44:42 +00:00
Derrick Brashear
854db695f9 hpux11-vfsck-20050622
make vfsck build for hpux
2005-06-22 14:47:19 +00:00
Derrick Brashear
706530c295 openafs-kill-dead-code-20050403
Code ifdef'd any of AFS_MACH_ENV, AFS_GFS_ENV, AFS_DEC_ENV dies

Code ifdef'd AFS_SUN_ENV either becomes AFS_SUN5_ENV or dies as appropriate,
in the kernel only. The database servers etc are probably still buildable,
and I still have a SunOS 4.1.4 machine. ;-) But the Solaris vnops get all
SunOS 4 code nuked.

Uses of AFS_ALPHA_ENV which secretly meant OSF/1,D/UX,Tru64 become
AFS_OSF_ENV.

Bozon lock use gets its own ifdef. OSF and Solaris define it. Darwin and any
BSDs have bozon lock usage removed: note that only OSF and Solaris were
bothering to *init* the bozon lock during NewVCache. Bozon locks are for
platforms where basically we could end up deadlocking ourselves because of
how locks are handled.

Some nonsensical ifdefs removed.
Some if 0'd code removed.
Some obsolete code (hpux pre-10, for instance) removed.
2005-04-03 19:09:05 +00:00
Douglas Engert
a18937e6a4 sol9-vfsck-interleave-becomes-si-20050113
FIXES 16941

fix remaining fs_interleave ref
2005-01-14 00:57:32 +00:00
Douglas Engert
40c1d00508 vfsck-sol9-breadwrite-args-20041108
FIXES 15927

fix arg types for bread/bwrite for solaris 9
2004-11-08 06:20:54 +00:00
Derrick Brashear
5e1c6d6135 no-interleave-on-solaris-9-20040825
a patch does away with it and it doesn't look like we need to care
2004-08-25 08:21:39 +00:00
Kris Van Hees
51d7668141 solaris10-20040624
FIXES 5396

as substantially done by Jeff Woodward <Jeffrey.B.Woodward@Dartmouth.EDU>,
work diffed out and slightly rewritten
2004-06-24 18:38:19 +00:00
Derrick Brashear
872bc94f8c reindent-20030715
FIXES 1774

thanks to nneul@umr.edu for providing a script to do this.
gnu indent 2.2.9 options:
-npro -nbad -bap -nbc -bbo -br -ce -cdw -brs -ncdb -cp1 -ncs -di2 -ndj -nfc1
-nfca -i4 -lp -npcs -nprs -psl -sc -nsob -ts8

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
FIXES 1774

fix subst mistake
2003-07-16 00:28:24 +00:00
Nathan Neulinger
106a54eef7 ident-cleanup-20030619
FIXES 1549

change to /* */ comment style

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
FIXES 1548

i think indent is being stupid, but whatever.

====================
FIXES 1545

get rid of macro usage with causes "spurious" else

====================
FIXES 1544

comment in ifdef'd out code should be a comment

====================
FIXES 1543

make definitions ifdef notdef'd look like definitions
2003-06-19 18:20:08 +00:00
Derrick Brashear
b9eb8cc669 solaris-fs-rolled-20030328
for solaris 9 u2
2003-03-28 21:26:20 +00:00
Nathan Neulinger
580af44321 makefiles-cflag-cleanup-20030111
move cflags back to makefile.config, more cleanup, dup removal
2003-01-11 07:33:52 +00:00
Nathan Neulinger
8f2df21ffe pull-prototypes-to-head-20020821
pull up prototypes to head
2002-08-21 19:52:17 +00:00
Derrick Brashear
2dbc58bc4a solaris-vfsck-allow-force-runs-when-old-inodes-exist-20020310
if running with -y report old inodes and continue anyway
2002-03-10 19:26:41 +00:00
Garry Zacheiss
c602093e51 solaris-vfsck-do-a-better-job-of-putting-on-the-ufs-fsck-face-for-the-world-20011106
if you're not using ufs logging it's ok to replace solaris fsck with vfsck,
except sometimes it exits with 40 and that's not a failure to the solaris
scripts.

make it so for us also
2001-11-07 00:15:27 +00:00
Nathan Neulinger
838e1eae1a build-system-specific-makefile-configuration-from-configure-20011031
junk all of Makefile.${SYS_NAME} in favor of a common makefile built by
configure, and use it
2001-11-01 04:59:26 +00:00
Nathan Neulinger
e824f085aa makefiles-rewrite-for-objdir-support-20011023
rewrite makefiles to support objdir; simplify in the process
2001-10-23 19:56:56 +00:00
Nathan Neulinger
b9948dd965 initial-objdir-support-20011017
first cut at objdir support
2001-10-18 00:06:58 +00:00
Nickolai Zeldovich
4b00d313a0 cvsignore-updates-kolya-20011005
ignore more things since we missed them before
2001-10-05 21:41:52 +00:00
Mattias Amnefelt
7d317a0e27 dux-vfsck-check-for-mounted-filesystem-20010919
modified by shadow@dementia.org for dux 4.0a (ifndef UID_NO_CHANGE case)
2001-09-22 00:48:56 +00:00
Nathan Neulinger
2a12550e7c add-cvsignores-to-project-20010910
start at cvsignores
2001-09-10 21:14:01 +00:00
Jeffrey Hutzelman
80e2c2f8ce make-install-support-for-transarc-and-prefix-style-universes-20010907
according to jeff:
- Renames the top-level 'install' target to 'build'.  This should be
    transparent, since no one should be using that.

  - Improves on Sam's dirpath patches, by splitting out server binaries
    into separate bin, sbin, and libexec directories in GCS mode (these
    are all /usr/afs/bin in Transarc mode).

  - Updates the top-level 'all' target so that it builds the software
    but does not generate a dest tree.  Top-level 'lib' and 'include'
    directories are generated to hold the intermediate libraries and headers
    used during the build.

  - Adds a new top-level 'install' target, which installs things in the
    appropriate directories under ${DESTDIR}, based on configure's install
    directories plus the extras added by Sam's patch.

  - Adds a new top-level 'dest' target, which creates an old-style dest
    directory under ${DEST}.  The ${DEST} variable defaults to the
    traditional value of ${SRCDIR_PARENT}/${SYS_NAME}/dest.  Note that
    this variable used to be called ${DESTDIR}; it was renamed to avoid
    conflicts with the de facto standard usage of ${DESTDIR}.

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

fix missed makefile

====================

update another missed file

====================

eliminate bogus escaping

====================

get rid of another bogus escape

====================

remove unused include directory

====================

get rid of no longer used libdir

====================

remove unused incdir

====================

fix up some problems for make compatibility and missing trailing /

====================

put afs.exp in the right place

====================

remove bogus afssrvdir reference

====================

update dest version of output

====================

update ref to libexecdir

====================

kill refs to afssrvdir

====================


convert missed LIBDIR to TOP_LIBDIR

====================

remove explicit INSTALL and use makefile.@sys value instead

====================

except it's helpful to actually include makefile.@sys

====================

convert LIBDIR to TOP_LIBDIR
2001-09-10 20:15:57 +00:00
Nathan Neulinger
635df30c0f more-makefiles-cleanup-20010829
get rid of cases where we'd end up with two / because of DESTDIR pasting

macroize calls to rm

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

get rid of another case of bogus trailing quoting
2001-08-30 00:22:17 +00:00
Nathan Neulinger
b0c5f0cac6 makefile-updates-20010828
clean up all the makefiles to remove bogus targets, eliminate trailing /
requirement from DESTDIR, avoid needing to pass things like DESTDIR around
between makefiles

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

remove bogus quoting
2001-08-29 02:19:55 +00:00
Derrick Brashear
c5c521af0e convert-from-bsd-to-posix-string-and-memory-functions-20010807
bcopy, bcmp, bzero, index, rindex, you're all cut.
memcpy, memcmp, memset, strchr, strrchr, show us how it's done

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

fix reference to memset the right thing

====================

make change to arguments globally and not just for e.g. linux/darwin/fbsd

====================

fix a minor flub in how this was done

====================

correct another bad memcpy coversion

====================

fix up more inadvertant turds

====================

fix two errors found by chas williams
2001-08-08 03:05:55 +00:00
Nathan Neulinger
0207991adc convert-all-makefiles-to-makefile-ins-20010802
all relevant variables become subst'd and not passed in the environment
2001-08-02 16:45:35 +00:00
Nathan Neulinger
1fd4f11faf include-afsconfig-before-param-h-20010712
so stuff can be defined in afsconfig.h and included first
2001-07-12 20:58:15 +00:00
Nathan Neulinger
e7ec0d4213 afsconfig-and-rcsid-all-around-20010705
convert rest of source to afsconfig; include rcsid macros

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================

remove bogus if/define/endif triple

====================

revert non-rcsid and afsconfig portion of patch
2001-07-05 16:20:00 +00:00
Jeff Riegel
843a9584b0 make-fsck-claim-openafs-not-transarc-afs-20010623
just update what gets printed to be correct
2001-06-23 18:23:34 +00:00
Chaskiel M Grundman
a41175cfbb initial-darwin-support-20010327
setup for darwin port

====================
This delta was composed from multiple commits as part of the CVS->Git migration.
The checkin message with each commit was inconsistent.
The following are the additional commit messages.
====================
changes for darwin port

====================

added files for the darwin port

====================
changes for darwin port
2001-03-27 08:43:13 +00:00
Derrick Brashear
fb5bcd00fc Standardize License information 2000-11-04 10:01:08 +00:00
IBM
87c10e8d7f Initial IBM OpenAFS 1.0 tree 2000-11-04 02:13:13 +00:00