mirror of
https://github.com/GnoConsortium/gno.git
synced 2025-02-01 07:31:11 +00:00
psignal.c:
Use CR instead of LF in call to write(2). Makefile: Depend on ../../paths.mk basename.c: Include <sys/syslimits.h> due to change in stdio.h
This commit is contained in:
parent
9002791e1c
commit
1fd1b2b9dd
@ -1,9 +1,10 @@
|
||||
#
|
||||
# Makefile for libc/gen.
|
||||
#
|
||||
# $Id: Makefile,v 1.3 1997/07/28 03:15:55 gdr Exp $
|
||||
# $Id: Makefile,v 1.4 1997/09/05 06:09:50 gdr Exp $
|
||||
#
|
||||
|
||||
.INCLUDE: ../../../paths.mk
|
||||
.INCLUDE: ../../const.mk
|
||||
|
||||
OBJ_ASM = crypta.o setjmp.o syslog.o
|
||||
|
@ -1,7 +1,7 @@
|
||||
/*
|
||||
* These routines were written by Devin Reade for GNO v2.0.4.
|
||||
*
|
||||
* $Id: basename.c,v 1.1 1997/02/28 05:12:43 gdr Exp $
|
||||
* $Id: basename.c,v 1.2 1997/09/05 06:09:50 gdr Exp $
|
||||
*
|
||||
* This file is formatted for tabs every 8 columns.
|
||||
*/
|
||||
@ -14,6 +14,7 @@ segment "libc_gen__";
|
||||
#pragma debug 0
|
||||
#pragma memorymodel 0
|
||||
|
||||
#include <sys/syslimits.h>
|
||||
#include <string.h>
|
||||
#include <stdio.h>
|
||||
#include <unistd.h>
|
||||
|
@ -30,7 +30,7 @@
|
||||
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
|
||||
* SUCH DAMAGE.
|
||||
*
|
||||
* $Id: psignal.c,v 1.1 1997/07/28 03:12:37 gdr Exp $
|
||||
* $Id: psignal.c,v 1.2 1997/09/05 06:09:50 gdr Exp $
|
||||
*
|
||||
* This file is formatted for tab stops every 8 columns.
|
||||
*/
|
||||
@ -71,5 +71,5 @@ psignal(unsigned int sig, const char *s)
|
||||
(void)write(STDERR_FILENO, ": ", 2);
|
||||
}
|
||||
(void)write(STDERR_FILENO, c, strlen(c));
|
||||
(void)write(STDERR_FILENO, "\n", 1);
|
||||
(void)write(STDERR_FILENO, "\r", 1);
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user