This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: [PATCH 1/2] Consolidate rename Linux implementation
- From: Andreas Schwab <schwab at suse dot de>
- To: Adhemerval Zanella <adhemerval dot zanella at linaro dot org>
- Cc: libc-alpha at sourceware dot org
- Date: Wed, 14 Dec 2016 17:16:02 +0100
- Subject: Re: [PATCH 1/2] Consolidate rename Linux implementation
- Authentication-results: sourceware.org; auth=none
- References: <1481724722-30103-1-git-send-email-adhemerval.zanella@linaro.org>
On Dez 14 2016, Adhemerval Zanella <adhemerval.zanella@linaro.org> wrote:
> * sysdeps/unix/sysv/linux/rename.c: New file.
> * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
Ok.
> +/* Rename the file OLD to NEW. */
> +int
> +rename (const char *old, const char *new)
> +{
> +#if defined(__NR_rename)
Space before paren.
Andreas.
--
Andreas Schwab, SUSE Labs, schwab@suse.de
GPG Key fingerprint = 0196 BAD8 1CE9 1970 F4BE 1748 E4D4 88E3 0EEA B9D7
"And now for something completely different."