/*
* 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
|
15903 |
Matt Attaway |
Everything should be happy now between the Workshop and the depot paths |
|
|
//guest/perforce_software/p4/2014_2/sys/stdhdrs.cc |
#1
|
15901 |
Matt Attaway |
Clean up code to fit modern Workshop naming standards |
|
|
//guest/perforce_software/p4/2014.2/sys/stdhdrs.cc |
#1
|
12189 |
Matt Attaway |
Initial (and much belated) drop of 2014.2 p4 source code |
|
|