/*
* 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, size_t n)
{
if (n) {
unsigned char *tp = (unsigned char *)t;
const unsigned char *fp = (unsigned char *)f;
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
|
26291 |
Joel Van Eenwyk |
Merged //guest/joel_van_eenwyk/p4/2018-2/ to //guest/joel_van_eenwyk/p4api-net/main/p4api/ |
|
|
//guest/joel_van_eenwyk/p4/2018-2/sys/stdhdrs.cc |
#1
|
26288 |
Joel Van Eenwyk |
"Forking branch 2018-2 of perforce_software-p4 to joel_van_eenwyk-p4." |
|
|
//guest/perforce_software/p4/2018-2/sys/stdhdrs.cc |
#1
|
25096 |
Nicholas Poole |
Populate //stream/workshop. |
|
|