[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Minios-devel] [UNIKRAFT/NEWLIB PATCH] file.c: delete utimes stub implementation



Reviewed-by: Costin Lupu <costin.lupu@xxxxxxxxx>

On 11/28/19 4:02 PM, stefanl.teodorescu@xxxxxxxxx wrote:
> From: Stefan Teodorescu <stefanl.teodorescu@xxxxxxxxx>
> 
> Since utimes (and other related functions) have been implemented, this
> stub doesn't make sense anymore. Deleting it to prevent double
> definition, which produced a linker error.
> 
> Signed-off-by: Stefan Teodorescu <stefanl.teodorescu@xxxxxxxxx>
> ---
>  file.c | 6 ------
>  1 file changed, 6 deletions(-)
> 
> diff --git a/file.c b/file.c
> index ae97837..7a6e046 100644
> --- a/file.c
> +++ b/file.c
> @@ -79,12 +79,6 @@ int select(int nfds, fd_set *readfds __unused, fd_set 
> *writefds __unused,
>  }
>  #endif /* !CONFIG_LWIP_SOCKET */
>  
> -int utimes(const char *filename __unused,
> -             const struct timeval times[2] __unused)
> -{
> -     return 0;
> -}
> -
>  char *realpath(const char *restrict file_name, char *restrict resolved_name)
>  {
>       return 0;
> 

_______________________________________________
Minios-devel mailing list
Minios-devel@xxxxxxxxxxxxxxxxxxxx
https://lists.xenproject.org/mailman/listinfo/minios-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.