mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
c6b0b5112f
that the maintainer wishes to use to create a shared library for use with other applications such as CDE. It is based on ksh93v (2014-12-24) and is incompatible with the direction that att/ast is taking the official ksh93 implementation. PR: 237332 Requested by: maintainer (saper@saper.info)
19 lines
368 B
C
19 lines
368 B
C
--- src/cmd/proto/proto.c.orig 2017-11-30 22:35:04 UTC
|
|
+++ src/cmd/proto/proto.c
|
|
@@ -396,6 +396,15 @@ proto(char* file, char* license, char* o
|
|
|
|
#if !PROTO_STANDALONE
|
|
#undef error
|
|
+void
|
|
+error( int xit, const char *msg, ... )
|
|
+{
|
|
+ va_list ap;
|
|
+ va_start( ap, msg );
|
|
+ vfprintf( stderr, msg, ap );
|
|
+ va_end( ap );
|
|
+ exit( xit );
|
|
+}
|
|
#endif
|
|
|
|
typedef struct Sufcom_s
|