/*
* Copyright 1995, 1996 Perforce Software. All rights reserved.
*
* This file is part of the Library RCS. See rcstest.c.
*/
/*
* stdhdrs.cc - standard things that ain't right
*/
# if defined( OS_MACOSX ) || defined( OS_DARWIN )
# define NEED_CHMOD
# endif
# ifdef OS_VMS62
# define NEED_FILE
# endif
# include <stdhdrs.h>
# include <strbuf.h>
# include <error.h>
# include <filesys.h>
# ifdef BAD_MEMCCPY
void *
memccpy( void *t, const void *f, int c, register size_t n)
{
if (n) {
register unsigned char *tp = (unsigned char *)t;
register const unsigned char *fp = (unsigned char *)f;
register unsigned char uc = c;
do {
if ((*tp++ = *fp++) == uc)
return (tp);
} while (--n != 0);
}
return (0);
}
#endif
# ifdef OS_VMS62
int
rmdir( const char *name )
{
return remove( name );
}
# endif
# |
Change |
User |
Description |
Committed |
|
#1
|
15902 |
Matt Attaway |
A second renaming that I will not obliterate as a badge of shame |
|
|
//guest/perforce_software/p4/2014_1/sys/stdhdrs.cc |
#1
|
15901 |
Matt Attaway |
Clean up code to fit modern Workshop naming standards |
|
|
//guest/perforce_software/p4/2014.1/sys/stdhdrs.cc |
#1
|
12188 |
Matt Attaway |
Move 'main' p4 into a release specific directory in prep for new releases |
|
|
//guest/perforce_software/p4/sys/stdhdrs.cc |
#1
|
9129 |
Matt Attaway |
Initial commit of the 2014.1 p4/p4api source code |
|
|