delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1992/08/24/18:12:25

From: Eric Backus <ericb AT lsid DOT hp DOT com>
Subject: Patch2 for libc.a
To: djgpp AT sun DOT soe DOT clarkson DOT edu (djgpp)
Date: Mon, 24 Aug 92 14:38:32 PDT
Mailer: Elm [revision: 66.25]

Fixpath.c for djgpp 1.08
------------------------

    This file is used by several of my patches for cleaning up path names,
    and for getting the current drive number.  The previously posted
    modification of stat() uses this so that it can reliably detect the
    root directory.

    This file should be moved to /djgpp/libsrc/c/gen/fixpath.c and
    included in libc.a.


getlogin() and ttyname() for djgpp 1.08
---------------------------------------

    These two essentially trivial functions were missing from libc.a,
    and are used by the FSF "logname" and "tty" programs.

    These two files should be moved to /djgpp/libsrc/c/gen/getlogin.c
    and /djgpp/libsrc/c/gen/ttyname.c and included in libc.a.


getpwent() and getgrent() for djgpp 1.08
----------------------------------------

    The getpwent() function and functions related to it were not in
    libc.a.  I've provided a mostly trivial implementation.  Similarly
    for getgrent and related functions.

    I was unable to make the existing pwd.h and grp.h work.  I've
    replaced them with new versions that seem to work correctly.

    The files getpwent.c and getgrent.c should be moved to
    /djgpp/libsrc/c/gen and included in libc.a.  The header files
    pwd.h and grp.h should be moved to /djgpp/include.


begin 644 patch2.zoo
M6D]/(#(N,3`@07)C:&EV92X:``#<I\3]*@```-;___\"``$````````#W*?$
M_0("<`4``'$````8&?!:P%P6#```_P0```(!``````````!F:7AP871H+F,`
M````"@`<(;D`````I`%`````0"DC*``$(&N[T;3<M\S?P!_H+5MR08!KM46`
M)7:EJW AT VR0'BU*A=&^<G(<[IN[F!,6_&[__GW..0M5R!;>K)99+:`-8VVGMW
M!&`2T3!^*M&E:,N9H;_#P\`<JT4!^!J.NQD8H/1F0P&*J;VF6<,YM(9#A8P]
M(5+.>O2/6%:DY0,P&DET7,Y*FHH."&"QJSU-!"6FH;.34 DOT LN AT 4(!:ZS):<X*
M3:P8.V>/!NQQ[:$T5V4G#BI4R?-R11;N`/:I9,T>&68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4CJ
M4T5A_.V$.7\='-S\F+)^<<(>?CEOD AT P$)=/*DPRA36:.<EUWT=(V_H8;#DR(
MJ,(=+&F.J_/U$(QJZI&A25C*S$]2`[DDY5O04UQI+0,7P%;$6B'2UYYP=1^`
M$VT#=+%FXTB15%`I;P%F&13.`9CKX`LG%"+0T*3-9<BU&XH5P4J)HB>T6O#-
MF&(XY*45,L[(/H[):0N9K@>I+HI=J`FT3?A5Z"86TUN5C^E1S7HO]"R[H;L[
MOWUA!]Q&N'=C1]RI_\([0#]CU]Z98 AT WGF?22M,<S-YGR_O;<\]GL``#<I\3]
M`@(>#P``4PX``!@9\EKW;2`!``#+`````@$``````````'1T>6YA;64N8P``
M```*`!SO.`````"D`4````!`*2,H``#>6W:QMJ#MCO`'ZPQMS"U`SRV0P!#/
M(9`XA)TUY$T AT IW4%4(\;I0#0``$CCM("Y]X\*>^E4Y9,.S=N[1XU1X[W/]LU
M*V'SR10M(M\NJ8YNT'J8S4X"-3.6EJQ*D^0<H;76_H.G1D>81;!I'%@DV<]L
M-2AUUHMB%B]738S%)_H'_6X%MQ(NM)OEG`QP5H89=Q$_)U1M)FTF[F=UBHBD
MH&MY?5E0"1%R*ZV"[^HO+JJ;9UF-F,#^,7TGLW_FLY*?2SR]./'>7WK.0```
MW*?$_0(`````````````````````````````````````````````````````
+````````````_(,`
`
end

--
				Eric Backus
				ericb%hplsla AT hplabs DOT hp DOT com
				(206) 335-2495

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019