home bbs files messages ]

Forums before death by AOL, social media and spammers... "We can't have nice things"

   alt.os.linux      Getting to be as bloated as Windows!      107,822 messages   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]

   Message 105,883 of 107,822   
   Paul Edwards to Richard Kettlewell   
   Re: O_TEXT for PDOS/386   
   21 Feb 24 20:43:32   
   
   From: mutazilah@gmail.com   
      
   On 21/02/24 20:25, Richard Kettlewell wrote:   
   > Paul Edwards  writes:   
   >> On 21/02/24 17:48, Richard Kettlewell wrote:   
   >>> How will you modify other syscalls (for example fstat and lseek) to be   
   >>> play nicely with the newline translation?   
   >>   
   >> I only intend to run C90-compliant programs (in this case, with a   
   >> statically-linked C runtime library).   
   >>   
   >> fstat is not used by PDPCLIB, nor part of the C90 standard.   
   >   
   > Standard C doesn’t have open(), read() or write() either,   
      
   Indeed - because PDPCLIB's implementation of fopen()   
   needs to do the open syscall (INT 80H EAX = 5H).   
      
   fopen already knows whether the file is being   
   opened as text or binary, and I don't want that   
   information lost when I do that interrupt above.   
   Even though Linux (currently, and very likely   
   forever) won't use it, PDOS/386 has a use for it   
   (in the short term).   
      
    > but you seem to want to modify the behaviour of those.   
      
   I don't think that is an accurate statement.   
      
   What behavior, where?   
      
   Adding an extra flag doesn't change the behavior   
   of anything anywhere, immediately.   
      
   PDOS/386 would then be in a position to have a   
   particular behavior, but it's not really a   
   change, is it? It's new development/enhancement.   
      
   BFN. Paul.   
      
   --- SoupGate-Win32 v1.05   
    * Origin: you cannot sedate... all the things you hate (1:229/2)   

[   << oldest   |   < older   |   list   |   newer >   |   newest >>   ]


(c) 1994,  bbs@darkrealms.ca